根据https://community.nxp.com/docs/DOC-100626
这个文档来装ubuntu14.04 的ltib,重做了10来次虚拟机,最后终于安装成功。
接着配置和编译
./ltib -m config
若choose the packages profile 选择Mini profile 最终可以编译成功rootfs.jffs2
若choose the packages profile 选择FSL gnome release package
则会报错
...
...
...
Parser/tokenizer_pgen.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make: *** [Parser/pgen] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /home/tony/install/ltib/tmp/rpm-tmp.81532 (%build)
RPM build errors:
Bad exit status from /home/tony/install/ltib/tmp/rpm-tmp.81532 (%build)
Build time for python: 63 seconds
Failed building python
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Fri Apr 14 16:39:56 2017
Ended: Fri Apr 14 16:41:03 2017
Elapsed: 67 seconds
These packages failed to build:
python
Build Failed
-------------------------------------
我看安装目录下ltib/rpm/BUILD/Python-2.4.4有这个文件,并在/opt/freescale/pkgs/下能找到Python-2.4.4.tar.gz2
请教报错问题如何解决?
|