各位大虾,linux 安装glib

gzlibcompressor.c:68: parse error before "gz_header"
gzlibcompressor.c:68: warning: no semicolon at end of struct or union
gzlibcompressor.c:70: parse error before '}' token
gzlibcompressor.c: In function `g_zlib_compressor_set_gzheader':
gzlibcompressor.c:79: dereferencing pointer to incomplete type
gzlibcompressor.c:80: dereferencing pointer to incomplete type
gzlibcompressor.c:83: `gz_header' undeclared (first use in this function)
gzlibcompressor.c:83: (Each undeclared identifier is reported only once
gzlibcompressor.c:83: for each function it appears in.)
gzlibcompressor.c:83: dereferencing pointer to incomplete type
gzlibcompressor.c:83: dereferencing pointer to incomplete type
gzlibcompressor.c:83: dereferencing pointer to incomplete type
gzlibcompressor.c:83: dereferencing pointer to incomplete type
gzlibcompressor.c:84: dereferencing pointer to incomplete type
gzlibcompressor.c:86: dereferencing pointer to incomplete type
gzlibcompressor.c:87: dereferencing pointer to incomplete type
gzlibcompressor.c:88: dereferencing pointer to incomplete type
gzlibcompressor.c:90: dereferencing pointer to incomplete type
gzlibcompressor.c:91: dereferencing pointer to incomplete type
gzlibcompressor.c:94: warning: implicit declaration of function `deflateSetHeader'
gzlibcompressor.c:94: dereferencing pointer to incomplete type
gzlibcompressor.c:94: dereferencing pointer to incomplete type
gzlibcompressor.c:95: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_get_type':
gzlibcompressor.c:101: sizeof applied to an incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_finalize':
gzlibcompressor.c:110: dereferencing pointer to incomplete type
gzlibcompressor.c:112: dereferencing pointer to incomplete type
gzlibcompressor.c:113: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_set_property':
gzlibcompressor.c:132: dereferencing pointer to incomplete type
gzlibcompressor.c:136: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_get_property':
gzlibcompressor.c:163: dereferencing pointer to incomplete type
gzlibcompressor.c:167: dereferencing pointer to incomplete type
gzlibcompressor.c:171: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_constructed':
gzlibcompressor.c:193: dereferencing pointer to incomplete type
gzlibcompressor.c:199: dereferencing pointer to incomplete type
gzlibcompressor.c:199: dereferencing pointer to incomplete type
gzlibcompressor.c:201: dereferencing pointer to incomplete type
gzlibcompressor.c:207: dereferencing pointer to incomplete type
gzlibcompressor.c:207: dereferencing pointer to incomplete type
gzlibcompressor.c:210: dereferencing pointer to incomplete type
gzlibcompressor.c:210: dereferencing pointer to incomplete type
gzlibcompressor.c:216: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_get_file_info':
gzlibcompressor.c:310: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_set_file_info':
gzlibcompressor.c:335: dereferencing pointer to incomplete type
gzlibcompressor.c:338: dereferencing pointer to incomplete type
gzlibcompressor.c:339: dereferencing pointer to incomplete type
gzlibcompressor.c:342: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_reset':
gzlibcompressor.c:354: dereferencing pointer to incomplete type
gzlibcompressor.c:356: dereferencing pointer to incomplete type
gzlibcompressor.c: In function `g_zlib_compressor_convert':
gzlibcompressor.c:379: dereferencing pointer to incomplete type
gzlibcompressor.c:380: dereferencing pointer to incomplete type
gzlibcompressor.c:382: dereferencing pointer to incomplete type
gzlibcompressor.c:383: dereferencing pointer to incomplete type
gzlibcompressor.c:391: dereferencing pointer to incomplete type
gzlibcompressor.c:403: dereferencing pointer to incomplete type
gzlibcompressor.c:422: dereferencing pointer to incomplete type
gzlibcompressor.c:423: dereferencing pointer to incomplete type
make[4]: *** [gzlibcompressor.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


|
一般是直接装,不是编译源代码



    延伸阅读