Please look in the archives ( http://lists.kde.org ) In short: it is a mismatch between XWindow's zlib and the other one in your system. Have a nice day/evening/night! On Monday 18 February 2002 21:01, John Gluck wrote: > Hi > > Trying to compile kdebase for 3.0beta2 I get a wierd error... > > kcontrol/kfontinst/kfontinst/Encodings.cpp > > On line 704 I get an error that says: > implicit declaration of int gzgets(...) > > gzgets is declared in /usr/include/zlib.h as follows: > > ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); > (note other declarations of this form don't seem to cause problems) > > I fixed this by doing the following near the top of Encodings.cpp : > > extern "C" { > char* gzgets(gzFile file, char *buf, int len); > } > > The thing I don't understand is why other functions in zlib.h seem to > work OK. > > I'm using gcc 2.95.3 > > Can someone please explain this to me??? I'm perplexed > > TIA > > John > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<