按照文档写的步骤走了一遍,发现还是有问题。在编译的时候./ltib出现下面的信息:
vmuser@vmuser:~/ltib$ ./ltib
Processing platform: Freescale iMX6x Based Boards
===================================================
using config/platform/imx/.config
Processing: fake-provides
===========================
Processing: u-boot-v2009.08
=============================
Processing: kernel-3.0.35
===========================
Processing: skell
===================
Processing: base_libs
=======================
Build path taken because: no prebuilt rpm,
rpmbuild --dbpath /home/vmuser/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/vmuser/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/vmuser/ltib/tmp' --define '_rpmdir /home/vmuser/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb --clean --rmsource /home/vmuser/ltib/dist/lfs-5.1/base_libs/base_libs.spec
Building target platforms: arm
Building for target arm
error: line 1: Unknown tag: define __os_install_post
Build time for base_libs: 0 seconds
Failed building base_libs
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Mon Jan 26 20:29:13 2015
Ended: Mon Jan 26 20:29:14 2015
Elapsed: 1 seconds
These packages failed to build:
base_libs
Build Failed
Exiting on error or interrupt
vmuser@vmuser:~/ltib$
不知道怎么解决? |