[uClibc]can't compile with kernel 2.0.39

Giulio Orsero giulioo at pobox.com
Fri Jun 21 20:48:42 UTC 2002


Red Hat 6.x. egcs-1.1.2-24 glibc-2.1.2-11

Latest cvs, with 2.2.19 is ok, with 2.0.39 I get this:

gcc -Wall -Os  -march=i386 -malign-functions=0 -malign-jumps=0
-malign-loops=0 -pipe   -fno-builtin -nostdinc  -I../../include -iwithprefix
include -I. -D_LIBC -DNDEBUG  -fPIC -DDL_TRACE -DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC_DEVEL_PREFIX=\
"/usr/i386-linux-uclibc\" -DUCLIBC_BUILD_DIR=\"/var/tmp/uClibc\" -I.
-I./i386 -I../libdl -c ldso.c -o ldso.o
In file included from ldso.c:117:
ld_syscall.h:111: warning: `struct stat' declared inside parameter list
ld_syscall.h:111: warning: its scope is only this definition or declaration,
ld_syscall.h:111: warning: which is probably not what you want.
readelflib1.c: In function `_dl_load_elf_shared_library':
In file included from ldso.c:1376:
readelflib1.c:338: storage size of `st' isn't known
readelflib1.c:338: warning: unused variable `st'
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/var/tmp/uClibc/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/uClibc/ldso'
make: *** [_dir_ldso] Error 2

-- 
giulioo at pobox.com



More information about the uClibc mailing list