打印
[i.MX]

求助i.MX6 Ubuntu12.04上编译LTIB出问题

[复制链接]
1118|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
hmsfeng|  楼主 | 2015-1-26 20:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我按照之前的一个帖子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$
不知道怎么解决?求助

相关帖子

沙发
hmsfeng|  楼主 | 2015-1-27 11:19 | 只看该作者
问题已解决,主要原因是修改/ltib/dist/lfs-5.1/base_libs/base_libs.spec的时候,把第一行的define __os_install_post,误删除了%,应该是%define __os_install_post

使用特权

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

本版积分规则

个人签名:相信自己!

6

主题

30

帖子

0

粉丝