I issued 'make user/busybox_only'. The user/Makefile is untouched, since the busybox directory is the same (busybox vs. busybox-1.6.1)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Kehn Sent: Friday, July 06, 2007 11:17 AM To: uClinux development list Subject: Re: [uClinux-dev] Busybox compilation woes Hi Ron, --- Ron Jobmann wrote: > Hi > 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 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 > /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. > > The busybox that ships with Snapgear 3.4.0 is customized for Snapgear. It may (or may not) take more than just a glue makefile to integrate. Did you execute 'make -C busybox-1.6.1' from the command-line or was this just output another makefile? You can't execute the command from the command-line because none of the Snapgear build environment will be picked up. You might try 'make busybox-1.6.1_only` from the snapgear directory. Did you update the user/Makefile to know about the busybox-1.6.1 directory? Maybe there are some stale object files in the busybox-1.6.1 tree that are confusing make? Regards, ...doug ________________________________________________________________________ ____________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev