On Mon, 2 Dec 2002 15:58:40 -0800
Guy Harris <guy@xxxxxxxxxx> wrote:
<snip>
> The configure script should be checking whether
> the zlib with which Ethereal would be linked - which is *not*
> necessarily the one with which Tethereal would be linked,
> thanks to X11 possibly having a crappy old version - has
> "gzgets()"; the script would check "for gzgets missing when
> linking with X11", and report "old zlib found when linking with
> X11 - get rid of old zlib." if it finds the crappy old zlib.
>
> Did that not happen when you ran the configure script before
> you got rid of the crappy old zlib? If not, what happens if
> you put back the crappy old zlib, do a "make distclean" in the
> top-level Ethereal source directory, and run the configure
> script?_______________________________________________
To be quite certain that I did not screw up, I deleted my
existing 0.9.7 tree and untarred the sources afresh from the
tarball I had d/ld on 14th November. I then re-applied the
main.c patch.
Running configure without any options completes as follows :
The Ethereal package has been configured with the following
options.
Build ethereal : yes
Build tethereal : yes
Build editcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2eth : yes
Build randpkt : no
Build dftest : no
Install setuid : no
Use plugins : yes
Use GTK+ v2 library : no
Use pcap library : yes
Use zlib library : no
Use IPv6 name resolution : yes
Use UCD SNMP library : no
I am attaching the config.log.
Compilation ends with screenfulls of similar errors, the last
lines of which are :
/usr/src/ethereal-0.9.7/wiretap/wtap.c:218: undefined reference
to `zError'
wiretap/libwiretap.a(wtap.o): In function
`wtap_sequential_close':
/usr/src/ethereal-0.9.7/wiretap/wtap.c:250: undefined reference
to `gzclose'
wiretap/libwiretap.a(wtap.o): In function `wtap_close':
/usr/src/ethereal-0.9.7/wiretap/wtap.c:270: undefined reference
to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/usr/src/ethereal-0.9.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ethereal-0.9.7'
make: *** [all] Error 2
The only thing that has changed on my system since 14th November
is the upgrade to kerenel 2.4.20.
I had not yet got around to recompiling X - mainly because
#define HasZlib was already set to YES, and the only zlib that
has ever been on this box at all is 1.1.4. I was leaving that
little puzzle until I had time to go into it properly.
Let me know if there is anything else you want me to try.
Geoff
Attachment:
config.log
Description: Binary data