trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2013

Problem with zlib.h while compiling

From: Ismael Farfán <sulfurfff@...>
Date: Thu, 11 Jul 2013 15:30:24 -0500
Hello list

Thanks for zombiefying kde3, I really miss it.

Since I didn't find a recommended compilation order, I began with
dependencies/qt3 where I'm getting the following error:

....... -o .obj/release-shared/qpngio.o kernel/qpngio.cpp
In file included from /usr/include/png.h:534:0,
                 from kernel/qpngio.cpp:48:
/usr/include/zlib.h:86:5: error: ‘z_const’ does not name a type
/usr/include/zlib.h:94:5: error: ‘z_const’ does not name a type
/usr/include/zlib.h:1025:29: error: ‘z_const’ has not been declared
/usr/include/zlib.h:1025:29: error: two or more data types in
declaration of ‘parameter’
/usr/include/zlib.h:1349:32: error: expected initializer before ‘Z_ARG’
/usr/include/zlib.h:1673:5: error: ‘z_off64_t’ does not name a type
/usr/include/zlib.h:1748:15: error: ‘z_crc_t’ does not name a type
/usr/include/zlib.h:1758:44: error: expected initializer before ‘Z_ARG’
make[2]: *** [.obj/release-shared/qpngio.o] Error 1

The most I could find about it was this bug than on one cares about:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707537

I'm using Debian/testing and the precompiled packages for Stable and
kubuntu didn't work because of dependencies and stuff (I only tried a
few though).

Any suggestions?

Regards


--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.