在执行./ltib后,出现error,进入/ltib/ltib/host_config.log 下查看:
.....................
Processing: wget
==================
Build path taken because: no prebuilt rpm,
rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target i686 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /home/zhouh/work/ltib/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/usr/src/rpm/RPMS' --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource /home/zhouh/work/ltib/ltib/dist/lfs-5.1/wget/wget.spec
Building target platforms: i686
Building for target i686
......................................
....................................
....................................
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/zhouh/work/ltib/ltib/tmp/rpm-tmp.93719 (%build)
RPM build errors:
Bad exit status from /home/zhouh/work/ltib/ltib/tmp/rpm-tmp.93719 (%build)
Build time for wget: 13 seconds
Failed building wget
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Sat Oct 17 19:34:40 2015
Ended: Sat Oct 17 19:34:54 2015
Elapsed: 14 seconds
These packages failed to build:
wget
Build Failed |