Out-of-tree build broken

Denys Vlasenko vda.linux at googlemail.com
Wed Oct 30 14:51:26 UTC 2019


On Tue, Oct 29, 2019 at 1:49 AM Samuel Ainsworth <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


More information about the busybox mailing list