libcdio-devel
[Top][All Lists]
Advanced

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

[Libcdio-devel] Can't compile CVS HEAD


From: Jason Voegele
Subject: [Libcdio-devel] Can't compile CVS HEAD
Date: Sat, 14 Apr 2007 14:46:51 -0400
User-agent: KMail/1.9.5

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

Attachment: pgpTmQUrvlWMo.pgp
Description: PGP signature


reply via email to

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