netdev
[Top] [All Lists]

tcpdump on Solaris 2.6

To: netdev@xxxxxxxxxxx, netdevx@xxxxxxxxxxxxxxx, netdevx@xxxxxxxxxxxxxxxxxxx
Subject: tcpdump on Solaris 2.6
From: Chanaka Mendis <chanakam@xxxxxxxxxxxxxxxx>
Date: Fri, 07 Jul 2000 11:52:45 +0600
Sender: owner-netdev@xxxxxxxxxxx



Hi,
Could you help me in this problem
I tried to install tcp dump on SOLARIS 2.6.Already installed libcab 5.0.

When I execute ./configure its fine. But It giving the following error
when I
tried to "make".
RED section is the error.

gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -c ./smbutil.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -c ./print-ascii.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -c ./print-telnet.c
sed -e 's/.*/char version[] = "&";/' ./VERSION > version.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -c version.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -o inet_ntop.o -c
./missing/inet_ntop.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -o inet_pton.o -c
./missing/inet_pton.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -o inet_aton.o -c
./missing/inet_aton.c
gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing  -o tcpdump tcpdump.o
print-arp.o
print-atalk.o print-atm.o print-bootp.o  print-decnet.o print-domain.o
print-dvmrp.o print-egp.o  print-ether.o print-fddi.o print-gre.o
print-icmp.o  print-igrp.o print-ip.o print-ipx.o print-isoclns.o
print-krb.o
print-llc.o print-nfs.o print-ntp.o print-null.o print-ospf.o
print-pim.o
print-ppp.o print-raw.o print-rip.o print-sl.o  print-snmp.o
print-sunrpc.o
print-tcp.o print-tftp.o print-udp.o  print-wb.o addrtoname.o bpf_dump.o

gmt2local.o machdep.o  parsenfsfh.o util.o savestr.o setsignal.o
print-esp.o
print-ah.o print-vjc.o print-isakmp.o print-chdlc.o  print-ipcomp.o
print-mobile.o print-l2tp.o print-bgp.o print-rx.o  print-lane.o
print-cip.o
print-pppoe.o print-lcp.o  print-smb.o smbutil.o print-ascii.o
print-telnet.o
version.o   inet_ntop.o inet_pton.o inet_aton.o -lpcap -lsocket -lnsl
-lz
Undefined                       first referenced
 symbol                             in file
yylex                               /usr/local/lib/libpcap.a(grammar.o)
lex_init                            /usr/local/lib/libpcap.a(gencode.o)
ld: fatal: Symbol referencing errors. No output written to tcpdump
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `tcpdump'

Thanks

Gayantha


<Prev in Thread] Current Thread [Next in Thread>
  • tcpdump on Solaris 2.6, Chanaka Mendis <=