From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.rex-schley.de ([217.19.183.93] helo=mail2.eckelmann.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TjSTK-0004Sr-19 for ptxdist@pengutronix.de; Fri, 14 Dec 2012 11:26:26 +0100 Received: from mail2.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 762F71BF8D28_CAFED1B for ; Fri, 14 Dec 2012 10:26:25 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag01.eckelmann.group [192.168.13.8]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail2.eckelmann.de (Sophos Email Appliance) with ESMTPS id 691981BF6064_CAFED1F for ; Fri, 14 Dec 2012 10:26:25 +0000 (GMT) From: "Schenk, Gavin" Date: Fri, 14 Dec 2012 10:26:24 +0000 Message-ID: References: <20121214094312.GD32091@pengutronix.de> <20121214100734.GF32091@pengutronix.de> In-Reply-To: <20121214100734.GF32091@pengutronix.de> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" ./png.h:536:18: fatal error: zlib.h: No such file or directory compilation terminated. Gavin > -----Original Message----- > From: ptxdist-bounces@pengutronix.de [mailto:ptxdist- > bounces@pengutronix.de] On Behalf Of Michael Olbrich > Sent: Friday, December 14, 2012 11:08 AM > To: ptxdist@pengutronix.de > Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, > and new atom toolchain i686-atom-linux > > On Fri, Dec 14, 2012 at 09:48:54AM +0000, Schenk, Gavin wrote: > > i686-atom-linux-gnu-cpp -DPNG_CONFIGURE_LIBPNG -DPNG_BUILDSYMS ./png.h > | \ > > /opt/ptxdist/lib/ptxdist-2012.12.0/bin/sed -n -e \ > > 's|^.*PNG_FUNCTION_EXPORT[ > ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\). > *$|\1|p' \ > > -e 's|^.*PNG_DATA_EXPORT[ > ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\). > *$|\1|p' \ > > >libpng.sym.new > > The libpng.sym is generated here. Please run: > $ ptxdist clean libpng > $ ptxdist -v compile libpng > > Now look at the logfile. There should be a line like this: > > wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG - > DPNG_BUILDSYMS ./png.h > > That's the actual command line that is called. Try to run this manually in > build-target/libpng-1.2.50/: > $ ../../selected_toolchain/i686-atom-linux-gnu-cpp [...] > > Do you get some reasonable output here? > > Michael > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- > ptxdist mailing list > ptxdist@pengutronix.de Eckelmann Aktiengesellschaft Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender) Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert Vorsitzender des Aufsichtsrats: Hubertus G. Krossa Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636 http://www.eckelmann.de -- ptxdist mailing list ptxdist@pengutronix.de