compressed usage broke parallel builds

Denis Vlasenko vda at ilport.com.ua
Sat May 20 19:33:38 UTC 2006


On Friday 19 May 2006 17:04, Bernhard Fischer wrote:
> Hi,
> 
> vda, landley, can you repair this, please?
> TIA,
> 
> make defconfig > /dev/null;make CC=gcc-4.0 -j16
> 
...
>   CC archival/libunarchive/data_align.o
>   CC archival/libunarchive/archive_xread_all_eof.o
>   CC archival/libunarchive/data_extract_all.o
>   CC archival/uncompress.o
> /home/cow/src/bb2/applets/applets.c:395:30: error: usage_compressed.h:
> No such file or directory

make is trying to rebuild applets/applets.c without
realising that include/usage_compressed.h must be made first.

applets/Makefile supposedly includes this knowledge from .depend:

-include $(top_builddir).depend

Does your .depend contain something like this

...
/usr/src2/bbox/busybox.org2.t/applets/applets.o: ...
   /usr/src2/bbox/busybox.org2.t/include/usage_compressed.h
...

after the error? IOW: does applets.o depend on include/usage_compressed.h
according to .depend?

I wonder whether make can understand that full-path target
(/usr/src2/bbox/busybox.org2.t/include/usage_compressed.h)
matches "include/usage_compressed.h: ... " rule in top-level Makefile...
--
vda



More information about the busybox mailing list