On 3 Feb, Marcus Roeckrath wrote: > Hi Andy, > > while never having problems to compile on the eisfair1-serverproject I'm > unable to compile dvd+rw-tools on the upcoming eisfair2. > > I got: > > eisfair2 # make > make[1]: Entering directory `/usr/src/dvd+rw-tools-7.1' > g++ -O2 -fno-exceptions -D_REENTRANT -c -o growisofs_mmc.o > growisofs_mmc.cpp > In file included from growisofs_mmc.cpp:17: > transport.hxx: In member function ‘int > Scsi_Command::is_reload_needed(int)’: > transport.hxx:366: error: ‘INT_MAX’ was not declared in this scope > make[1]: *** [growisofs_mmc.o] Error 1 > make[1]: Leaving directory `/usr/src/dvd+rw-tools-7.1' > make: *** [all] Error 2 > > Eisfair2 depends on Ubuntu 8 having: > > g++ (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) > > gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) > > GNU Make 3.81 > > glibc 2.7 > > Is there something missing on my new eisfair2? > > Can you give me a hint? >
A modern C++ compiler like gcc 4.2.3 needs an #include <limits.h> for INT_MAX to be known (or more C++ like #include<limits> const int INT_MAX = std::numeric_limits<int>::max(); ) -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org