Hi Ron,

Ron Jobmann wrote:
I just downloaded Busybox 1.6.1 to plug into the Snapgear 3.4.0 tree (replacing Busybox 1.00 rc3). I found a 'glue makefile' on this list and with

some minor adjustments it seems to work OK.

The integration of busybox into the build system is a little more
complex than just the glue makefile (unlike most other packages).
The configuration is much more tightly coupled as well.

The next dist/snapgear source release will have a new version of
busybox. Look at one of the recent uClinux-dist snapshot patches, at

  http://www.uclinux.org/pub/uClinux/dist/patches/

Although you won't be able to just take that and us it in an
older dist. The new patches also reqork the config system to
use Kconfig throughout. And the busybox configuration is even
more tightly integrated.


The problem I'm having is I'm compiling for ixp420 processor, xscale, bigendian. My toolset is setup correctly, it builds the kernel and other user apps properly including the old Busybox. However, the compilation fails on the new Busybox with:

/bin/sh: /opt/0703/user/busybox/busybox-1.6.1/scripts/setlocalversion: No such file or directory
make[3]: Leaving directory `/opt/0703/user/busybox/busybox-1.6.1'
echo /usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/ron/bin:/opt/0628/tools:/opt/0628/tools:/opt/0628/tools:/opt/0628/tools:/opt/0703/tools

/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/ron/bin:/opt/0628/tools:/opt/0628/tools:/opt/0628/tools:/opt/0628/tools:/opt/0703/tools

make -C busybox-1.6.1
/bin/sh: /opt/0703/user/busybox/busybox-1.6.1/scripts/setlocalversion: No such file or directory
make[3]: Entering directory `/opt/0703/user/busybox/busybox-1.6.1'
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
CC applets/applets.o
LD applets/built-in.o
/usr/local/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld.real: applets/applets.o: compiled for a big endian system and target is little endian

Probably some CFLAGS or similar options are not being passed
through the makefiles properly. Build with "V=1" to get the
actuall build lines and see what options might be missing.

Regards
Greg



/usr/local/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld.real: failed to merge target specific data of file applets/applets.o

collect2: ld returned 1 exit status
make[4]: *** [applets/built-in.o] Error 1
make[3]: *** [applets] Error 2
make[3]: Leaving directory `/opt/0703/user/busybox/busybox-1.6.1'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/opt/0703/user/busybox'
make[1]: *** [busybox_only] Error 2
make[1]: Leaving directory `/opt/0703/user'
make: *** [user/busybox_only] Error 2
$
It looks like there is something else that needs to be tweaked, but I have no idea what it is. Any takers??
Thanks.


*______________________________________*

*Ron Jobmann*

Porting/Integration/Build Engineer

*Asentria Corporation*

1200 N. 96TH ST

Seattle, WA 98103-3310

_http://www.asentria.com_

(206) 344-8800 ex: 120 / Fax: (206) 344-2116





------------------------------------------------------------------------

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to