> I'm trying to build freetype 2.1.7 on z/OS through USS (Unix System
> Services).

This is an ooold version.  Please try 2.3.7.

> For the most part it's building but I run into an error with
> zconf.h.  Since it includes unistd.h it has the declaration of
> getopt which conflicts with stdio.h.  If the #include<unistd.h> in
> zconf.h is removed for unistd.h then all is well.  I also determined
> that it had to do due with the -D_ALL_SOURCE flag that was used on
> the xlC compiler.  Is this something that is needed for freetype to
> work successfully?

You might try FreeType's --without-zlib flag of the configure script.


    Werner


_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to