我在安装在 Windows 7 pc 上的 vmware 上使用 ubuntu 12.04...我试图编译 linux-2.6.0 源文件(从 kernel.org 下载)...我按照网上所说的步骤进行操作,但有问题...
所以我搜索了一下并遇到了这个......我按照答案中的方式进行了操作,但是在执行第二步之后,当我继续执行第三步(make menuconfig)时,我收到以下错误..
make[1]: `scripts/fixdep' is up to date.
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91:21: error: static declaration of ‘current_menu’ follows
non-static declaration
scripts/kconfig/lkc.h:63:21: note: previous declaration of ‘current_menu’ was here
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:553:7: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result [-Wunused-result]
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:225:6: warning: ignoring return value of ‘pipe’, declared with
attribute warn_unused_result [-Wunused-result]
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
当我使用 make xconfig 时发生了同样的错误...请告诉我应该怎么做?提前致谢。