Detecting Compilation Errors in Busybox Configurations

Christian Kästner kaestner at cs.cmu.edu
Wed Dec 17 15:00:28 UTC 2014


Hi,

one more issue recently introduced in archival/tar.c regarding variable 
zipMode: undeclared identify if compiled without SEAMLESS_COMPRESSION


(my tool reports the condition
((!def(CONFIG_FEATURE_SEAMLESS_GZ)&!def(CONFIG_FEATURE_SEAMLESS_Z)&def(CONFIG_LONG_OPTS)&!def(CONFIG_FEATURE_SEAMLESS_BZ2)&!def(CONFIG_FEATURE_TAR_CREATE)&!def(CONFIG_FEATURE_SEAMLESS_XZ)&!def(CONFIG_FEATURE_SEAMLESS_LZMA))|(!def(CONFIG_FEATURE_SEAMLESS_GZ)&!def(CONFIG_FEATURE_SEAMLESS_Z)&!def(CONFIG_FEATURE_SEAMLESS_BZ2)&!def(CONFIG_FEATURE_TAR_CREATE)&!def(CONFIG_FEATURE_SEAMLESS_XZ)&(!def(CONFIG_FEATURE_TAR_LONG_OPTIONS)|def(CONFIG_FEATURE_GETOPT_LONG))&!def(CONFIG_FEATURE_SEAMLESS_LZMA)&!def(CONFIG_LONG_OPTS)))
for the error, but it's easy to reproduce by compiling allnoconfig while 
enabling only CONFIG_TAR)




Best regards,
Christian
PS: The problem in miscutils/nandwrite.c below still gets reported.


On 08/07/2014 09:24 AM, Christian Kästner wrote:
> Hi,
>
> two more recent configuration issues:
>
>
>
> Minor issue:
>
> miscutils/nandwrite.c is syntactically incorrect if neither
> CONFIG_LONG_OPTS nor CONFIG_FEATURE_GETOPT_LONG are selected
>
>
> Linker issue:
>
> symbol check_password is missing in ftpd_main if
>
> CONFIG_FTPD and CONFIG_FEATURE_FTP_AUTHENTICATION
> but none of CONFIG_SU, CONFIG_VLOCK, CONFIG_LOGIN, CONFIG_SULOGIN
>
> (e.g. allnoconfig with CONFIG_FEATURE_FTP_AUTHENTICATION enabled)
>
> An easy fix is probably to add correct_password.o to libbb/Kbuild for
> CONFIG_FEATURE_FTP_AUTHENTICATION
>
>
> Best regards,
> Christian
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list