AnsweredAssumed Answered

using Freescale's sources to build an ltib image for Sabre Lite fails

Question asked by Nass Sil on May 9, 2013
Latest reply on Feb 4, 2014 by Lance Jump

Hello everyone,

I am following i.MX 6 Q/D L3.0.35_1.1.0 GA release . I have an Element14 sabre-lite instead of one of the 3 boards that freescale offers.

I have downloaded the sources and docs and I am following the guide (found from L3.0.35_1.1.0_docs.tar.gz -> L3.0.35_1.1.0_docs -> L3.0.35_1.1.0_BSP_Documents -> SABRE_SD_User_Guide_L3.0.35_1.1.0.pdf )

I have extracted the L3.0.35_1.1.0_121218_source.tar.gz and installed LTIB running ./install.

I then move on to running

cd ltib

./ltib -m config.

 

However the process fails when building wget (from host_config.log)

 

 

gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o convert.o cookies.o ftp.o f

tp-basic.o ftp-ls.o ftp-opie.o hash.o headers.o host.o html-parse.o html-url.o h

ttp.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+0x343): 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 /opt/slackaloo_nfs/freescale/ltib/tmp/rpm-tmp.73496 (%build)

 

 

RPM build errors:

    Bad exit status from /opt/slackaloo_nfs/freescale/ltib/tmp/rpm-tmp.73496 (%build)

Build time for wget: 14 seconds

 

Failed building wget

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554


 

The host is Linux mint 12.04.

I found that LTIB doesn't like ubuntu 12.04 ( ubuntu-ltib-patch.tgz ) , so I also tried removing the ltib directory, reinstalling, applying the patch and running ./ltib -m config once again. still no luck.

 

Anyone has seen this?

I read the LTIB "Failed building wget" undefined reference to `SSLv2_client_method' which refers to ubuntu 11.10 and imx53. So I was hoping the problem has been debuged since ubuntu 11.10....

 

Thank you for your help.

EDIT: actually ltib fails in other stages too. I re-deleted everything, re-extractred from the archive, patched again for ubuntu 12.04, and now it fails at

 

Processing: libtool

=====================

 

Processing: lkc

=================

Build path taken because: no prebuilt rpm,

Testing network connectivity

OK GPP:

 

Try lkc-1.4-lib.patch.md5 from the GPP

http://bitshrine.org/gpp//lkc-1.4-lib.patch.md5:

2013-05-09 17:35:38 ERROR 404: Not Found.

Try lkc-1.4-lib.patch from the GPP

http://bitshrine.org/gpp//lkc-1.4-lib.patch:

2013-05-09 17:35:38 ERROR 404: Not Found.

Can't get: lkc-1.4-lib.patch at ./ltib line 802.

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554

 



Outcomes