[uClinux-dev] BusyBox issues

David McCullough david_mccullough at au.securecomputing.com
Thu Feb 22 00:21:15 EST 2007


Jivin Steve Bennett lays it down ...
> Hi Bob,
> 
> This often (always?) happens if you reconfigure busybox and rebuild.
> The solution is simply to clean out busybox after reconfiguring to  
> ensure
> that everything is rebuilt.
> 
> $ make user/busybox_clean

The code in user/busbox/Makefile is supposed to do a clean whenever
the config is changed.

I think we should change:

	.config.mkconfig: $(ROOTDIR)/config/.config
		...
		$(MAKE) clean; \
		...

to a "distclean" perhaps to ensure everything is truly cleaned out.
Someone want to try it :-) :-)

Cheers,
Davidm

> On 22/02/2007, at 10:45 AM, Robert S. Grimes wrote:
> 
> >Hi,
> >
> >I'm not sure, but it seems BusyBox is difficult to build.  I don't  
> >really know what is going on, but here's my experience so far.
> >
> >The first time I attempted to build uClinux (uClinux-dist-20070130,  
> >target board M5329EVB, ColdFire 5329), I selected a goodly number  
> >of BusyBox "commands".  It would not build, seeming to fail during  
> >linking.  So I reconfigured without it, and it all built fine.
> >
> >Then, I needed insmod, which seems to only ,be in BusyBox.  I added  
> >it, selecting insmod (and I think find) and it built properly this  
> >time.  Later, I added some more, and then it would not build again!
> >
> >So, I removed BusyBox, built the uClinux image just fine.  Then, I  
> >reconfigured to include it, and just insmod, and it built again.
> >
> >I wish I wrote down the errors, but I recall they were of the form  
> >'main_more not found' (or perhaps 'more_main'?).  Others include  
> >main_ls, main_ls, main_mv (or again, the other order?).  So I'm  
> >wondering: is there some sort of conflict between BusyBox  
> >"commands" and their "standalone" equivalents?  Or am I missing  
> >something?  It seems building BusyBox is rather fragile, but I  
> >think it is something I'm doing wrong - is that right?
> >
> >Thanks, all!
> >-Bob
> >_______________________________________________
> >uClinux-dev mailing list
> >uClinux-dev at uclinux.org
> >http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> >This message was resent by uclinux-dev at uclinux.org
> >To unsubscribe see:
> >http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
> >
> 
> --
> WorkWare Systems Pty Ltd
> W: www.workware.net.au
> P: 0434 921 300
> F: 07 3102 9221
> E: steveb at workware.net.au
> 
> 



> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

-- 
David McCullough,  david_mccullough at securecomputing.com,   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com


More information about the uClinux-dev mailing list