[oe] shared-mime-info-native-0.51 do_compile failure

Ed Nelson enelson1000 at comcast.net
Fri Feb 26 20:12:05 UTC 2010


Khem Raj wrote:
> On (14/02/10 11:41), ed wrote:
>   
>> Trying to build image for mini2440 and get the following error.
>>     
>  ==============================
>   
>> Says it has undefined gzopen64
>> But gzopen64 is apparently there.
>> ed ~/mini2440/OE/build/tmp/staging/i686-linux/usr/lib:$: strings
>> libxml2.so |grep gzopen64
>> gzopen64
>> ed ~/mini2440/OE/build/tmp/staging/i686-linux/usr/lib:$: objdump -T
>> libxml2.so |grep gzopen64
>> 00000000      DF *UND*	00000000              gzopen64
>>
>>
>> Any ideas?  
>>     
>
> It must be using libxml from host and libz from your native staging. 
> So either use both from host or both from staging. Mixing can cause this
> problem.
>
> Do you have any of zlib-native or libxml2-native in your local.conf as
> ASSUME_PROVIDED ?
>
>   
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>     
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>   
I ended up modifying  libxml12-native.inc file and added 
--with-zlib=${STAGING_INCDIR}/zlib.h to EXTRA_OECONF.
Looked at your email response to Cliff Brake "gettext native failure" on 
2/23/2010.
Not sure if this was the correct way to fix it but it solved my problem.

Thanks
Ed




More information about the Openembedded-devel mailing list