[uClibc] 0.9.20 compile problem

Michael Rowley os2doc at bellsouth.net
Thu Jul 3 23:45:17 UTC 2003


Hello All,

I am having a compile problem with 0.9.20, using redhat 9.0 as host,
kernel 2.4.20, gcc 3.2.2.  I get the following error when trying to
compile.

make[2]: Entering directory `/home/michael/lightweight
Linux/uClibc/ldso/ldso'
echo "const char *_dl_progname=\""ld-uClibc.so.0"\";" > ldso.h
echo "#include \"i386/elfinterp.c\"" >> ldso.h
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0 -Os   
-march=i586 -fno-builtin -nostdinc -D_LIBC -I../../include -I.
-I/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -DNDEBUG -fPIC -I.
-I./i386 -I../libdl -c i386/resolve.S -o i386/resolve.o
strip -x -R .note -R .comment i386/resolve.o
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0 -Os   
-march=i586 -fno-builtin -nostdinc -D_LIBC -I../../include -I.
-I/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -DNDEBUG -fPIC
-DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC_DEVEL_PREFIX=\""/usr/i386-linux-uclibc"\"
-DUCLIBC_BUILD_DIR=\"/home/michael/lightweight Linux/uClibc\" -I.
-I./i386 -I../libdl -c ldso.c -o ldso.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/home/michael/lightweight
Linux/uClibc/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/michael/lightweight Linux/uClibc/ldso'
make: *** [_dir_ldso] Error 2
[root at larafin uClibc]#


I apologize, but I am fairly inexperienced with make, and usually can
manage it.  I am not sure how to fix this problem though.  Any help?  I
checked the mail list archives, but found no reference to the problem.

Michael.




More information about the uClibc mailing list