Out-of-tree build broken

Samuel Ainsworth skainsworth at gmail.com
Wed Oct 30 19:43:23 UTC 2019


I tried recreating and I’m no longer able to reproduce. Must have been something weird…

Thanks,
Samuel 

> On Oct 30, 2019, at 7:51 AM, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> 
> On Tue, Oct 29, 2019 at 1:49 AM Samuel Ainsworth <skainsworth at gmail.com <mailto:skainsworth at gmail.com>> wrote:
>> 
>> Hello busybox overlords,
>> 
>> I have a fresh checkout of busybox version 1.31.1 (git hash bd754746394a382e04d116df02547f61b2026da9), and I’m trying to build it on Ubuntu 18.04 with gcc 7.4 with an out-of-tree build (per per https://github.com/jgunthorpe/busybox/blob/master/INSTALL#L95) with defconfig. But I’m getting some build errors:
>> 
>> root at e581c80974df:~/bbbuild# make
>> make -C /src O=/root/bbbuild
>>  Using /src as source for busybox
>>  GEN     /root/bbbuild/Makefile
>>  SPLIT   include/autoconf.h -> include/config/*
>>  GEN     include/bbconfigopts.h
>>  GEN     include/common_bufsiz.h
>>  GEN     include/embedded_scripts.h
>>  HOSTCC  applets/usage
>> In file included from /src/applets/usage.c:30:0:
>> /src/include/applets.h:338:1: warning: implicit declaration of function 'IF_RMMOD'; did you mean 'IF_CHMOD'? [-Wimplicit-function-declaration]
>> IF_RMMOD(   IF_MODPROBE_SMALL(APPLET_NOEXEC( rmmod,    modprobe, BB_DIR_SBIN, BB_SUID_DROP, rmmod   )))
>> ^~~~~~~~
>> IF_CHMOD
>> In file included from /src/applets/usage.c:11:0:
>> /src/applets/usage.c:25:34: error: expected expression before '{' token
> 
> Works for me.
> git hash bd754746394a382e04d116df02547f61b2026da9
> gcc 9.0.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20191030/38f330dc/attachment-0001.html>


More information about the busybox mailing list