On Sun, Aug 30, 2015 at 11:27:57PM -0500, Rob Landley wrote: > On 08/30/2015 08:57 PM, Brent Hostetler wrote: > > I could use some help trying to build toybox. > > > > > > I have tried building the last three versions and get the same basic errors: > > > > [rking@rkmini toybox-0.5.2]$ make defconfig > > cc -o kconfig/conf kconfig/conf.c kconfig/zconf.tab.c -DKBUILD_NO_NLS=1 \ > > -DPROJECT_NAME=\"ToyBox\" > > In file included from kconfig/zconf.tab.c:158:0: > > kconfig/zconf.hash.c:161:43: warning: ‘kconf_id_strings_contents’ is > > static but used in inline function ‘kconf_id_lookup’ which is not static > > #define kconf_id_strings ((const char *) &kconf_id_strings_contents) > > ^ > > How is that inline? The code in kconfig/zconf.hash.c doesn't mark it > inline. It's just a function.
The definition you need to look at is on lines 162-166. It's defined as __inline if you use GCC in a c89-based variant. (Yes, I looked at the wrong function myself at first.) Thanks, Isaac _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
