Hi, On Wed, Mar 09, 2011 at 12:54:12PM +0100, Juergen Beisert wrote: > David Lightstone wrote: > > (2) I observe zlib-1.2.5 to be present in directory build-host. Quite > > possibly it is intended as the non-hack solution. (if so, should it be in > > the include path?). It certainly contains zlib.h. Should it be in the > > include file path somewhere? > > Hmm, as the toolchain should run later on on your host, using the local zlib > might not be a good idea. But currently I also do not know, why the zlib is > required.
The situation is a bit complicated. In theory the gcc sources come with a zlib that can be used. Unfortunately for gcc-4.5 using it breaks building with some configure options. It's not easy to fix and upstream is in no hurry. To work around this issue I added the host-zlib package and "--with-system-zlib". The zlib is built statically, so no problems using the toolchain on the host system. I guess detecting this zlib is broken. Can someone send me the relevant sections from the logfile? 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]
