From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [208.51.207.131] (helo=mail.2mi.com.br) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1LjdyE-0000rS-Gd for openembedded-devel@lists.openembedded.org; Tue, 17 Mar 2009 19:25:06 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.2mi.com.br (Postfix) with ESMTP id 0D0B55027626 for ; Tue, 17 Mar 2009 15:29:24 -0300 (BRT) X-Virus-Scanned: amavisd-new at 2mi.com.br Received: from mail.2mi.com.br ([127.0.0.1]) by localhost (mail.2mi.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WFeccX2xXW9D for ; Tue, 17 Mar 2009 15:29:19 -0300 (BRT) Received: from [192.168.15.103] (unknown [189.102.205.109]) by mail.2mi.com.br (Postfix) with ESMTP id 89F86502762D for ; Tue, 17 Mar 2009 15:29:17 -0300 (BRT) From: "Jader H. Silva" To: OpenEmbedded Dev List Organization: 2MI Tecnologia Date: Tue, 17 Mar 2009 15:24:00 -0300 Message-Id: <1237314240.6587.84.camel@northpole> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 X-SA-Exim-Connect-IP: 208.51.207.131 X-SA-Exim-Mail-From: jader@2mi.com.br X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on serenity X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_40,RDNS_NONE, SPF_HELO_PASS autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: libxml2-native including system zlib X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 18:25:07 -0000 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello again. I'm trying to build an i586 x11-image, but I cannot pass libxml2-native do_compile task, it seems it includes the host libz.h. Error: | i686-linux-libtool: link: ccache gcc -isystem/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/include -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wl,-rpath-link -Wl,/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/lib -Wl,-rpath -Wl,/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/lib -Wl,-O1 -o .libs/xmllint xmllint.o -L/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/lib ./.libs/libxml2.so -ldl /home/jader/oe/build/conf/tmp/staging/i686-linux/usr/lib/libz.so -lm -Wl,-rpath -Wl,/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/lib | | ./.libs/libxml2.so: undefined reference to `gzopen64' | collect2: ld returned 1 exit status | make[2]: *** [xmllint] Error 1 | make[2]: *** Waiting for unfinished jobs.... | mv -f .deps/testapi.Tpo .deps/testapi.Po | make[2]: Leaving directory `/home/jader/oe/build/conf/tmp/work/i686-linux/libxml2-native-2.7.2-r0/libxml2-2.7.2' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/jader/oe/build/conf/tmp/work/i686-linux/libxml2-native-2.7.2-r0/libxml2-2.7.2' | make: *** [all] Error 2 | FATAL: oe_runmake failed Found gzopen in libxmlIO.c. gzopen is defined as gzopen64 in /usr/include/zlib.h, also, if i run make CFLAGS+=--verbose, I get (stripped): ccache gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -isystem/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/include -isystem/home/j ader/oe/build/conf/tmp/staging/i686-linux/usr/include -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wc har-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototype s -Wnested-externs -Winline -Wredundant-decls -MT xmlIO.o -MD -MP -MF .deps/xmlIO.Tpo -c -o xmlIO.o xmlIO.c [...] gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3) /usr/lib/gcc/i486-linux-gnu/4.2.4/cc1 -E -quiet -v -I. -I./include -I./include -MD xmlIO.d -MF .deps/xmlIO.Tpo -MP -MT xmlIO.o -isystem /usr/include -DHAVE_CONFIG_H -D_REENTRANT -isystem/home/jader/oe/build/conf/tmp/staging/i686-linux/usr/include xmlIO.c -mtune=generic [...] #include "..." search starts here: #include <...> search starts here: . ./include /usr/include /home/jader/oe/build/conf/tmp/staging/i686-linux/usr/include /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.2.4/include End of search list. Reading specs from /usr/lib/gcc/i486-linux-gnu/4.2.4/specs Target: i486-linux-gnu -isystem /usr/include is set on cc1, so it invalidate include path /home/jader/oe/build/conf/tmp/staging/i686-linux/usr/include (where zlib.h is). Is it correct for Makefile to use my system GCC ? Can anybody help me to compile it correctly? Thanks in advance Jader H. Silva jader@2mi.com.br Depto. de desenvolvimento 2MI Tecnologia