[BusyBox] compilation error for Busybox 0.60.5

Erik Andersen andersen at codepoet.org
Fri Jan 16 19:18:57 UTC 2004


On Fri Jan 16, 2004 at 11:28:17AM -0700, Manuel Novoa III wrote:
> 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.

Current cvs snapshots of Busybox 0.60.x do exactly that,

 -Erik

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



More information about the busybox mailing list