./png.h:536:18: fatal error: zlib.h: No such file or directory
compilation terminated.

Gavin

> -----Original Message-----
> From: [email protected] [mailto:ptxdist-
> [email protected]] On Behalf Of Michael Olbrich
> Sent: Friday, December 14, 2012 11:08 AM
> To: [email protected]
> 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
> [email protected]
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
[email protected]

Reply via email to