本帖最后由 bestray 于 2014-6-30 20:12 编辑
环境: Ubuntu 12.04 LTS 64bit
BSP资源: imx6_ltib/L3.0.35_4.1.0_130816_source
按照《在 Ubuntu 12.04 上用 LTIB 编译 linux BSP》手册上的步骤执行,到编译过程中问题层出,补丁以及库能打的都打了,网上几乎无正解。贴出错误,大家帮忙看看!给点解决办法。
第一个error,无奈注释掉.ltib文件 line 1392,接着执行选择 imx6q 开发板以及cpu型号等参数,根据手册配置完毕,接着出现第二个错误……由于错误不断发生,先从第一个error开始贴~
1.Build Failed wget
Processing: wget
==================
Build path taken because: directory build, no prebuilt rpm,
Cowardly refusing to clobber existing directory:
/opt/freescale/ltib/usr/src/rpm/BUILD/wget-1.9.1
Remove this by hand if you really want to rebuild this package from scratch
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Mon Jun 30 14:42:03 2014
Ended: Mon Jun 30 14:42:03 2014
Elapsed: 0 seconds
These packages failed to build:
wget
Build Failed
2. Failed building libxcbwarning: failed to load external entity "xproto.xml"
unable to parse xproto.xml
make[1]: *** [xproto.h] Error 6
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [bigreq.h] Error 6
make[1]: *** [composite.h] Error 6
/usr/bin/xsltproc --stringparam mode header \
--stringparam base-path /usr/share/xcb/ \
--stringparam extension-path /usr/share/xcb/ \
-o randr.h ./c-client.xsl randr.xml
warning: failed to load external entity "glx.xml"
unable to parse glx.xml
make[1]: *** [glx.h] Error 6
warning: failed to load external entity "damage.xml"
unable to parse damage.xml
make[1]: *** [damage.h] Error 6
warning: failed to load external entity "randr.xml"
unable to parse randr.xml
warning: failed to load external entity "dpms.xml"
unable to parse dpms.xml
make[1]: *** [randr.h] Error 6
make[1]: *** [dpms.h] Error 6
make[1]: Leaving directory `/home/hanby/imx6_ltib/L3.0.35_4.1.0_130816_source/source/ltib/rpm/BUILD/libxcb-1.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/hanby/imx6_ltib/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.80433 (%build)
RPM build errors:
Bad exit status from /home/hanby/imx6_ltib/L3.0.35_4.1.0_130816_source/source/ltib/tmp/rpm-tmp.80433 (%build)
Build time for libxcb: 6 seconds
Failed building libxcb
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Mon Jun 30 19:47:04 2014
Ended: Mon Jun 30 19:49:02 2014
Elapsed: 118 seconds
These packages failed to build:
libxcb
Build Failed
Exiting on error or interrupt
|