[Toybox] Make Errors

Brent Hostetler brent at hostetler.ws
Sun Aug 30 18:57:42 PDT 2015


I could use some help trying to build toybox.


I have tried building the last three versions and get the same basic errors:

[rking at 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)
                                           ^
kconfig/zconf.hash.c:233:44: note: in expansion of macro ‘kconf_id_strings’
               register const char *s = o + kconf_id_strings;
                                            ^
kconfig/zconf.hash.c:226:26: warning: ‘kconf_id_hash’ is static but used in
inline function ‘kconf_id_lookup’ which is not static
       register int key = kconf_id_hash (str, len);
                          ^
kconfig/zconf.hash.c:177:26: warning: ‘wordlist’ is static but declared in
inline function ‘kconf_id_lookup’ which is not static
   static struct kconf_id wordlist[] =
                          ^
/tmp/cc8dkAWm.o: In function `zconfparse':
zconf.tab.c:(.text+0xa59): undefined reference to `kconf_id_lookup'
/tmp/cc8dkAWm.o: In function `zconflex':
zconf.tab.c:(.text+0x23ed): undefined reference to `kconf_id_lookup'
zconf.tab.c:(.text+0x253f): undefined reference to `kconf_id_lookup'
collect2: error: ld returned 1 exit status
kconfig/Makefile:61: recipe for target 'kconfig/conf' failed
make: *** [kconfig/conf] Error 1

[rking at rkmini toybox-0.5.2]$ uname -a
Linux rkmini 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015
x86_64 GNU/Linux

[rking at rkmini toybox-0.5.2]$ gcc --version
gcc (GCC) 5.2.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150830/6e932c6d/attachment-0003.htm>


More information about the Toybox mailing list