[poky] libtool-cross failed configure on yocto-2.6.1 with newlib

张忠山 zzs213 at 126.com
Fri Mar 8 00:22:35 PST 2019


>> My host system is:
>>     
>>     Linux gfcd101 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12 17:45:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>>
>> And using yocto-2.6.1 with newlib:
>>
>>     TCLIBC := "newlib"
>>
>> I wrote a custom .bb to build "kconfig-frontends", it "inherit autotools"
>>
>> when run "bitbake kconfig-frontends", libtool-cross failed to configure:
>>
>>     ERROR: libtool-cross-2.4.6-r0 do_configure: configure failed
>>     ERROR: libtool-cross-2.4.6-r0 do_configure: Function failed: do_configure (log file is located at .../libtool-cross/2.4.6-r0/temp/log.do_configure.11188)
> 
> My recipe for "kconfig-frontends" inhert native, So it just try to 
> build native tool, why need libtool-cross?
> 
Now, I built it success using the flowwing command line:

    bitbake kconfig-frontends-native

The command previously used which worked error is:

    bitbake kconfig-frontends

So I wonder does a recipe can produce a cross-compiled target even the "native.bbclass" inherited??

-- 
Best Regards,
zzs



More information about the poky mailing list