[BusyBox] compilation error for Busybox 0.60.5

Manuel Novoa III mjn3 at codepoet.org
Fri Jan 16 18:28:17 UTC 2004


Hello,

On Fri, Jan 16, 2004 at 08:35:11AM -0800, Dave Jiang wrote:
> Hi, I'm attempting to compile Busybox 0.60.5 via a
> cross toolchain for ARM gcc 3.3.2 and glibc 2.3.2. I
> got the following errors:
> arm-linux-gcc -Wall -Wshadow -Os -fstrict-aliasing
> -fomit-frame-pointer -D_GNU_SOURCE 
> -DBB_VER='"0.60.5"' -DBB_BT='"2004.01.16-16:38+0000"'
> -DUSE_SYSTEM_PWD_GRP  -Ilibbb -c libbb/syscalls.c -o
> libbb/syscalls.o
> libbb/syscalls.c: In function `sysfs':
> libbb/syscalls.c:43: error: impossible constraint in
> `asm'
> libbb/syscalls.c:43: warning: `__res' might be used
> uninitialized in this function
> make: *** [libbb/syscalls.o] Error 1
> 
> How do I fix that? Thanks!

You could try replacing the _syscall macro use with a a function call.
The code in 1.0pre* uses the syscall() function.

Manuel



More information about the busybox mailing list