Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Jader H. Silva" <jader@2mi.com.br>
To: OpenEmbedded Dev List <openembedded-devel@lists.openembedded.org>
Subject: libxml2-native build against host zlib.h
Date: Mon, 23 Mar 2009 16:10:54 -0300	[thread overview]
Message-ID: <1237835454.6521.9.camel@northpole> (raw)


[-- 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 () {


             reply	other threads:[~2009-03-23 19:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23 19:10 Jader H. Silva [this message]
2009-03-23 21:00 ` libxml2-native build against host zlib.h 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1237835454.6521.9.camel@northpole \
    --to=jader@2mi.com.br \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox