Hi, I am a bit short in time today.... I do not find a line like: wrapper: i686-atom-linux-gnu-cpp [...] -DPNG_CONFIGURE_LIBPNG -DPNG_BUILDSYMS ./png.h Attached the complete log from ptxdist -v compile libpng. The compilestage succeeds, if I disable ccache. Please try if you can reproduce the error when ccache is activated. Regards, Gavin > -----Original Message----- > From: ptxdist-bounces@pengutronix.de [mailto:ptxdist- > bounces@pengutronix.de] On Behalf Of Michael Olbrich > Sent: Friday, December 14, 2012 11:33 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 10:26:24AM +0000, Schenk, Gavin wrote: > > ./png.h:536:18: fatal error: zlib.h: No such file or directory > > compilation terminated. > > What's the complete commandline? The wrapper should add > "-isystem [...]/sysroot-target/usr/include". There should be a zlib.h > there. > > 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