[uClibc]gcc-2.95-uclibc compile problems
Alex Song
alexsong at comports.com
Mon May 13 02:20:51 UTC 2002
hi,
i tried compiling the uclibc toolchain (gcc-2.95-uclibc) for x86 and i got
some errors in stage 6 of the make process. the error output is as follows:
gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I.
-I/home/alex/gcc-2.95/gcc-20011006/gcc
-I/home/alex/gcc-2.95/gcc-20011006/gcc/config
-I/home/alex/gcc-2.95/gcc-20011006/gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/uclibc/lib/\"
-DSTANDARD_EXEC_PREFIX=\"/usr/local/uclibc/lib/gcc-lib/\"
-DDEFAULT_TARGET_VERSION=\"2.95.4\" -DDEFAULT_TARGET_MACHINE=\"i386-linux\"
-DTOOLDIR_BASE_PREFIX=\"/usr/local/uclibc/\" \
-c `echo /home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c | sed 's,^\./,,'`
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c:1393: parse error before `/'
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c: In function `process_command':
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c:3072: `tooldir_base_prefix'
undeclared (first use in this function)
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c:3072: (Each undeclared
identifier is reported only once
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c:3072: for each function it
appears in.)
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c: In function `main':
/home/alex/gcc-2.95/gcc-20011006/gcc/gcc.c:4870:
`standard_startfile_prefix_2' undeclared (first use in this function)
make[2]: *** [gcc.o] Error 1
make[2]: Leaving directory `/home/alex/gcc-2.95/i386-linux-gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/alex/gcc-2.95/i386-linux-gcc'
make: *** [.stage6] Error 2
any help would be greatly appreciated.
cheers,
alex
More information about the uClibc
mailing list