Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Help needed for ethereal on Mac OS X

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gilbert Ramirez" <gram@xxxxxxxxxx>
Date: Tue, 6 Mar 2001 07:09:45 -0600
Libtool has decided, for some reason, that your OS cannot handle shared
libraries, so it wants
to statically link the 2 plugins (MGCP and gryphon) into the ethereal
executable. They cannot
be linked in like that, so you get the error. See if anyone else is
successfully using libtool on MacOS X.

--gilbert

----- Original Message -----
From: "Michael Tuexen" <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
To: <ethereal-dev@xxxxxxxxxxxx>
Cc: <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 06, 2001 6:45 AM
Subject: [Ethereal-dev] Help needed for ethereal on Mac OS X


Dear all,
I'm using MacOS X with the XServer from Tenon. Using
env CFLAGS=-traditional-cpp ./configure
I can compile the sources. But after that I get the following error:

...
extracting global C symbols from `register.o'
extracting global C symbols from `util.o'
extracting global C symbols from `xdlc.o'
extracting global C symbols from `capture.o'
extracting global C symbols from `file.o'
extracting global C symbols from `filters.o'
extracting global C symbols from `summary.o'
extracting global C symbols from `wiretap/libwiretap.a'
extracting global C symbols from `gtk/libui.a'
/usr/bin/nm: no name list
extracting global C symbols from `epan/libethereal.a'
/usr/bin/nm: no name list
extracting global C symbols from `epan/ftypes/libftypes.a'
extracting global C symbols from `epan/dfilter/libdfilter.a'
extracting global C symbols from `plugins/gryphon/.libs/libgryphon.a'
extracting global C symbols from `plugins/mgcp/.libs/libmgcp.a'
(cd .libs && cc -c -fno-builtin -fno-rtti -fno-exceptions "etherealS.c")
~/Documents/ethereal/.libs
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS
.libs/ethereal.nmT
cc -Wall -traditional-cpp -I. -I./wiretap -I./epan -I/usr/local/include -I/u
sr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include -L/usr/l
ocal/lib -o ethereal packet-aarp.o packet-afs.o packet-aim.o packet-arp.o
packet-ascend.o packet-atalk.o packet-atm.o packet-auto_rp.o packet-bgp.o
packet-bootp.o packet-bootparams.o packet-bpdu.o packet-bxxp.o packet-cdp.o
packet-cgmp.o packet-clip.o packet-clnp.o packet-cops.o packet-data.o
packet-ddtp.o packet-dec-bpdu.o packet-diameter.o packet-dns.o
packet-eigrp.o packet-esis.o packet-eth.o packet-ethertype.o packet-fddi.o
packet-fr.o packet-frame.o packet-ftp.o packet-giop.o packet-gre.o
packet-gvrp.o packet-h1.o packet-h261.o packet-hclnfsd.o packet-hsrp.o
packet-http.o packet-icmpv6.o packet-icp.o packet-icq.o packet-igrp.o
packet-imap.o packet-ip.o packet-ipp.o packet-ipsec.o packet-ipv6.o
packet-ipx.o packet-irc.o packet-ieee80211.o packet-ieee8023.o
packet-isakmp.o packet-isis.o packet-isis-clv.o packet-isis-hello.o
packet-isis-lsp.o packet-isis-snp.o packet-isl.o packet-iua.o
packet-kerberos.o packet-l2tp.o packet-lapb.o packet-lapbether.o
packet-lapd.o packet-ldap.o packet-ldp.o packet-llc.o packet-lpd.o
packet-m3ua.o packet-mapi.o packet-mip.o packet-mount.o packet-mpls.o
packet-msproxy.o packet-nbipx.o packet-nbns.o packet-ncp.o packet-ncp2222.o
packet-netbios.o packet-nfs.o packet-nlm.o packet-nntp.o packet-ntp.o
packet-null.o packet-osi.o packet-osi-options.o packet-ospf.o packet-pim.o
packet-pop.o packet-portmap.o packet-ppp.o packet-pppoe.o packet-pptp.o
packet-q2931.o packet-q931.o packet-quake.o packet-radius.o packet-raw.o
packet-rip.o packet-ripng.o packet-rlogin.o packet-rpc.o packet-rquota.o
packet-rsh.o packet-rsvp.o packet-rtcp.o packet-rtp.o packet-rtsp.o
packet-rx.o packet-sap.o packet-sctp.o packet-sdp.o packet-sip.o
packet-sll.o packet-smb.o packet-smb-browse.o packet-smb-common.o
packet-smb-logon.o packet-smb-mailslot.o packet-smb-pipe.o packet-smtp.o
packet-sna.o packet-snmp.o packet-socks.o packet-srvloc.o packet-sscop.o
packet-stat.o packet-sual.o packet-syslog.o packet-tacacs.o packet-tcp.o
packet-telnet.o packet-tftp.o packet-time.o packet-tns.o packet-tpkt.o
packet-tr.o packet-trmac.o packet-udp.o packet-v120.o packet-vines.o
packet-vlan.o packet-vrrp.o packet-vtp.o packet-wccp.o packet-who.o
packet-wap.o packet-wtls.o packet-wsp.o packet-wtp.o packet-x11.o
packet-x25.o packet-xot.o packet-yhoo.o packet-ypbind.o packet-ypserv.o
packet-ypxfr.o packet-zebra.o asn1.o column.o follow.o in_cksum.o ipproto.o
prefs.o print.o ps.o ptvcursor.o register.o util.o xdlc.o capture.o file.o
filters.o summary.o wiretap/libwiretap.a gtk/libui.a epan/libethereal.a
epan/ftypes/libftypes.a epan/dfilter/libdfilter.a .libs/etherealS.o
plugins/gryphon/.libs/libgryphon.a -lpcap -L/usr/local/lib -L/usr/X11R6/lib 
-lgtk -lgdk -bexpall -lgmodule -lglib -lXext -lX11
plugins/mgcp/.libs/libmgcp.a -lpcap -L/usr/local/lib -L/usr/X11R6/lib -lgtk 
-lgdk -bexpall -lgmodule -lglib -lXext -lX11 -lz
/usr/bin/ld: multiple definitions of symbol _plugin_init
plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of
_plugin_init in section (__TEXT,__text)
plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of _plugin_init in
section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _plugin_reg_handoff
plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of
_plugin_reg_handoff in section (__TEXT,__text)
plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of
_plugin_reg_handoff in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _version
plugins/gryphon/.libs/libgryphon.a(packet-gryphon.o) definition of _version
in section (__TEXT,__const)
plugins/mgcp/.libs/libmgcp.a(packet-mgcp.o) definition of _version in
section (__TEXT,__const)
rm -f .libs/etherealS.o
make[2]: *** [ethereal] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

..
Any hints how to proceed?

Best regards

Michael
--
Michael.Tuexen@xxxxxxxxxxxxxxxxx