Mail Archives: djgpp/2003/03/17/01:37:05
Hello:
my configuration is: ../gcc-3.2.2/configure --prefix=/usr/gcc/linux --with-gnu-as=/usr/gcc/objdir/bin
utils/i486-linux-as --with-headers=/usr/gcc/linux/objdir/i486-linux/include --
with-libs=/usr/gcc/glib/lib --target=i486-linux --host=sparc-sun-solaris2.8 --li
bdir=/usr/gcc/linux/lib --with-gxx-include-dir=/usr/gcc/linux/include
error: checking for uintptr_t... no
checking whether the C compiler (/usr/gcc/linux/objdir/gcc/xgcc -B/usr/gcc/linux
/objdir/gcc/ -B/usr/gcc/linux/i486-linux/bin/ -B/usr/gcc/linux/i486-linux/lib/ -
isystem /usr/gcc/linux/i486-linux/include -O2 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
make: *** [configure-target-libiberty] Error 1
detail information in config.log:
/usr/gcc/objdir/binutils/i486-linux-ld: warning: ld-linux.so.2, needed by /lib/l
ibc.so.6, not found (try using -rpath or -rpath-link)
/lib/libc.so.6: undefined reference to `_dl_lazy AT GLIBC_2 DOT 1 DOT 1'
/lib/libc.so.6: undefined reference to `_dl_dst_substitute AT GLIBC_2 DOT 1 DOT 1'
/lib/libc.so.6: undefined reference to `_dl_out_of_memory AT GLIBC_2 DOT 2'
I set LD_LIBRARY_PATH to ld-linux.so.2 path, no luck!
any help really appreciate!!!
______________________________________
===================================================================
- Raw text -