[oe] libxml2-native build against host zlib.h

Jader H. Silva jader at 2mi.com.br
Tue Apr 7 19:01:58 UTC 2009


Tom Rini escreveu:
> On Tue, Apr 07, 2009 at 02:54:35PM -0300, Jader H. Silva wrote:
>   
>> Koen Kooi escreveu:
>>     
>>> On 23-03-09 20:10, Jader H. Silva wrote:
>>>       
>>>>     It seems libxml2-native is built using host zlib.h.
>>>>     My host have a symbol redefinition in zlib.h (gzopen ->   
>>>> gzopen64), but
>>>>     that symbol does not exists in OE compiled library.
>>>>     Setting --with-zlib=${STAGING_INCIR}/zlib.h in libxml2-native.inc
>>>>     solved it. There's a patch attached.
>>>>         
>>> The patch seems to solve the problem, could you resend a version that  
>>> bumps the PR as well? Once this in .dev we should apply it to  
>>> stable/2008 as well.
>>>
>>> regards,
>>>
>>> Koen
>>>       
>> Patch with compilation fix and PR update is attached.
>>     
>
> As Khem pointed out previously, this is not correct, NACK.  From the
> configure script --help:
>   --with-zlib[=DIR]       use libz in DIR
> So this should be adding '--with-zlib=${STAGING_INCIR}'
>
>   
--with-zlib=${STAGING_INCDIR} don't fix it.




More information about the Openembedded-devel mailing list