On Mon, Apr 21, 2008 at 02:54:28PM +0200, Martin Costabel wrote:
> Sean wrote:
> > Hello all,
> > 
> > First, the first error output in the process:
> > 
> > gcc -O -o dvdbackup -I/sw/include -L/sw/lib -ldvdread src/dvdbackup.c
> > In file included from /sw/include/dvdread/ifo_read.h:24,
> >                  from src/dvdbackup.c:34:
> > /sw/include/dvdread/ifo_types.h:32:2: error: #error "Must include
> > <inttypes.h> or <stdint.h> before any libdvdread header."
> > In file included from /sw/include/dvdread/ifo_read.h:24,
> >                  from src/dvdbackup.c:34:
> > /sw/include/dvdread/ifo_types.h:68: error: syntax error before 'uint8_t'
> 
> This is a problem with the new libdvdread.3 that replaces libdvdread4 in 
> an incompatible way. In the old libdvdread4, the file 
> /sw/include/dvdread/ifo_types.h began with the line
> #include <inttypes.h>
> 
> The new libdvdread.3 has replaced this #include directive by the error 
> message that you (and I) are seeing. Really charming...
> 
> This means that every package that uses libdvdread (I don't know if 
> there are others besides dvdbackup) will have to be patched to do
> #include <inttypes.h>
> before
> #include <dvdread/ifo_read.h>
> or other #include's of dvdread headers.

Feh. Just hack ifo_types.h to insert an #include <inttypes.h> ? The
".3" package fixes upgrade paths and a deadlock in the other
libdvdread* package sets, so at least now there's a single place to
work on fixing the package itself:(

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to