当前位置: 技术问答>linux和unix
problem on complie kernel 2.6.24.16
来源: 互联网 发布时间:2016-04-12
本文导语: I'm a newbie in compile linux kernel,and followed the step by step guild(http://ubuntuforums.org/showthread.php?t=56835http://ubuntuforums.org/showthread.php?t=56835). I got the error here: root@pp-desktop:/usr/src/linux-headers-2.6.24-16# make CHK incl...
I'm a newbie in compile linux kernel,and followed the step by step guild(http://ubuntuforums.org/showthread.php?t=56835http://ubuntuforums.org/showthread.php?t=56835).
I got the error here:
root@pp-desktop:/usr/src/linux-headers-2.6.24-16# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop.
make: *** [prepare0] Error 2
then I googled for 2h,but no effective solution.
thank you.
I got the error here:
root@pp-desktop:/usr/src/linux-headers-2.6.24-16# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop.
make: *** [prepare0] Error 2
then I googled for 2h,but no effective solution.
thank you.
|
提问 linux 下比较细节的问题,特别是编译错误,最好把相关情况写完整一点,比如:
uname -a
gcc --version
获得的信息;以及解包配置的相关信息。
uname -a
gcc --version
获得的信息;以及解包配置的相关信息。