mdev

Vladimir Dronnikov dronnikov at gmail.com
Wed Jan 12 18:43:25 UTC 2011


> scripts/basic/split-include.c: In function ‘main’:
> scripts/basic/split-include.c:134: warning: ignoring return value of
> ‘fgets’, declared with attribute warn_unused_result
> scripts/kconfig/conf.c: In function ‘conf_askvalue’:
> scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’,
> declared with attribute warn_unused_result
> scripts/kconfig/conf.c: In function ‘conf_choice’:
> scripts/kconfig/conf.c:359: warning: ignoring return value of ‘fgets’,
> declared with attribute warn_unused_result
> scripts/kconfig/mconf.c: In function ‘exec_conf’:
> scripts/kconfig/mconf.c:470: warning: ignoring return value of ‘pipe’,
> declared with attribute warn_unused_result
> scripts/kconfig/mconf.c: In function ‘show_textbox’:
> scripts/kconfig/mconf.c:836: warning: ignoring return value of ‘write’,
> declared with attribute warn_unused_result
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
> make: *** [include/autoconf.h] Error 2
>

This is due to warnings treated as errors. Should be configurable by
menuconfig, or directly by removing -Wl,error from Makefile
The patch is dated


More information about the busybox mailing list