照着《i.MX6 Ubuntu12.04上编译LTIB.pdf》一步步做的,使用的是ubuntu12.04 32位的系统。第一次执行./ltib出现找不到zlib的错误后,打补丁patch-ltib-ubuntu12.04.sh。再次执行./ltib,出现如下错误:
gen_sslfunc.o: In function `init_ssl':
gen_sslfunc.c:(.text+0x351): undefined reference to `SSLv2_client_method'
collect2: ld returned 1 exit status
make[1]: *** [wget] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/wget-1.9.1/src'
make: *** [src] Error 2
error: Bad exit status from /home/zhang/ubuntu/Desktop/ltib/ltib/tmp/rpm-tmp.75278 (%build)
RPM build errors:
Bad exit status from /home/zhang/ubuntu/Desktop/ltib/ltib/tmp/rpm-tmp.75278 (%build)
Build time for wget: 8 seconds
Failed building wget
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Tue May 5 14:45:35 2015
Ended: Tue May 5 14:50:09 2015
Elapsed: 274 seconds
These packages failed to build:
wget
Build Failed
此问题折腾了我很久,请求高手予以指导,多谢! |