[uClibc] ERROR in TARGETS linux??

Erik Andersen andersen at codepoet.org
Mon Apr 26 18:48:19 UTC 2004


On Mon Apr 26, 2004 at 01:19:58PM -0000, lists at interfree.it wrote:
> 
> I make uclibc with buildroot.
> ARCH:=arm
> ....
> #TARGETS+=kernel-headers
> TARGETS+=linux
> #TARGETS+=user-mode-linux
> #TARGETS+=system-linux
> 
> 
> When I compile get this error...
> 
> 
> /build/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fstrict-aliasing -Os -mlittle-endian -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -I/build/buildroot/build_arm/staging_dir/lib/gcc-lib/arm-linux-uclibc/3.3.3/include -DNDEBUG -fPIC -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.)

This suggests you are using a broken set of arm-linux kernel
headers.  The kernel tree you get from using "TARGETS+=linux"
is setup to run my AMD ELan based x86 wireless access point
and does not include any arm-linux patches, so I am not overly
surprised it doesn't work at all.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list