qsdk编译,make menuconfig 出问题

原文链接:https://segmentfault.com/q/1010000014899536

qsdk编译,make menuconfig 出问题

发布于 2018-05-17
hades@hades:~/repo/qsdk$ make menuconfing 
Collecting package info: done
make[2]: Entering directory '/home/hades/repo/qsdk/scripts/config'
zconf.tab.o: In function `zconflex':
zconf.tab.c:(.text+0x22f5): undefined reference to `kconf_id_lookup'
zconf.tab.c:(.text+0x2447): undefined reference to `kconf_id_lookup'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'conf' failed
make[2]: *** [conf] Error 1
make[2]: Leaving directory '/home/hades/repo/qsdk/scripts/config'
/home/hades/repo/qsdk/include/toplevel.mk:80: recipe for target 'scripts/config/conf' failed
make[1]: *** [scripts/config/conf] Error 2
/home/hades/repo/qsdk/include/toplevel.mk:146: recipe for target 'menuconfing' failed
make: *** [menuconfing] Error 2
hades@hades:~/repo/qsdk$  

无解,找不出问题!!

 
 
✓ 已被采纳

在scripts/config/
zconf.hash.c
zconf.hash.c_shipped
两个文件中kconf_id_lookup前加入:

#ifdef __GNUC_STDC_INLINE__
__attribute__ ((__gnu_inline__))
#endif

 

 

 
iChenwin

编译Openwrt时也碰到同样问题,此方法有效,谢谢?

回复2019-08-27

posted on   sudochen  阅读(300)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示