Makefile bug

Keith Hedger kdhedger at yahoo.co.uk
Tue Aug 17 23:43:27 UTC 2010


  Hi
Tried to compile busybox version 1.17.1 and there is a bug in the 
makefile at line 436 which causes this eror in gcc 4.4.4:

Makefile:436: *** mixed implicit and normal rules.  Stop.

The line is:

config %config: scripts_basic outputmakefile gen_build_files FORCE

The use of both pattern matching and normal rules has apparently been 
dropped in later gcc's the correction is:

%config: scripts_basic outputmakefile gen_build_files FORCE

And the same on line 1288, it should read:

%/: prepare scripts FORCE
Not:
/ %/: prepare scripts FORCE

With these corrections busybox compiles fine, well done by the way!

Hope this helps
Keith

Slackware64 13.1
AMD64 twin core
1G RAM


More information about the busybox mailing list