dvd+rw-tools build error

Nicolas FRANCOIS nicolas.francois at free.fr
Thu Oct 30 07:25:38 PDT 2008


There seems to be a problem building the last version of dvd+rw-tools
(7.0) with the most recent kernels (headers ?) :

root [ /sources/dvd+rw-tools-7.0 ]# make all rpl8 btcflash
make[1]: entrant dans le répertoire « /sources/dvd+rw-tools-7.0 »
gcc  -O2 -D_REENTRANT   -c -o growisofs.o growisofs.c
growisofs.c: In function 'setup_fds':
growisofs.c:724: erreur: 'INT_MAX' undeclared (first use in this function)
growisofs.c:724: erreur: (Each undeclared identifier is reported only once
growisofs.c:724: erreur: for each function it appears in.)
make[1]: *** [growisofs.o] Erreur 1
make[1]: quittant le répertoire « /sources/dvd+rw-tools-7.0 »
make: *** [all] Erreur 2

The solution I found on http://bugs.gentoo.org/195912 (thanks again
Gentoo :-) is to add #include <limits.h> to two files, namely growisofs.c
and transport.hxx. As I still don't know how to make a patch, I can't be
more specific, but I used the instructions from the patch provided by
Brandon Penglase (just didn't use the whole patch as it doesn't seem that
the other includes were necessary).

Maybe there should be a point about this in the book ?



Nicolas FRANCOIS                      |  /\ 
http://nicolas.francois.free.fr       | |__|
We are the Micro$oft.		        _\_V
Resistance is futile.		    
You will be assimilated.         darthvader penguin

More information about the blfs-support mailing list