On Mon, Feb 07, 2000 at 12:55:44PM -0600, Dan Warburton wrote:
>
>
> I installed the 8.3 sources and tryed to compile. I think I've got a
> link problem...
>
>
> s.o print.o proto.o ps.o register.o resolv.o util.o xdlc.o capture.o
> colors.o file.o summary.o inet_pton.o wiretap/libwiretap.a gtk/libui.a
> .libs/etherealS.o -lpcap -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
> -
> lgmodule -lglib -ldl -lXext -lX11 -lm -lz -Wl,--export-dynamic
> wiretap/libwiretap.a(file.o)(t+0x4): undefined reference to
> `lanalyzer_open'
> collect2: ld returned 1 exit status
Interesting. You seem to be missing part of the lanalyzer code in wiretap.
Can you post the output of:
ar tf wiretap/libwiretap.a
I get:
$ ar tf wiretap/libwiretap.a
ascend-grammar.o
ascend-scanner.o
ascend.o
buffer.o
file.o
file_wrappers.o
i4btrace.o
iptrace.o
lanalyzer.o
libpcap.o
netmon.o
nettl.o
netxray.o
ngsniffer.o
radcom.o
snoop.o
toshiba.o
wtap.o
If you don't have lanalyzer.o in there, remove 'ethereal' and 'wiretap/libwiretap.a',
and try to rebuild, watching for any errors.
If you do have lanalzyer.o in there, please post the output of 'nm wiretap/lanalyzer.o'.
I get:
$ nm wiretap/lanalyzer.o
0000063a t Letext
U __errno_location
U buffer_assure_space
U file_error
U file_seek
U g_free
U g_log
U g_malloc
U gzread
00000000 T lanalyzer_open
000003b8 t lanalyzer_read
U mktime
--gilbert