[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Can't compile CVS HEAD

From: Steven M. Schultz
Subject: Re: [Libcdio-devel] Can't compile CVS HEAD
Date: Sat, 14 Apr 2007 22:19:18 -0700 (PDT)

On Sun, 15 Apr 2007, R. Bernstein wrote:

> I think gcc is trying to say that the types off_t and ssize_t are not
> defined. These you get when unistd.h or stdlib.h are included. I use

        On some systems, such as OSX for one example, you get off_t from

> ubuntu and don't get these problems. Possibly you don't have the headers

        I run OSX and do get the problem - I've just been manually
        patching cdio-eject.c  with

--- cdio-eject.c.dist   2007-03-10 15:17:47.000000000 -0800
+++ cdio-eject.c        2007-03-10 15:18:17.000000000 -0800
@@ -1,3 +1,8 @@
+#include "config.h"
+#include <sys/types.h>
 #include <stdio.h>
 #include <string.h>
 #include <cdio/cdio.h>

        That works for any system that has off_t in <sys/types.h>

        Steven Schultz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]