From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TjSB4-0003VY-VT for ptxdist@pengutronix.de; Fri, 14 Dec 2012 11:07:34 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TjSB4-0002Za-Ss for ptxdist@pengutronix.de; Fri, 14 Dec 2012 11:07:34 +0100 Date: Fri, 14 Dec 2012 11:07:34 +0100 From: Michael Olbrich Message-ID: <20121214100734.GF32091@pengutronix.de> References: <20121214094312.GD32091@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 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