0
回答
在ubuntu下对linux-4.10.4内核和linux-3.0.20内核进行make menuconfig出现错误,求助大神解决方法?
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

root@ubuntu :/usr/src/linux-4.10.4# make menuconfig
  HOSTCC  scripts/basic/fixdep
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-std=gnu90’ is valid for C/ObjC but not for C++
In file included from /usr/include/i386-linux-gnu/bits/posix1_lim.h:157:0,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i686-linux-gnu/6/include-fixed/limits.h:168,
                 from /usr/lib/gcc/i686-linux-gnu/6/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/i686-linux-gnu/6/include-fixed/limits.h:34,
                 from scripts/basic/fixdep.c:113:
/usr/include/i386-linux-gnu/bits/local_lim.h:39:26: fatal error: linux/limits.h: 没有那个文件或目录
 #include <linux/limits.h>
                          ^
compilation terminated.
make[1]: *** [scripts/basic/fixdep] 错误 1
make: *** [scripts_basic] 错误 2
 

<无标签>
举报
mybluesky
发帖于9个月前 0回/64阅
顶部