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 ubuntu and don't get these problems. Possibly you don't have the headers installed such as from libc6-dev? When you run configure check the output. I get:
checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes Good luck. > I am trying to compile the CVS HEAD version of libcdio, but I am getting > the > following error: > > In file included from ../include/cdio/cdio.h:77, > from cdio-eject.c:3: > ../include/cdio/read.h:60: error: expected â=â, â,â, â;â, > âasmâ > or â__attribute__â before âcdio_lseekâ > ../include/cdio/read.h:74: error: expected â=â, â,â, â;â, > âasmâ > or â__attribute__â before âcdio_readâ > make[3]: *** [cdio-eject.o] Error 1 > > Line 60 of read.h is as follows: > > off_t cdio_lseek(const CdIo_t *p_cdio, off_t offset, int whence); > > Line 74 is: > > ssize_t cdio_read(const CdIo_t *p_cdio, void *p_buf, size_t i_size); > > Does anyone know the reason for this compilation error? Is it a config > problem on my system? Here is my system information: > > $ gcc --version > gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > $ uname -a > Linux Wintermute 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 > GNU/Linux > > Thanks. > -- > Jason Voegele > "The difference between genius and stupidity is that genius has it's > limits." > -- Albert Einstein > _______________________________________________ > Libcdio-devel mailing list > [EMAIL PROTECTED] > http://lists.gnu.org/mailman/listinfo/libcdio-devel > _______________________________________________ Libcdio-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libcdio-devel
