[BusyBox] Re: busybox_Digest,_Vol_19,_Issue_26

liuyong ly at ncic.ac.cn
Sun Sep 12 05:06:32 UTC 2004


   i have compile glibc and gcc for powerpc,
i just don't how to let busybox the lib and 
include of powerpc.
	TOPDIR/crossppc/
		./bin ./sbin ./lib ./include
but busybox lie in another DIR.
my question is how to pass compile parameter to
busybox, which can access the header files.  

	

======= 2004-09-11 12:00:00 =======

>Send busybox mailing list submissions to
>	busybox at mail.busybox.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://codepoet.org/mailman/listinfo/busybox
>or, via email, send a message with subject or body 'help' to
>	busybox-request at mail.busybox.net
>
>You can reach the person managing the list at
>	busybox-owner at mail.busybox.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of busybox digest..."
>
>
>Today's Topics:
>
>   1. problem about busybox 1.00-rc3 ( liuyong )
>   2. Re: problem about busybox 1.00-rc3 (Patrick Huesmann)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Sat, 11 Sep 2004 21:52:20 +0800
>From: " liuyong " <ly at ncic.ac.cn>
>Subject: [BusyBox] problem about busybox 1.00-rc3
>To: " busybox " <busybox at mail.busybox.net>
>Message-ID: <20040911135611.12E98FB044 at gatekeeper.ncic.ac.cn>
>Content-Type: text/plain;	charset="utf-8"
>
>i download busybox-1.00-rc3.
>at first, i compile it for x86 and my host arch is x86,
>all is ok.
>but when i do crosscompile for powerpc,it give these
>infomation.
>powerpc-linux-gcc -I./include -Wall -Wstrict-prototypes -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG   -I./home/linkroot/crossppc/source/linux-2.6.8/include/linux  -c -o applets/applets.o applets/applets.c
>applets/applets.c:28:20: unistd.h: No such file or directory
>applets/applets.c:29:19: stdio.h: No such file or directory
>applets/applets.c:30:20: stdlib.h: No such file or directory
>applets/applets.c:31:20: string.h: No such file or directory
>applets/applets.c:32:20: assert.h: No such file or directory
>In file included from applets/applets.c:33:
>./include/busybox.h:32:22: sys/stat.h: No such file or directory
>./include/busybox.h:33:23: sys/types.h: No such file or directory
>./include/busybox.h:37:2: #error "Sorry, libc5 is not supported"
>./include/busybox.h:51:22: features.h: No such file or directory
>In file included from ./include/busybox.h:54,
>                 from applets/applets.c:33:
>./include/libbb.h:32:19: regex.h: No such file or directory
>./include/libbb.h:33:21: termios.h: No such file or directory
>./include/libbb.h:34:20: stdint.h: No such file or directory
>./include/libbb.h:36:19: netdb.h: No such file or directory
>...........................
> 
>many header files cannot be found even if i configure CFLAGS.
>
>銆€銆€銆€銆€銆€銆€銆€銆€ly at ncic.ac.cn
>銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€2004-09-11
>
>------------------------------
>
>Message: 2
>Date: Sat, 11 Sep 2004 18:35:47 +0200 (MEST)
>From: "Patrick Huesmann" <tricknology at gmx.de>
>Subject: Re: [BusyBox] problem about busybox 1.00-rc3
>To: busybox at mail.busybox.net
>Message-ID: <12310.1094920547 at www33.gmx.net>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi,
>
>> at first, i compile it for x86 and my host arch is x86,
>> all is ok.
>> but when i do crosscompile for powerpc,it give these
>> infomation.
>> powerpc-linux-gcc -I./include -Wall -Wstrict-prototypes -Wshadow -Os
>> -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG  
>> -I./home/linkroot/crossppc/source/linux-2.6.8/include/linux  -c -o
>applets/applets.o applets/applets.c
>> applets/applets.c:28:20: unistd.h: No such file or directory
>
>This is not a busybox problem. There's something wrong with the GLIBC
>configuration of your toolchain.
>
>You can try crosstool
>http://kegel.com/crosstool/
>
>or look for a precompiled toolchain on the 'net.
>
>HTH,
>Patrick
>
>
>
>
>
>
>
>-- 
>Superg黱stige DSL-Tarife + WLAN-Router f黵 0,- EUR*
>Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl
>
>
>
>------------------------------
>
>_______________________________________________
>busybox mailing list
>busybox at mail.busybox.net
>http://codepoet.org/mailman/listinfo/busybox
>
>
>End of busybox Digest, Vol 19, Issue 26
>***************************************

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        liuyong
        ly at ncic.ac.cn
          2004-09-12



More information about the busybox mailing list