qsdk编译,make menuconfig 出问题

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$  

无解,找不出问题!!

阅读 11.2k
1 个回答

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

#ifdef __GNUC_STDC_INLINE__
__attribute__ ((__gnu_inline__))
#endif

图片描述

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题