我按照之前的一个帖子https://bbs.21ic.com/icview-680340-1-1.html,编译了L3.0.35,目前发现一个问题,无法编译成功,请楼主帮忙看看。
在编译的时候./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$
不知道怎么解决?求助 |