Ethereal-users: Re:[ethereal-users] Solaris 2.6 x86 compile error

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

From: "s. lindell" <slindell@xxxxxx>
Date: Tue, 24 Aug 1999 22:48:33 -0700
>> I got this error message during compilation of ethereal-0.7.2 :
>> 
>> ld: fatal: symbol `yyparse' is multiply defined:
>>         (file dfilter-grammar.o and file


I also received the above compile error on a Solaris 7 5/99 x86 box
after trying to compile ethereal-0.7.2 with libpcap/glib 1.2.4/gtk+1.2.4
that were compiled using gcc-2.8.1 & lex/yacc


>For all people seeing this error, I have just changed ethereal to
>use different symbols from libpcap in its grammar. I've made a tarball
>available at http://www.xiexie.org/ethereal/ethereal-0.7.2a.tar.gz

>Please try it; it should get rid of your compilation problems. If it doesn't
>help, please notify me.


I re-tried with the 0.7.2a source from the above link & this time I
received the following compile error:


gcc  -Wall -g -O2 -Iwiretap -I/usr/openwin/include
-I/usr/local/lib/glib/include -I/usr/local/include  -o ethereal 
capture.o column.o dfilter-grammar.o  dfilter-scanner.o dfilter.o
display.o ethereal.o ethertype.o file.o  filter.o follow.o gtkpacket.o
menu.o packet-aarp.o packet-arp.o  packet-atalk.o packet-bootp.o
packet-cdp.o packet-clip.o packet-data.o  packet-dns.o packet-eth.o
packet-fddi.o packet-ftp.o packet-giop.o  packet-gre.o packet-http.o
packet-icmpv6.o packet-ip.o packet-ipsec.o  packet-ipv6.o packet-ipx.o
packet-isakmp.o packet-lapb.o packet-llc.o  packet-lpd.o packet-nbipx.o
packet-nbns.o packet-ncp.o packet-netbios.o  packet-nntp.o packet-null.o
packet-osi.o packet-ospf.o packet-pop.o  packet-ppp.o packet-pppoe.o
packet-pptp.o packet-radius.o packet-raw.o  packet-rip.o packet-rsvp.o
packet-rtsp.o packet-sdp.o packet-smb.o  packet-tcp.o packet-telnet.o
packet-tftp.o packet-tr.o packet-trmac.o  packet-udp.o packet-vines.o
packet-x25.o packet.o prefs.o print.o  proto.o ps.o resolv.o summary.o
util.o xdlc.o wiretap/libwiretap.a -lpcap 
-R/usr/lib:/usr/local/lib:/usr/openwin/lib:/usr/ccs/lib -L/usr/local/lib
-L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl
-lXext -lX11 -lsocket -lnsl -lm
(cd doc ; \
make ../ethereal.1 )
rm -f ethereal-dump-fields
ln ../ethereal ethereal-dump-fields
./ethereal-dump-fields | ./dfilter2pod ./ethereal.pod.template >
ethereal.pod
./dfilter2pod: syntax error at line 14: `(' unexpected
*** Error code 2
make: Fatal error: Command failed for target `ethereal.pod'

seems like its pretty close to working. any suggestions on what to do to
get this over the hump?

thanks.

steve lindell