This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all I have a problem to make cross compiler for mips I have downloaded binutils-2.11.2.tar.gz gcc-3.0.3.tar.gz glibc-2.2.5.tar.gz I'm working on a Pentium III PC with RedHat7.1 My target is Mips Toshiba TX3912 I go to the directory <prefix>/<target>/sys-include and I create two symbolic links named asm and linux pointing to include/asm include/linux within I installed and configured kernel sources for mips BINUTILS=binutils-2.11.2 GCC=gcc-3.0.3 NEWLIB=glibc-2.2.5 #---------------------- # SETUP #---------------------- HOST=i686-pc-linux-gnu TARGET=mipstx39-linux-elf PREFIX=$PWD HEADERS=$PWD/$NEWLIB/include LIBS=$PWD/lib CC=/usr/bin/gcc cd src mkdir build cd build for i in binutils gcc glibc do mkdir $i done 1. . cd binutils ../../$BINUTILS/configure --host=$HOST --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld -v 2. . make all install 2>&1|tee allinstall_bin.OUT cd ../gcc 3. ../../$GCC/configure --host=$HOST --target=$TARGET --prefix=$PREFIX -v --with-libs=$LIBS --enable-cheaders=c_shadow --with-gnu-as --with-gnu-ld --with-glibc --with-languages="c,c++" 2>&1| tee config_gcc.OUT 4. make all-gcc cd ../glibc 5. ../../$NEWLIB/configure --host=$HOST --target=$TARGET --prefix=$PREFIX --disable-sanity-checks -v 2>&1|tee config_glibc.OUT 6. make all 7. make install 2>&1|tee install_glinc.OUT cd ../gcc 8. make all 2>&1|tee gcc_all.OUT 9. make install 2>&1|tee install_gcc.OUT I have the following problem in the step 6. : make -C misc subdir_lib make[2]: Entering directory `/utenti/agostini/local_mipstx39el/src/glibc-2.2.5/misc' /usr/bin/gcc syslog.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/utenti/agostini/local_mipstx39el/src/build/glibc/misc -I.. -I../libio -I/utenti/agostini/local_mipstx39el/src/build/glibc -I../sysdeps/i386/elf -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -include ../include/libc-symbols.h -o /utenti/agostini/local_mipstx39el/src/build/glibc/misc/syslog.o /usr/bin/gcc syslog.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -fPIC -I../include -I. -I/utenti/agostini/local_mipstx39el/src/build/glibc/misc -I.. -I../libio -I/utenti/agostini/local_mipstx39el/src/build/glibc -I../sysdeps/i386/elf -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -include ../include/libc-symbols.h -DPIC -DSHARED -o /utenti/agostini/local_mipstx39el/src/build/glibc/misc/syslog.os syslog.c: In function `vsyslog': syslog.c:219: `cancel_handler' undeclared (first use in this function) syslog.c:219: (Each undeclared identifier is reported only once syslog.c:219: for each function it appears in.) syslog.c:219: warning: type defaults to `int' in declaration of `__save_FCT' syslog.c: In function `vsyslog': syslog.c:219: `cancel_handler' undeclared (first use in this function) syslog.c:219: (Each undeclared identifier is reported only once syslog.c:219: for each function it appears in.) syslog.c:219: warning: type defaults to `int' in declaration of `__save_FCT' syslog.c:272: called object is not a function syslog.c:272: called object is not a function syslog.c: In function `openlog': syslog.c:330: parse error before `)' syslog.c:330: `__save_FCT' undeclared (first use in this function) syslog.c:330: parse error before `)' syslog.c:338: `__save_ARG' undeclared (first use in this function) syslog.c: In function `closelog': syslog.c:362: parse error before `)' syslog.c:362: `__save_FCT' undeclared (first use in this function) syslog.c:362: parse error before `)' syslog.c:372: `__save_ARG' undeclared (first use in this function) make[2]: *** [/utenti/agostini/local_mipstx39el/src/build/glibc/misc/syslog.o] Error 1 make[2]: *** Waiting for unfinished jobs.... syslog.c: In function `openlog': syslog.c:330: parse error before `)' syslog.c:330: `__save_FCT' undeclared (first use in this function) syslog.c:330: parse error before `)' syslog.c:338: `__save_ARG' undeclared (first use in this function) syslog.c: In function `closelog': syslog.c:362: parse error before `)' syslog.c:362: `__save_FCT' undeclared (first use in this function) syslog.c:362: parse error before `)' syslog.c:372: `__save_ARG' undeclared (first use in this function) make[2]: *** [/utenti/agostini/local_mipstx39el/src/build/glibc/misc/syslog.o] Error 1 make[2]: *** Waiting for unfinished jobs.... syslog.c: In function `openlog': syslog.c:330: parse error before `)' syslog.c:330: `__save_FCT' undeclared (first use in this function) syslog.c:330: parse error before `)' syslog.c:338: `__save_ARG' undeclared (first use in this function) syslog.c: In function `closelog': syslog.c:362: parse error before `)' syslog.c:362: `__save_FCT' undeclared (first use in this function) syslog.c:362: parse error before `)' syslog.c:372: `__save_ARG' undeclared (first use in this function) make[2]: *** [/utenti/agostini/local_mipstx39el/src/build/glibc/misc/syslog.os] Error 1 make[2]: Leaving directory `/utenti/agostini/local_mipstx39el/src/glibc-2.2.5/misc' make[1]: *** [misc/subdir_lib] Error 2 make[1]: Leaving directory `/utenti/agostini/local_mipstx39el/src/glibc Any ideas ? you can help me Thanking you in advance Carlo. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |