On Mit, 10. Jan 2001, Luna Chen <lunachen@xxxxxxxxxxxxxxxxxx> wrote:
>Hi,
>
>I keep getting the following errors when trying to install ethereal on
>HP-UX10, using gcc or HP C compiler, when I do "make". Any ideas?
>
>
>
>.....
>extracting global C symbols from `gtk/libui.a'
>extracting global C symbols from `epan/libethereal.a'
>extracting global C symbols from `plugins/gryphon/.libs/gryphon.a'
>extracting global C symbols from `plugins/mgcp/.libs/mgcp.a'
>(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions -fPIC -DPIC
>"etherealS.c")
>rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS
>.libs/ethereal.nmT
>gcc -Wall -g -O2 -I. -I./wiretap -I./epan -I/usr/local/include
>-I/usr/local/lib/glib/include -I/usr/local/include
>-I/usr/local/include/X11R6 -L/usr/local/lib -o ethereal packet-aarp.o
>packet-afs.o packet-aim.o packet-arp.o packet-ascend.o
>
>.....
>
>capture.o file.o summary.o wiretap/libwiretap.a gtk/libui.a
>epan/libethereal.a -lsnmp .libs/etherealS.o
>plugins/gryphon/.libs/gryphon.a -lpcap -L/usr/local/lib -L/usr/lib/X11R4
>-lgtk -lgdk -Wl,-E -lgmodule -lglib -ldld -lXext -lX11 -lm
>plugins/mgcp/.libs/mgcp.a -lpcap -L/usr/local/lib -L/usr/lib/X11R4 -lgtk
>-lgdk -Wl,-E -lgmodule -lglib -ldld -lXext -lX11 -lm -Wl,-E
>collect2: ld returned 1 exit status
>/usr/ccs/bin/ld: Duplicate symbol "plugin_init" in files
>plugins/gryphon/.libs/gryphon.a(packet-gryphon.o) and
>plugins/mgcp/.libs/mgcp.a(packet-mgcp.o)
>/usr/ccs/bin/ld: Duplicate symbol "plugin_reg_handoff" in files
>plugins/gryphon/.libs/gryphon.a(packet-gryphon.o) and
>plugins/mgcp/.libs/mgcp.a(packet-mgcp.o)
>/usr/ccs/bin/ld: Duplicate symbol "version" in files
>plugins/gryphon/.libs/gryphon.a(packet-gryphon.o) and
>plugins/mgcp/.libs/mgcp.a(packet-mgcp.o)
>/usr/ccs/bin/ld: Found 3 duplicate symbol(s)
>rm -f .libs/etherealS.o
>make[2]: *** [ethereal] Error 1
>
>
>
>-- Luna Chen
>
>
>
Dear,
the same problem occurs when compiling ethereal on a Mac OS X system.
Best regards
Michael
--
e-mail: Michael.Tuexen@xxxxxxxxxxxxxxxxx