打印
[i.MX]

编译uboot出错,怎么解决,求助

[复制链接]
3144|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
kaikaisi|  楼主 | 2015-6-4 10:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/pkg-config-0.28/glib/glib/gthread-posix.c:1175:10: error: 'PR_SET_NAME' undeclared (first use in this function)
| /home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/pkg-config-0.28/glib/glib/gthread-posix.c:1175:10: note: each undeclared identifier is reported only once for each function it appears in
| make[6]: *** [gthread-posix.lo] Error 1
| make[6]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build/glib/glib'
| make[5]: *** [all-recursive] Error 1
| make[5]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build/glib/glib'
| make[4]: *** [all] Error 2
| make[4]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build/glib/glib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build/glib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build/glib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/kaikai/fsl-release-bsp/yocto_learn/tmp/work/i686-linux/pkgconfig-native/0.28-r0/temp/log.do_compile.7118)
ERROR: Task 193 (virtual:native:/home/kaikai/fsl-release-bsp/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 85 tasks of which 82 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  virtual:native:/home/kaikai/fsl-release-bsp/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

相关帖子

沙发
mini1986| | 2015-6-4 12:42 | 只看该作者
像是少了某个头文件,网上搜搜吧。最好用国外的搜索引擎......

使用特权

评论回复
板凳
kaikaisi|  楼主 | 2015-6-8 11:32 | 只看该作者
mini1986 发表于 2015-6-4 12:42
像是少了某个头文件,网上搜搜吧。最好用国外的搜索引擎......

gthread-posix.c:1175:10: error: 'PR_SET_NAME' undeclared (first use in this function)是这个函数中的一个宏好像没有定义申请,但找不到函数所以不知到怎么定义,不知道是不是这个错误导致的编译不过啊!请知道一下,谢谢。

使用特权

评论回复
地板
mini1986| | 2015-6-8 12:21 | 只看该作者
网上搜搜啊,没遇到过......

使用特权

评论回复
5
FSL_TICS_Rita| | 2015-7-14 11:19 | 只看该作者
非常感谢你的技术问题。我们建议您将此i.mx的技术问题提交到飞思卡尔的英文论坛。网址是https://community.freescale.com/welcome 谢谢。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

8

帖子

0

粉丝