[yocto] libtool error when running adt_installer

Joseph Andrew de la Peña jdelapena at lexmark.com
Thu Jul 17 02:14:39 PDT 2014


Good day Chong,

Thank you again for looking into my issue. Apparently, in the generated
configure script:

# Always use our own libtool.
LIBTOOL='$(top_builddir)'
LIBTOOL="$LIBTOOL/${host_alias}-libtool"

Looked into the changes for this and there was a patch  submitted to
differentiate host aliases.
http://cgit.openembedded.org/openembedded/plain/recipes/binutils/binutils-2.20.1/libtool-update.patch

Found out that host_alias was "" which resulted to -libtool. When I set
manually host_alias to a certain host value, it went pass the error. So
maybe the question now is where is host_alias assigned to a value?

YES. There was a connection error since I've disabled HTTP_PROXY.

Thanks,
Joseph


On Thu, Jul 17, 2014 at 4:57 PM, Chong Lu <Chong.Lu at windriver.com> wrote:

>  Hi Joseph,
>
> In adt-installer/opkg/build/opkg-svn/configure file, we have
>  8917 # Always use our own libtool.
>  8918 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
>
> So, we should libtool rather than -libtool.
> Do you have any env variable to set LIBTOOL?
>
> In addition, I found your log:
>
> --2014-07-16 15:53:29--  http://adtrepo.yoctoproject.org/1.5.1
> Resolving adtrepo.yoctoproject.org... 140.211.169.59
> Connecting to adtrepo.yoctoproject.org|140.211.169.59|:80... failed: Connection refused.
>
> You fail to connect repo. Please check.
>
> BR
> Chong
>
>
> On 07/17/2014 09:18 AM, Joseph Andrew de la Peña wrote:
>
>  Good day,
>
>  I have an error in libtool when running adt_installer script.
>
>  make[1]: Entering directory
> `/users/jdelapena/adt-installer/opkg/build/opkg-svn/libbb'
> ../-libtool  --tag=CC   --mode=compile i586-poky-linux-gcc  -m32
> -march=i586
>  --sysroot=/bonus/scratch/jdelapena/sdk/sysroots/i586-poky-linux
> -DHAVE_CONFIG_H -I. -I../libopkg    -g -O -Wall -DHOST_CPU_STR=\"x86_64\"
> -DBUILD_CPU=x86_64 -O -fno-omit-frame-pointer -g
> -feliminate-unused-debug-types -pipe -MT libbb_la-gz_open.lo -MD -MP -MF
> .deps/libbb_la-gz_open.Tpo -c -o libbb_la-gz_open.lo `test -f 'gz_open.c'
> || echo './'`gz_open.c
>
>  */bin/sh: ../-libtool: No such file or directory*
> make[1]: *** [libbb_la-gz_open.lo] Error 127
> make[1]: Leaving directory
> `/users/jdelapena/adt-installer/opkg/build/opkg-svn/libbb'
> make: *** [all-recursive] Error 1
>
>  Seems to be $LIBTOOL was not having the correct value. I've searched all
> occurrence of $LIBTOOL but all of them had -libtool value.
>
>  Where does $LIBTOOL originate when creating my own adt_installer script
> via bitbake adt-installer?
> What variables in any conf file do I need to change to run adt_installer
> successfully?
>
>  Attached is the full log during running of adt_installer.
>
>  Thanks,
> Joseph
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140717/95c88974/attachment.html>


More information about the yocto mailing list