All of lore.kernel.org
 help / color / mirror / Atom feed
* libxml2-native build against host zlib.h
@ 2009-03-23 19:10 Jader H. Silva
  2009-03-23 21:00 ` Khem Raj
  2009-04-07 16:56 ` Koen Kooi
  0 siblings, 2 replies; 10+ messages in thread
From: Jader H. Silva @ 2009-03-23 19:10 UTC (permalink / raw)
  To: OpenEmbedded Dev List


[-- Attachment #1.1.1: Type: text/plain, Size: 995 bytes --]

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.

Att.


Jader H. Silva
jader@2mi.com.br
Depto. de desenvolvimento
2MI Tecnologia





   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.

      Att.

   [cid:1237835158.6521.3.camel@northpole] Jader H. Silva
                                           [1]jader@2mi.com.br
                                           Depto. de desenvolvimento
                                           2MI Tecnologia

References

   1. mailto:jader@2mi.com.br

[-- Attachment #1.2: .rodape.png --]
[-- Type: image/png, Size: 7636 bytes --]

[-- Attachment #2: libxml2-native.inc.patch --]
[-- Type: text/x-patch, Size: 366 bytes --]

diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
index b819f95..c9c5092 100644
--- a/recipes/libxml/libxml2-native.inc
+++ b/recipes/libxml/libxml2-native.inc
@@ -14,6 +14,7 @@ EXTRA_OECONF = "\
   --with-catalog \
   --without-docbook \
   --with-c14n \
+  --with-zlib=${STAGING_INCDIR}/zlib.h \ 
 "
 
 do_stage () {


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-04-14 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 19:10 libxml2-native build against host zlib.h Jader H. Silva
2009-03-23 21:00 ` Khem Raj
2009-04-07 16:56 ` Koen Kooi
2009-04-07 17:54   ` Jader H. Silva
2009-04-07 18:33     ` Tom Rini
2009-04-07 19:01       ` Jader H. Silva
2009-04-07 19:56         ` Tom Rini
2009-04-07 21:07           ` Jader H. Silva
2009-04-07 21:30             ` Tom Rini
2009-04-14 20:48               ` Jader H. Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.