Updating glib from 2.24.2 to 2.26.1_1 fails

Peter Boosten peter at boosten.org
Tue Dec 14 18:51:30 UTC 2010

On 14 dec 2010, at 09:12, Peter Boosten wrote:

Okay, did some source code digging, and I believe the actual error starts here:

> gzlibcompressor.c:68: error: expected specifier-qualifier-list before
> 'gz_header'

which, if I interpret all correctly, means that gz_header is no typedef (or at least, isn't found by the compiler), but this struct actually has been declared in zlib.h, which is in the #include list of gzlibcompressor.c

The config part of the glib port actually verifies whether zlib.h is available or not:

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes

Peter Boosten

More information about the freebsd-questions mailing list