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

Ethereal-dev: [ethereal-dev] Problems with plugins

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxxxxxx>
Date: Fri, 9 Mar 2001 11:15:29 +0100
I am unable to compile version 0.8.16, the compile process aborts at the 2nd
statement after all packet dissectors have been compiled:

mkdir .libs
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
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 "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/lib/glib/include -I/usr/X11R6/include -L/usr/local/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/gryphon.a -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
plugins/mgcp/.libs/mgcp.a -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lz -Wl,--export-dynamic
plugins/mgcp/.libs/mgcp.a(packet-mgcp.o): In function `dissect_mgcp':
/home/olivier/ethereal/ethereal-0.8.16/plugins/mgcp/packet-mgcp.c:197:
multiple definition
of `version'
plugins/gryphon/.libs/gryphon.a(packet-gryphon.o):/home/olivier/ethereal/eth
ereal-0.8.16/plugins/gryphon/packet-gryphon.c:88: first defined here
plugins/mgcp/.libs/mgcp.a(packet-mgcp.o): In function `plugin_reg_handoff':
/home/olivier/ethereal/ethereal-0.8.16/plugins/mgcp/packet-mgcp.c:1276:
multiple definition of `plugin_reg_handoff'
plugins/gryphon/.libs/gryphon.a(packet-gryphon.o):/home/olivier/ethereal/eth
ereal-0.8.16/plugins/gryphon/packet-gryphon.c:1719: first defined here
/usr/bin/ld: Warning: size of symbol `plugin_reg_handoff' changed from 36 to
33 in packet-mgcp.o
plugins/mgcp/.libs/mgcp.a(packet-mgcp.o): In function `plugin_init':
/home/olivier/ethereal/ethereal-0.8.16/plugins/mgcp/packet-mgcp.c:1289:
multiple definition of `plugin_init'
plugins/gryphon/.libs/gryphon.a(packet-gryphon.o):/home/olivier/ethereal/eth
ereal-0.8.16/plugins/gryphon/packet-gryphon.c:1703: first defined here
/usr/bin/ld: Warning: size of symbol `plugin_init' changed from 81 to 24 in
packet-mgcp.o
collect2: ld returned 1 exit status
rm -f .libs/etherealS.o
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/home/olivier/ethereal/ethereal-0.8.16'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/olivier/ethereal/ethereal-0.8.16'
make: *** [all-recursive-am] Error 2

I'm using gcc version 2.95.3 19991030 (prerelease) as it is shipped with my
linux Mandrake 7.2 distribution.
What's wrong?

Regards,

Olivier


Olivier BIOT	  	 
Siemens Atea - Department IC D NC A (WAP)
Adres  : Atealaan 34  B-2200 Herentals
E-mail : olivier.biot[at]siemens.atea.be
Phone : +32 (14) 25 3984