Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Jader H. Silva" <jader@2mi.com.br>
To: openembedded-devel@lists.openembedded.org
Subject: Re: libxml2-native build against host zlib.h
Date: Tue, 07 Apr 2009 14:54:35 -0300	[thread overview]
Message-ID: <49DB935B.3000907@2mi.com.br> (raw)
In-Reply-To: <grg0jf$sem$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

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.

Att.


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




[-- Attachment #2: 0001-Fix-libxml-compilation-using-host-zlib.h.patch --]
[-- Type: text/x-patch, Size: 1030 bytes --]

From 8c3c85c6c4d454036342880a7c5ec11b606a57db Mon Sep 17 00:00:00 2001
From: Jader H. Silva <jader@2mi.com.br>
Date: Tue, 7 Apr 2009 14:50:22 -0300
Subject: [PATCH] Fix libxml compilation using host zlib.h

---
 recipes/libxml/libxml2-native.inc      |    1 +
 recipes/libxml/libxml2-native_2.7.2.bb |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
index 3f67152..89516af 100644
--- a/recipes/libxml/libxml2-native.inc
+++ b/recipes/libxml/libxml2-native.inc
@@ -15,6 +15,7 @@ do_configure_prepend () {
 	--with-catalog \
 	--without-docbook \
 	--with-c14n \
+	--with-zlib=${STAGING_INCDIR}/zlib.h \
 	"
 }
 
diff --git a/recipes/libxml/libxml2-native_2.7.2.bb b/recipes/libxml/libxml2-native_2.7.2.bb
index 24261d6..f82c4e0 100644
--- a/recipes/libxml/libxml2-native_2.7.2.bb
+++ b/recipes/libxml/libxml2-native_2.7.2.bb
@@ -1,2 +1,2 @@
 require libxml2-native.inc
-PR = "r2"
+PR = "r3"
-- 
1.5.6.3


  reply	other threads:[~2009-04-07 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=49DB935B.3000907@2mi.com.br \
    --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