[uClibc]MIPSEL compile problems

cliffwood cliffwood at micron.com
Tue Aug 13 14:23:21 UTC 2002


I tried to compile the Aug 12th version by ftping the
gcc-3.1.1-uclibc-20020812.src.tar.gz
untar'd it, selected ARCH:=mipsel, unselected ARCH:=i386, and executed make.

This seemed to be working fine until it got to the point of wget'ing
uClibc-0.9.14.tar.bz2.  After it retried numerous times, I ftp'd it manually
and put it in gcc-3.1.1/sources/dl.

I then did a make clean, and then make.  The process worked until the ld
command gave the following error.  "could not read symbols: Archive has no
index; run ranlib to add one"

Does this mean that the archive wasn't built correctly?  The stdout/stderr
output for the make is included below.

----------------------------------------------------------------------------
---------------------------------

...
/home/cwood/gcc-3.1.1/toolchain/bin/mipsel-uclibc-gcc -Wall -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -fno-builtin
-nostdinc  -I../../include -iwithprefix include -I. -D_LIBC  -DNDEBUG  -fPIC
-D_LIBC_REENTRANT -DLD_TRACE -DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC_DEVEL_PREFIX=\"/home/cwood/gcc-3.1.1/toolchain\"
-DUCLIBC_BUILD_DIR=\"/home/cwood/gcc-3.1.1/build/uClibc-0.9.14\" -I.
-I./mipsel -I../libdl -c ldso.c -o ldso.o
In file included from ldso.c:171:
mipsel/boot1_arch.h:6:5: warning: multi-line string literals are deprecated
ldso.c:307:11: warning: multi-line string literals are deprecated
/home/cwood/gcc-3.1.1/toolchain/bin/mipsel-uclibc-strip -x -R .note -R
.comment ldso.o
/home/cwood/gcc-3.1.1/toolchain/bin/mipsel-uclibc-ld -shared --warn-common
--export-dynamic --sort-common -z combreloc --discard-locals --discard-all
-s -e _dl_boot -soname=ld-uClibc.so.0 \
-o ld-uClibc-0.9.14.so mipsel/resolve.o ldso.o
/home/cwood/gcc-3.1.1/toolchain/lib/gcc-lib/mipsel-linux/3.1.1/libgcc.a;
/home/cwood/gcc-3.1.1/toolchain/lib/gcc-lib/mipsel-linux/3.1.1/libgcc.a:
could not read symbols: Archive has no index; run ranlib to add one
make[3]: *** [lib] Error 1
make[3]: Leaving directory
`/home/cwood/gcc-3.1.1/build/uClibc-0.9.14/ldso/ldso'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/cwood/gcc-3.1.1/build/uClibc-0.9.14/ldso'
make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory `/home/cwood/gcc-3.1.1/build/uClibc-0.9.14'
make: *** [/home/cwood/gcc-3.1.1/build/uClibc-0.9.14/lib/libc.a] Error 2


----------------------------------------------------------------------------
---------------------------------

I've been trying to get a good compile for some time; thanks for any help!!

Cliff




More information about the uClibc mailing list