[blfs-support] PNGNQ Build Fails

William Harrington kb0iic at berzerkula.org
Fri Dec 27 13:34:21 PST 2013


On Dec 27, 2013, at 3:16 PM, Dan McGhee wrote:

>> rwpng.c:310:40: error: 'Z_BEST_COMPRESSION' undeclared (first use in
>> this function)
>>     png_set_compression_level(png_ptr, Z_BEST_COMPRESSION);
>>                                        ^
>> make[2]: *** [rwpng.o] Error 1
>
> because
>
>> rwpng.c: In function 'rwpng_version_info':
>> rwpng.c:52:7: error: 'ZLIB_VERSION' undeclared (first use in this
>> function)
>>       ZLIB_VERSION, zlib_version);

Those are all declared in /usr/include/zlib.h

Perhaps zlib.h isn't being included in rwpng.c

Sincerely,

William Harrington



More information about the blfs-support mailing list