打印
[i.MX]

ubuntu10.10下ltib编译BSP出错

[复制链接]
972|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
syslyricwk|  楼主 | 2015-3-18 21:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
出错内容如下

Processing: u-boot-v2009.08
=============================
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /opt/freescale_BSP/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /opt/freescale_BSP/ltib/rpm' --define '_prefix /usr' --define '_tmppath /opt/freescale_BSP/ltib/tmp' --define '_rpmdir /opt/freescale_BSP/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /opt/freescale_BSP/ltib/tmp/u-boot-v2009.08.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695
+ umask 022
+ cd /opt/freescale_BSP/ltib/rpm/BUILD
+ cd u-boot-2009.08
+ : mx6q_sabresd_config
+ eval echo
+ echo
+ PKG_U_BOOT_PATH_PRECONFIG=
+ SRC_DIR=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08
+ BUILD_DIR=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08
+ [ /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 != /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 ]
+ cd /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08+ [ -n  ]
+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabresd_config
make: *** No rule to make target `mx6q_sabresd_config'.  Stop.error: Bad exit status from /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695 (%build)


RPM build errors:
    Bad exit status from /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695 (%build)
Build time for u-boot-v2009.08: 0 seconds

Failed building u-boot-v2009.08

f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Wed Mar 18 21:41:11 2015
Ended:   Wed Mar 18 21:41:12 2015
Elapsed: 1 seconds

These packages failed to build:
u-boot-v2009.08

Build Failed

Exiting on error or interrupt


根据加粗的语句,
可以判断是u-boot-2009.08在执行make mx6q_sabresd_config是Makefile里面没有mx6q_sabresd相关的配置

但是该如何解决编译出错的问题

麻烦论坛的大神帮忙解决下

相关帖子

沙发
syslyricwk|  楼主 | 2015-3-20 09:48 | 只看该作者
来个人帮个忙吧

使用特权

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

本版积分规则

1

主题

4

帖子

0

粉丝