This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

error building egcs-1.0.2- target=mipsel-linux, host=sparc



Hi,

I am trying to build egcs-1.0.2. using headers from glibc-2.0.1
and linux kernel headers from Linux-2.1.36. The host and build machine
is sparc-sun-solaris2.5.1. and  target=mipsel-mips-linux

My config command is 
/egcs-1.0.2/configure \
        --target=mipsel-mips-linux \
        --prefix=/nov25/install \
        --with-headers=/mygccinclude \
        --with-gnu-as \
        --with-gnu-ld \
        --with-libs=/glibc2.01/gold/install/lib


I get the error message included below  when I do make cross.
Can you please tell me how to fix this?

thanks 
madhu

/nov25/build/gcc/xgcc -B/nov25/build/gcc/ -c -g -O2  -EB -I. 
-I/egcs-1.0.2/libiberty/../include  /egcs-1.0.2/libiberty/strsignal.c
/egcs-1.0.2/libiberty/strsignal.c: In function `psignal':
/egcs-1.0.2/libiberty/strsignal.c:583: argument `signo' doesn't match 
prototype
/nov25/install/mipsel-mips-linux/sys-include/signal.h:101: prototype 
declaration
/egcs-1.0.2/libiberty/strsignal.c:583: argument `message' doesn't match 
prototype
/nov25/install/mipsel-mips-linux/sys-include/signal.h:101: prototype 
declaration
make[4]: *** [strsignal.o] Error 1
make[3]: *** [multi-do] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libiberty] Error 2
make: *** [cross] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]