[uClibc]install the latest uClibc

Peng Li pli_cn at yahoo.com
Thu May 31 17:10:59 UTC 2001


Hi,

I'm trying to install the latest uClibc for uCsimm
with kernel 2.0.381pre7. The point is I need to use
setjmp/longjmp in the kernel of uClinux, e.g.
rtl_schedule(). The m68k-elf tools are downloaded from
http://www.uclinux.org/pub/uClinux/m68k-elf-tools/
No errors for installation. Now m68k-elf tools are in
/usr/local/bin, which is in my path.

However, when I built the uClibc, the compiler
complained and failed:

make[4]: Entering directory
`/home/pli/uClibc/libc/sysdeps/linux/common'
m68k-elf-gcc -Wa,--bitwise-or -Wall  -fno-builtin
-nostdinc  -I../../../../include
-I/usr/local/lib/gcc-lib/m68k-elf/2.95.2/include -I.
-D_LIBC  -I/opt/uClinux/linux/include -DNDEBUG 
-DL__exit syscalls.c -c -o _exit.o
syscalls.c: In function `_exit':
syscalls.c:36: warning: `return' with a value, in
function returning void
syscalls.c:36: inconsistent operand constraints in an
`asm'
make[4]: *** [_exit.o] Error 1
make[4]: Leaving directory
`/home/pli/uClibc/libc/sysdeps/linux/common'
make[3]: *** [_dir_common] Error 2
make[3]: Leaving directory
`/home/pli/uClibc/libc/sysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory
`/home/pli/uClibc/libc/sysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory `/home/pli/uClibc/libc'
make: *** [_dir_libc] Error 2

I'm not familiar with the uClibc. Could anybody shed
me a light? I have unfornately ran out of my time. 

Thanks.

Regards,

Peng

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/





More information about the uClibc mailing list