[uClibc] building uClibc toolchain for arm

tian tao tiantao1982 at hotmail.com
Wed Oct 13 07:14:00 UTC 2004


Hi,
    I am trying to build a uclibc toolchain for a pxa250 processor. I built 
up the binUtilities and the gcc, and then build the uclibc. I download a 
uclibc-0.9.26. Make allnoconfig first and then make config to modify the 
Architecher to arm, modify the processor to xscale processer. And then make 
CROSS=arm-linux-
    But I got error message below:
    Can anyone help me with that? Thank you very much!
                TianTao
arm-linux-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing  -fstr
ict-aliasing -Os    -mlittle-endian -mtune=xscale -march=armv4 
-Wa,-mcpu=xscale -fn
o-builtin -nostdinc -D_LIBC -I../../../../include -I. 
-I/skiff/local/lib/gcc-lib/ar
m-linux/3.3.2/include -DNDEBUG -c syscall.c -o syscall.o
syscall.c: In function `syscall':
syscall.c:39: error: `__NR_syscall' undeclared (first use in this function)
syscall.c:39: error: (Each undeclared identifier is reported only once
syscall.c:39: error: for each function it appears in.)
make[4]: *** [syscall.o] Error 1
make[4]: Leaving directory `/usr/src/uClibc-0.9.26/libc/sysdeps/linux/arm'
make[3]: *** [arm] Error 2
make[3]: Leaving directory `/usr/src/uClibc-0.9.26/libc/sysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory `/usr/src/uClibc-0.9.26/libc/sysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory `/usr/src/uClibc-0.9.26/libc'
make: *** [_dir_libc] Error 2

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  




More information about the uClibc mailing list