Re: [Tuxnes-devel] Compile Failure
Brought to you by:
tmmm
From: Torsten H. <to...@in...> - 2002-07-31 03:59:58
|
On Tue, 30 Jul 2002 21:16:39 -0600 (MDT) Mike Melanson <mel...@pc...> wrote: > On Tue, 30 Jul 2002, Torsten Howard wrote: > > > I have version zlib-1.1.4. You mention gzip, I have gzip 1.2.4. > > > > Both are latest, except that gzip has a patch for a buffer overflow I > > haven't installed (I don't run an ftp server). > > I don't doubt that you have the latest zlib version installed. But > as my last email mentioned, is it the only zlib version installed on your > system? Run 'locate zlib.h' and 'locate libz.a' on your system to make > sure you don't have any extra versions floating around. This stings a lot > of users (including me). > > The first error from your email indicated that the compiler could > not find the symbol ZEXPORT which is defined in zconf.h which is included > by zlib.h. Just curious, what version of gcc are you using? > Ok, so I like to think my self half-way intelligent. I've been using Linux about five years now, I hand-compile my distribution following the linuxfromscratch website, and I'm generally keen on most things. But I have two versions of zlib. Apparently, there is one included in in the development files for X. Note that /usr/local/include/zlib.h is a symlink to /usr/local/src/zlib/include/zlib.h --------------------------------- ~--$locate zlib.h /usr/include/bzlib.h /usr/local/include/zlib.h /usr/local/src/zlib-1.1.4/include/zlib.h /usr/src/linux-2.4.18/arch/ppc/boot/include/zlib.h /usr/src/linux-2.4.18/drivers/net/zlib.h /usr/src/linux-2.4.18/fs/jffs2/zlib.h /usr/X11R6/include/X11/extensions/lbxzlib.h /usr/X11R6/include/zlib.h ~--$locate zconf.h /usr/local/include/zconf.h /usr/local/src/zlib-1.1.4/include/zconf.h /usr/src/linux-2.4.18/fs/inflate_fs/zconf.h /usr/X11R6/include/zconf.h ~--$gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) ~--$ --------------------------------- So, now I feel the idiot. Hehe. It's good for me. The X version of zlib only has the static version of the zlib library. gcc is v 2.95.3, known stable (last I heard). tuxnes compiles. Your help is very much appreciated, Mike. Torsten |