当我尝试make menuconfig
在 Fedora 11 机器上执行此操作时,它会抛出以下错误消息:
[root@PC04 kernel]# make menuconfig
HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function âtrapsâ:
scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
请帮我解决这个问题?我该如何解决这个问题?
谢谢,
Sen
答案1
安装 glibc-devel 包,应该没问题
答案2
更一般地,如果你想在 Fedora 上进行开发工作,请运行
sudo yum groupinstall 'Development Tools'