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

Bug#315345: gcc 3.3.5-12 freaks out cause __GNUC_PREREQ(maj, min) doesn't exist/isn't defined in getopt.h



Package: libc6-dev
Version: 2.3.2.ds1-22

When I try to compile IceGenerator-0.5.5-pre2 with gcc-3.3 it tells me:

In file included from main.cpp:104:
/usr/include/getopt.h:38:43: missing binary operator before token "("
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/lazor/build/icegenerator-0.5.5-pre2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lazor/build/icegenerator-0.5.5-pre2'
make: *** [all] Error 2

But luckily I found this:

http://lists.gnu.org/archive/html/bug-gnulib/2004-03/msg00031.html

which seems to fix the Problem. At least for me.

I'm using sarge, quite new. Linux 2.6.8 SMP custom build kernel and the
libc6 is version 2.3.2.ds1-22, as mentioned earlier.




Reply to: