0
回答
在ubuntu下对linux-4.10.4内核和linux-3.0.20内核进行make menuconfig出现错误,求助大神解决方法?
百度AI开发者大赛带你边学边开发,赢100万奖金,加群:418589053   

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
发帖于1年前 0回/111阅
顶部