Build problem
I'm still having a problem building LSB-SI from scratch on my Debian system.
It fails in phase 2 when trying to build gcc 3.2. The first place it fails is
in building libiberty. stdio.h is looking for bits/sys_errlist.h. I edited
stdio.h to take out the #include, and it progressed OK, but then it failed
with
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-lonxxg -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3xx.2/gcc/../include ../../gcc-3.2/gcc/gengenrtl.c -o gengenrtl.o
-: In file included from ../../gcc-3.2/gcc/gengenrtl.c:23:
-: ../../gcc-3.2/gcc/system.h:341: conflicting types for `getrlimit'
-: /usr/include/sys/resource.h:52: previous declaration of `getrlimit'
-: ../../gcc-3.2/gcc/system.h:352: conflicting types for `setrlimit'
-: /usr/include/sys/resource.h:72: previous declaration of `setrlimit'
-: make[2]: *** [gengenrtl.o] Error 1
How is this working for everyone else??
Stuart
anderson@freestandards.org Free Standards Group
Lead Developer, Written Specification Linux Standard Base
Reply to: