Bug 2116 - Missing zlib.h
Summary: Missing zlib.h
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 09:23 UTC by Christoph Seitz
Modified: 2004-12-19 14:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christoph Seitz 2004-12-20 09:23:30 UTC
Dear X.Org - Team,
while I compile my X.org, I get this errors:

In file included from lbx_zlib.c:67:
lbx_zlib.h:55:18: zlib.h: No such file or directory
In file included from lbx_zlib.c:67:
lbx_zlib.h:59: error: parse error before "z_stream"
lbx_zlib.h:59: warning: no semicolon at end of struct or union
lbx_zlib.h:81: error: parse error before '}' token
lbx_zlib.h:81: warning: ISO C does not allow extra `;' outside of a function
lbx_zlib.c:83: error: field `compress_state' has incomplete type
lbx_zlib.c:84: error: field `decompress_state' has incomplete type
lbx_zlib.c: In function `init_compress':
lbx_zlib.c:97: error: dereferencing pointer to incomplete type
lbx_zlib.c:99: error: dereferencing pointer to incomplete type
lbx_zlib.c:100: error: dereferencing pointer to incomplete type
lbx_zlib.c:101: error: dereferencing pointer to incomplete type
lbx_zlib.c:101: error: dereferencing pointer to incomplete type
lbx_zlib.c:102: error: dereferencing pointer to incomplete type
lbx_zlib.c:104: error: dereferencing pointer to incomplete type
lbx_zlib.c:104: error: `alloc_func' undeclared (first use in this function)
lbx_zlib.c:104: error: (Each undeclared identifier is reported only once
lbx_zlib.c:104: error: for each function it appears in.)
lbx_zlib.c:104: error: parse error before numeric constant
lbx_zlib.c:105: error: dereferencing pointer to incomplete type
lbx_zlib.c:105: error: `free_func' undeclared (first use in this function)
lbx_zlib.c:105: error: parse error before numeric constant
lbx_zlib.c:106: error: dereferencing pointer to incomplete type
lbx_zlib.c:107: error: dereferencing pointer to incomplete type
lbx_zlib.c:108: error: dereferencing pointer to incomplete type
lbx_zlib.c:108: error: dereferencing pointer to incomplete type
lbx_zlib.c:110: error: dereferencing pointer to incomplete type
lbx_zlib.c:110: warning: implicit declaration of function `deflateInit'
lbx_zlib.c:110: error: dereferencing pointer to incomplete type
lbx_zlib.c:112: error: dereferencing pointer to incomplete type
lbx_zlib.c:112: error: dereferencing pointer to incomplete type
lbx_zlib.c:112: error: `Z_OK' undeclared (first use in this function)
lbx_zlib.c: In function `init_decompress':
lbx_zlib.c:118: error: dereferencing pointer to incomplete type
lbx_zlib.c:120: error: dereferencing pointer to incomplete type
lbx_zlib.c:121: error: dereferencing pointer to incomplete type
lbx_zlib.c:122: error: dereferencing pointer to incomplete type
lbx_zlib.c:122: error: dereferencing pointer to incomplete type
lbx_zlib.c:123: error: dereferencing pointer to incomplete type
lbx_zlib.c:125: error: dereferencing pointer to incomplete type
lbx_zlib.c:125: error: `alloc_func' undeclared (first use in this function)
lbx_zlib.c:125: error: parse error before numeric constant
lbx_zlib.c:126: error: dereferencing pointer to incomplete type
lbx_zlib.c:126: error: `free_func' undeclared (first use in this function)
lbx_zlib.c:126: error: parse error before numeric constant
lbx_zlib.c:127: error: dereferencing pointer to incomplete type
lbx_zlib.c:128: error: dereferencing pointer to incomplete type
lbx_zlib.c:129: error: dereferencing pointer to incomplete type
lbx_zlib.c:129: error: dereferencing pointer to incomplete type
lbx_zlib.c:131: error: dereferencing pointer to incomplete type
lbx_zlib.c:133: error: dereferencing pointer to incomplete type
lbx_zlib.c:133: warning: implicit declaration of function `inflateInit'
lbx_zlib.c:133: error: dereferencing pointer to incomplete type
lbx_zlib.c:142: error: dereferencing pointer to incomplete type
lbx_zlib.c:142: error: dereferencing pointer to incomplete type
lbx_zlib.c:142: error: `Z_OK' undeclared (first use in this function)
lbx_zlib.c: In function `do_compress':
lbx_zlib.c:151: error: dereferencing pointer to incomplete type
lbx_zlib.c:151: error: dereferencing pointer to incomplete type
lbx_zlib.c:152: error: dereferencing pointer to incomplete type
lbx_zlib.c:152: error: dereferencing pointer to incomplete type
lbx_zlib.c:152: error: dereferencing pointer to incomplete type
lbx_zlib.c:154: error: dereferencing pointer to incomplete type
lbx_zlib.c:154: error: dereferencing pointer to incomplete type
lbx_zlib.c:155: error: dereferencing pointer to incomplete type
lbx_zlib.c:155: error: dereferencing pointer to incomplete type
lbx_zlib.c:155: error: dereferencing pointer to incomplete type
lbx_zlib.c:157: error: dereferencing pointer to incomplete type
lbx_zlib.c:157: warning: implicit declaration of function `deflate'
lbx_zlib.c:157: error: dereferencing pointer to incomplete type
lbx_zlib.c:159: error: dereferencing pointer to incomplete type
lbx_zlib.c:159: error: dereferencing pointer to incomplete type
lbx_zlib.c:160: error: dereferencing pointer to incomplete type
lbx_zlib.c:160: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `do_decompress':
lbx_zlib.c:168: error: dereferencing pointer to incomplete type
lbx_zlib.c:168: error: dereferencing pointer to incomplete type
lbx_zlib.c:169: error: dereferencing pointer to incomplete type
lbx_zlib.c:169: error: dereferencing pointer to incomplete type
lbx_zlib.c:169: error: dereferencing pointer to incomplete type
lbx_zlib.c:171: error: dereferencing pointer to incomplete type
lbx_zlib.c:171: error: dereferencing pointer to incomplete type
lbx_zlib.c:172: error: dereferencing pointer to incomplete type
lbx_zlib.c:172: error: dereferencing pointer to incomplete type
lbx_zlib.c:172: error: dereferencing pointer to incomplete type
lbx_zlib.c:174: error: dereferencing pointer to incomplete type
lbx_zlib.c:174: warning: implicit declaration of function `inflate'
lbx_zlib.c:174: error: dereferencing pointer to incomplete type
lbx_zlib.c:174: error: `Z_PARTIAL_FLUSH' undeclared (first use in this function)
lbx_zlib.c:176: error: dereferencing pointer to incomplete type
lbx_zlib.c:176: error: dereferencing pointer to incomplete type
lbx_zlib.c:178: error: dereferencing pointer to incomplete type
lbx_zlib.c:178: error: dereferencing pointer to incomplete type
lbx_zlib.c:179: error: dereferencing pointer to incomplete type
lbx_zlib.c:179: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `GetNewPacket':
lbx_zlib.c:189: error: dereferencing pointer to incomplete type
lbx_zlib.c:191: error: dereferencing pointer to incomplete type
lbx_zlib.c:191: error: dereferencing pointer to incomplete type
lbx_zlib.c:192: error: dereferencing pointer to incomplete type
lbx_zlib.c:198: error: dereferencing pointer to incomplete type
lbx_zlib.c:200: error: dereferencing pointer to incomplete type
lbx_zlib.c:200: error: dereferencing pointer to incomplete type
lbx_zlib.c:204: error: dereferencing pointer to incomplete type
lbx_zlib.c:205: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `NewPacketAvail':
lbx_zlib.c:219: error: dereferencing pointer to incomplete type
lbx_zlib.c:221: error: dereferencing pointer to incomplete type
lbx_zlib.c:221: error: dereferencing pointer to incomplete type
lbx_zlib.c:222: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `ZlibFree':
lbx_zlib.c:334: warning: implicit declaration of function `deflateEnd'
lbx_zlib.c:336: warning: implicit declaration of function `inflateEnd'
lbx_zlib.c: In function `ZlibFlush':
lbx_zlib.c:347: error: dereferencing pointer to incomplete type
lbx_zlib.c:349: error: `Z_PARTIAL_FLUSH' undeclared (first use in this function)
lbx_zlib.c:350: error: dereferencing pointer to incomplete type
lbx_zlib.c:350: error: dereferencing pointer to incomplete type
lbx_zlib.c:351: error: dereferencing pointer to incomplete type
lbx_zlib.c:351: error: dereferencing pointer to incomplete type
lbx_zlib.c:355: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `ZlibWrite':
lbx_zlib.c:426: error: dereferencing pointer to incomplete type
lbx_zlib.c:427: error: dereferencing pointer to incomplete type
lbx_zlib.c:429: error: dereferencing pointer to incomplete type
lbx_zlib.c:433: error: dereferencing pointer to incomplete type
lbx_zlib.c:433: error: dereferencing pointer to incomplete type
lbx_zlib.c:434: error: dereferencing pointer to incomplete type
lbx_zlib.c:434: error: dereferencing pointer to incomplete type
lbx_zlib.c:437: error: dereferencing pointer to incomplete type
lbx_zlib.c:437: error: dereferencing pointer to incomplete type
lbx_zlib.c:440: error: dereferencing pointer to incomplete type
lbx_zlib.c:441: error: dereferencing pointer to incomplete type
lbx_zlib.c:442: error: `Z_NO_FLUSH' undeclared (first use in this function)
lbx_zlib.c:446: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `ZlibRead':
lbx_zlib.c:475: error: dereferencing pointer to incomplete type
lbx_zlib.c:477: error: dereferencing pointer to incomplete type
lbx_zlib.c:478: error: dereferencing pointer to incomplete type
lbx_zlib.c:482: error: dereferencing pointer to incomplete type
lbx_zlib.c:483: error: dereferencing pointer to incomplete type
lbx_zlib.c:491: error: dereferencing pointer to incomplete type
lbx_zlib.c:492: error: dereferencing pointer to incomplete type
lbx_zlib.c:493: error: dereferencing pointer to incomplete type
lbx_zlib.c:493: error: dereferencing pointer to incomplete type
lbx_zlib.c:494: error: dereferencing pointer to incomplete type
lbx_zlib.c:494: error: dereferencing pointer to incomplete type
lbx_zlib.c:497: error: dereferencing pointer to incomplete type
lbx_zlib.c:497: error: dereferencing pointer to incomplete type
lbx_zlib.c:498: error: dereferencing pointer to incomplete type
lbx_zlib.c:498: error: dereferencing pointer to incomplete type
lbx_zlib.c:499: error: dereferencing pointer to incomplete type
lbx_zlib.c:508: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:517: error: dereferencing pointer to incomplete type
lbx_zlib.c:519: error: dereferencing pointer to incomplete type
lbx_zlib.c:519: error: dereferencing pointer to incomplete type
lbx_zlib.c:520: error: dereferencing pointer to incomplete type
lbx_zlib.c:521: error: dereferencing pointer to incomplete type
lbx_zlib.c:525: error: dereferencing pointer to incomplete type
lbx_zlib.c: In function `ZlibInputAvail':
lbx_zlib.c:540: error: dereferencing pointer to incomplete type
lbx_zlib.c:541: error: dereferencing pointer to incomplete type
lbx_zlib.c:541: error: dereferencing pointer to incomplete type
make[5]: *** [lbx_zlib.o] Error 1
make[5]: Leaving directory `/data/down/xc/lib/lbxutil/lbx_zlib'
make[4]: *** [lbx_zlib] Error 2
make[4]: Leaving directory `/data/down/xc/lib/lbxutil'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/data/down/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/down/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/data/down/xc'
make: *** [World] Error 2

I have only downloaded it on your page, extract it, and run "make World".
Comment 1 Alexander Gottwald 2004-12-20 09:34:42 UTC
You don't have zlib headers and libraries (debian package zlib1g-dev) installed.

Check the BUILD file for other required packages.
Comment 2 Christoph Seitz 2004-12-20 09:41:25 UTC
(In reply to comment #1)
> You don't have zlib headers and libraries (debian package zlib1g-dev) installed.
> 
> Check the BUILD file for other required packages.

thanks now it works


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.