Guest
#1170956
Hi, I compild and installed binutils as descriped in the ARM-GCC forum without problems. But building gcc-4.1.0 breaks with the following error: /root/buildgcc/./gcc/xgcc -B/root/buildgcc/./gcc/ -B//bin/ -B//lib/ -isystem //include -isystem //sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc-4.1.0/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../../gcc-4.1.0/libiberty/strsignal.c -o strsignal.o ../../../gcc-4.1.0/libiberty/strsignal.c:553: error: conflicting types for 'psignal' /usr/include/signal.h:141: error: previous declaration of 'psignal' was here ../../../gcc-4.1.0/libiberty/strsignal.c: In function 'psignal': ../../../gcc-4.1.0/libiberty/strsignal.c:558: warning: comparison between signed and unsigned make[2]: *** [strsignal.o] Error 1 make[2]: Leaving directory `/root/buildgcc/i686-pc-linux-gnu/libiberty' make[1]: *** [all-target-libiberty] Error 2 make[1]: Leaving directory `/root/buildgcc' make: *** [all] Error 2 This was the command: beta:~/buildgcc# ../gcc-4.1.0/configure --prefix=$PREFIX --target=$TARGET --enable-interwork --enable-multilib --enable-languages=c --without-headers --with-newlib Thanks in advance! Best regards, Christoph