Hello Everyone, 
        I am getting the following error when I tried to build the trunk 
(revision 194999) on my SuSE machine (Linux 2.6.32.29-0.3-default x86_64).  I 
just did the standard configure (../src_directory/configure --prefix=<>). It 
looks like some syscall functions on my machine seem to not like the system.h 
that is available with GCC. 

        Is there anything I can do to fix this? Any help is greatly appreciated!

Thanks,

Balaji V. Iyer.

================================================================================================================
make[3]: Leaving directory `/export/users/gcc-svn/b-trunk-gcc/libdecnumber'
make[3]: Entering directory `/export/users/gcc-svn/b-trunk-gcc/gcc'
g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables 
-W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../trunk-gcc/gcc 
-I../../trunk-gcc/gcc/build -I../../trunk-gcc/gcc/../include 
-I../../trunk-gcc/gcc/../libcpp/include 
-I/export/users/gcc-svn/b-trunk-gcc/./gmp -I/export/users/gcc-svn/trunk-gcc/gmp 
-I/export/users/gcc-svn/b-trunk-gcc/./mpfr 
-I/export/users/gcc-svn/trunk-gcc/mpfr 
-I/export/users/gcc-svn/trunk-gcc/mpc/src  
-I../../trunk-gcc/gcc/../libdecnumber -I../../trunk-gcc/gcc/../libdecnumber/bid 
-I../libdecnumber -I../../trunk-gcc/gcc/../libbacktrace    \
        -o build/genconstants.o ../../trunk-gcc/gcc/genconstants.c
In file included from /usr/include/sys/resource.h:25,
                 from /usr/include/sys/wait.h:32,
                 from ../../trunk-gcc/gcc/system.h:354,
                 from ../../trunk-gcc/gcc/genconstants.c:29:
/usr/include/bits/resource.h:127: error: declaration does not declare anything
In file included from ../../trunk-gcc/gcc/genconstants.c:29:
../../trunk-gcc/gcc/system.h:446: error: declaration of C function âvoid* 
sbrk(int)â conflicts with
/usr/include/unistd.h:1046: error: previous declaration âvoid* sbrk(intptr_t)â 
here
In file included from ../../trunk-gcc/gcc/genconstants.c:29:
../../trunk-gcc/gcc/system.h:502: error: declaration of C function âconst char* 
strsignal(int)â conflicts with
/usr/include/string.h:564: error: previous declaration âchar* strsignal(int)â 
here
make[3]: *** [build/genconstants.o] Error 1
make[3]: Leaving directory `/export/users/gcc-svn/b-trunk-gcc/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/export/users/gcc-svn/b-trunk-gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/export/users/gcc-svn/b-trunk-gcc'
make: *** [all] Error 2
================================================================================================================

Reply via email to