A Problem about Compiling Busybox with Cross Compiler in Cygwin! Thanks!

Denys Vlasenko vda.linux at googlemail.com
Wed Sep 26 14:12:47 UTC 2007


On Wednesday 26 September 2007 14:31, 普查 陈 wrote:
> Dear Sirs,
>   I am a beginner of busybox. Now, I am trying to build busybox executable with arm-linux-gcc, a cross compiler, in cygwin. When I input “make CROSS_COMPILE=arm-linux-gcc”, many .c files can be successfully compiled into .o files. But, when coreutils/usleep.c is compiled, there appear an error, 

I need to buy wider monitor to see your messages's lines
without scrolling. This 1900-pixel-wide one I have now
is too small :(

>   /bin/arm-linux-gcc -I ./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE �D_FILE_OFFSET_BITS=64 �Wall �Wstrict-prototypes �Wshadow �Os �fstrict-aliasing �fomit-frame-pointer �D_GNU_SOURCE �DNDEBUG �c �o coreutils/usleeps.o coreutils/usleep.c
>   coreutils/usleep.c: In function ‘usleep_main’:
>   coreutils/usleep.c: 36: void value not ignored as it ought to be 
>   make: ***[ coreutils/usleep.o] Error 1

busybox-1.3.0 was released nearly a year ago
and it *doesn't* have line 36 in usleep.c
(last line is 29th).

Are you using a version prior to 1.3.0?
Can you try something newer?
--
vda



More information about the busybox mailing list