回复: 38
i.MX6 Ltib编译报错,请版主解决一下。(已解决)
(217149443)
出0入0汤圆
电梯直达
发表于 2014-6-25 14:57:40
|
只看该作者
|倒序浏览
|阅读模式
本帖最后由 FSL_TICS_ZP 于 2014-7-8 16:18 编辑
使用L3.0.35_4.0.0_130424_source,i.MX6 SDB板
报错问题:
+ make
make all-recursive
make[1]: Entering directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8'
Making all in tools
make[2]: Entering directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/texinfo-4.8'
make: *** [all] Error 2
error: Bad exit status from /opt/fsl/L3.0.35_4.0.0_130424_source/Linux/ltib/tmp/rpm-tmp.39741 (%build)
RPM build errors:
Bad exit status from /opt/fsl/L3.0.35_4.0.0_130424_source/Linux/ltib/tmp/rpm-tmp.39741 (%build)
Build time for texinfo: 11 seconds
Failed building texinfo
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Tue Jun 24 23:53:08 2014
Ended: Tue Jun 24 23:53:19 2014
Elapsed: 11 seconds
These packages failed to build:
texinfo
Build Failed
发表于 2014-6-25 17:05:19
|
只看该作者
你好,楼主!
我会将你的问题装给i.MX工程师,他稍后会回复你的。
发表于 2014-6-25 17:05:33
|
只看该作者
应该是在编译前少安装了ltib使用的包吧,你试一下:
sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev
sudo apt-get install texinfo
发表于 2014-6-25 17:06:18
|
只看该作者
这里建议你使用新的BSP L3.0.35_4.1.0_130816_source,并且本论坛中有详细的使用LTIB编译的中文文档,你可以参考一下,链接为:http://www.amobbs.com/thread-5570815-1-1.html
(217141423)
出0入0汤圆
楼主|
发表于 2014-6-25 17:11:20
|
只看该作者
上面问题没法解决吗?
发表于 2014-6-25 17:14:12
|
只看该作者
发表于 2014-6-27 09:35:36
|
只看该作者
楼主你好,请问帖子中的问题解决了么?
发表于 2014-6-30 14:44:28
|
只看该作者
楼主你好,请问帖子中的问题解决了么?如果还是没有解决的话,欢迎在这里继续讨论哈~~
(216710607)
出0入0汤圆
楼主|
发表于 2014-6-30 16:51:36
|
只看该作者
不可以呀,重新安装了ubuntu12.04版本,64位操作系统,现在出现zlib提出找不到,但是按照文档的所有lib库已经安装了
发表于 2014-6-30 17:28:18
|
只看该作者
把你遇到的编译错误信息发给我一下,或者你截个图给我也行。
(216702808)
出0入0汤圆
楼主|
发表于 2014-6-30 19:01:35
|
只看该作者
发表于 2014-7-1 10:36:59
|
只看该作者
楼主你好,你使用的是64bit的ubuntu,所以在这里你需要执行以下命令sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1,然后再编译。如果有问题再联系我哈~~
(216638404)
出0入0汤圆
楼主|
发表于 2014-7-1 12:54:59
|
只看该作者
I ran the command: sudo -S -l which returned:
Matching Defaults entries for yfzx on this host:
env_reset,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User yfzx may run the following commands on this host:
(root) NOPASSWD: /bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm
(ALL : ALL) ALL
This means you don't have sudo permission to execute rpm commands as root
without a password. This is needed for this build script to operate correctly.
To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:
yfzx ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
traceback:
main::check_sudo_setup:2467
main::host_checks:1413
main:554
Started: Mon Jun 30 21:23:13 2014
Ended: Mon Jun 30 21:23:13 2014
Elapsed: 0 seconds
Build Failed
Exiting on error or interrupt
(216638348)
出0入0汤圆
楼主|
发表于 2014-7-1 12:55:55
|
只看该作者
执行sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1
出现上面的问题
发表于 2014-7-1 14:48:53
|
只看该作者
这里是Sudoers没有设置好,我发给你一个我同事写的文档,你看一下,里面有你遇到的那个问题。你按照文档中的解决方法试一下。
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
(216626885)
出0入0汤圆
楼主|
发表于 2014-7-1 16:06:58
|
只看该作者
谢谢版主,已经解决了。
(216626862)
出0入0汤圆
楼主|
发表于 2014-7-1 16:07:21
|
只看该作者
结贴。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
发表于 2014-7-1 16:24:19
|
只看该作者
发表于 2014-7-1 16:25:00
|
只看该作者
亲,你是不是在21ic论坛上也有发帖的呢,麻烦帮忙结贴哦~~
(216624534)
出0入0汤圆
楼主|
发表于 2014-7-1 16:46:09
|
只看该作者
发表于 2014-7-1 17:10:43
|
只看该作者
没事,我再帮你看一下~~
(216622163)
出0入0汤圆
楼主|
发表于 2014-7-1 17:25:40
|
只看该作者
发表于 2014-7-1 17:26:04
|
只看该作者
楼主你好,请问你有没有修改 ltib/dist/lfs-5.1/base_libs/base_libs.spec.
...
perl -w -e '
# @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
# exit (0) unless @ARGV;
注释掉以上两行,在文档中有说明的。
发表于 2014-7-1 17:28:27
|
只看该作者
编译好的uboot和uImage就在目录ltib/rootfs/boot下。Linux源码在rpm目录下。
(216621624)
出0入0汤圆
楼主|
发表于 2014-7-1 17:34:39
|
只看该作者
x11有没有源码的?
发表于 2014-7-1 17:35:21
|
只看该作者
(216621545)
出0入0汤圆
楼主|
发表于 2014-7-1 17:35:58
|
只看该作者
发表于 2014-7-3 10:59:41
|
只看该作者
楼主你好,i.mx6dl和i.mx6q的平台都是在i.mx6q下的,在ltib目录下输入:./ltib --selectype 就可以回到平台选择的。
发表于 2014-7-3 11:01:42
|
只看该作者
(216459626)
出0入0汤圆
楼主|
发表于 2014-7-3 14:34:37
|
只看该作者
请问如何释放,使用什么命令?
发表于 2014-7-4 09:55:19
|
只看该作者
(216121952)
出0入0汤圆
楼主|
发表于 2014-7-7 12:22:31
|
只看该作者
版主,删除以前版本,重新install一个,编译出错了,报错如下:
Python/compile.c:6528:7: error: 'atom' undeclared (first use in this function)
Python/compile.c:6543:7: error: 'dotted_as_name' undeclared (first use in this function)
Python/compile.c:6553:7: error: 'dotted_name' undeclared (first use in this function)
Python/compile.c:6569:29: error: 'single_input' undeclared (first use in this function)
Python/compile.c: At top level:
Python/compile.c:1104:1: warning: 'dump' defined but not used [-Wunused-function]
make: *** [Python/compile.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /home/iMX6_linux3_3_0_35_4_1/L3.0.35_4.1.0/Linux_3_0_35/ltib/tmp/rpm-tmp.23831 (%build)
RPM build errors:
Bad exit status from /home/iMX6_linux3_3_0_35_4_1/L3.0.35_4.1.0/Linux_3_0_35/ltib/tmp/rpm-tmp.23831 (%build)
Build time for python: 30 seconds
Failed building python
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Thu Jul 3 01:49:03 2014
Ended: Thu Jul 3 02:13:27 2014
Elapsed: 1464 seconds
These packages failed to build:
python
Build Failed
Exiting on error or interrupt
(216119954)
出0入0汤圆
发表于 2014-7-7 12:55:49
|
只看该作者
i.MX6用yocto吧,我看那个内核还更新一些,3.10.17的。我前段时间跑了两天跑通了。
(216117762)
出0入0汤圆
楼主|
发表于 2014-7-7 13:32:21
|
只看该作者
关键yocto没法下载呀,下载几天都没有完,一直停止。
(216113134)
出0入0汤圆
发表于 2014-7-7 14:49:29
|
只看该作者
你网络太慢了吧,我花了两天,下载编译完的,大概总共下载了1G多,编译完占用了30多G大概。
当然ltib我早弄好了,我嫌内核版本有点低,具体用那个我要实际使用再看看情况。
发表于 2014-7-7 16:57:17
|
只看该作者
楼主你好,建议你重新安装一下LTIB,安装前把之前安装的packages都删除掉试一下,把/opt下的都删除。如果不可以再联系我~~
发表于 2014-7-8 15:40:54
|
只看该作者
楼主你好,问题搞定了么?
(216019625)
出0入0汤圆
楼主|
发表于 2014-7-8 16:47:58
|
只看该作者