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

2007-09-26 Thread 普查 陈
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, 
   
  /bin/arm-linux-gcc -I ./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
�CD_FILE_OFFSET_BITS=64 �CWall �CWstrict-prototypes �CWshadow �COs 
�Cfstrict-aliasing �Cfomit-frame-pointer �CD_GNU_SOURCE �CDNDEBUG �Cc �Co 
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
   
  Although a prior letter has dealt with a similar problem, I still failed to 
compile this file in cgywin with cross compiler.  I don’t know how to proceed. 
So, I want a help. Can anyone help me?
   
  I am looking forward to a letter in reply.
   
  Yours sincerely,
  Chen Pucha
26th Sep, 2007
   
-
雅虎邮箱,终生伙伴! ___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

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

2007-09-26 Thread 普查 陈
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, 
   
  /bin/arm-linux-gcc -I ./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
�CD_FILE_OFFSET_BITS=64 �CWall �CWstrict-prototypes �CWshadow �COs 
�Cfstrict-aliasing �Cfomit-frame-pointer �CD_GNU_SOURCE �CDNDEBUG �Cc �Co 
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
   
  Although a prior letter has dealt with a similar problem, I still failed to 
compile this file in cgywin with cross compiler.  I don’t know how to proceed. 
So, I want a help. Can anyone help me?
   
  I am looking forward to a letter in reply.
   
  Yours sincerely,
  Chen Pucha
26th Sep, 2007

陈普查

   
-
雅虎邮箱,终生伙伴! ___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

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

2007-09-26 Thread 普查 陈
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, 
   
  /bin/arm-linux-gcc -I ./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
�CD_FILE_OFFSET_BITS=64 �CWall �CWstrict-prototypes �CWshadow �COs 
�Cfstrict-aliasing �Cfomit-frame-pointer �CD_GNU_SOURCE �CDNDEBUG �Cc �Co 
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
   
  Although a prior letter has dealt with a similar problem, I still failed to 
compile this file in cgywin with cross compiler.  I don’t know how to proceed. 
So, I want a help. Can anyone help me?
   
  I am looking forward to a letter in reply.
   
  Yours sincerely,
  Chen Pucha
26th Sep, 2007
   
-
雅虎邮箱,终生伙伴! ___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

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

2007-09-26 Thread Denys Vlasenko
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
___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox