说句实话,LTIB这个环境实在太难搭了,换了几个Ubuntu版本,解了好几个问题还是没有搞定,freescale能否把LTIB设计得易用一点呢?
环境:Linux luodahong 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04 LTS
LTIB版本:L3.0.35_4.1.0_130816_source.tar
cc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/opt/freescale/ltib/etc/wgetrc\" -DLOCALEDIR=\"/opt/freescale/ltib/usr/share/locale\" -O2 -Wall -Wno-implicit -c version.c
/bin/sh ../libtool --mode=link gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o convert.o cookies.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o log.o main.o gen-md5.o netrc.o progress.o rbuf.o recur.o res.o retr.o safe-ctype.o snprintf.o gen_sslfunc.o url.o utils.o version.o -lssl -lcrypto -ldl
mkdir .libs
gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o convert.o cookies.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o log.o main.o gen-md5.o netrc.o progress.o rbuf.o recur.o res.o retr.o safe-ctype.o snprintf.o gen_sslfunc.o url.o utils.o version.o -lssl -lcrypto -ldl
gen_sslfunc.o: In function `init_ssl':
gen_sslfunc.c:(.text+0x333): undefined reference to `SSLv2_client_method'
collect2: error: 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/yangzhenghua/ltib/ltib/tmp/rpm-tmp.63088 (%build)
RPM build errors:
Bad exit status from /home/yangzhenghua/ltib/ltib/tmp/rpm-tmp.63088 (%build)
Build time for wget: 28 seconds
Failed building wget
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Sat Nov 28 23:30:09 2015
Ended: Sat Nov 28 23:30:38 2015
Elapsed: 29 seconds
These packages failed to build:
wget
Build Failed
之前其他的错误,根据https://bbs.21ic.com/forum.php?mo ... hlight=ltib%2B14.04这个帖子打上了
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch这个patch后还是出错。
不过打patch的时候,感觉不太对劲,也不知道是patch的问题还是哪里操作错误
yangzhenghua@luodahong:~/ltib/ltib$ git apply 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch:106: trailing whitespace.
%patch1 -p1
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch:144: trailing whitespace.
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch:164: trailing whitespace.
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch:166: trailing whitespace.
0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS.patch:169: trailing whitespace.
|