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