dvd+rw-tools build error

Ken Moffat ken at linuxfromscratch.org
Thu Oct 30 12:22:11 PDT 2008

On Thu, Oct 30, 2008 at 03:25:38PM +0100, Nicolas FRANCOIS wrote:
> Hi.
> 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 ?
> \bye
 The change happened in the 2.6.23 kernel headers, ISTR BLFS-6.3 was
not out when I encountered this so it didn't belong in the book
which was targetted at a 2.6.22 kernel.  But I did commit a patch:

 It's _always_ worth looking at the LFS/BLFS patches!

das eine Mal als Tragödie, das andere Mal als Farce

More information about the blfs-support mailing list