tcpdump mailing list archives

Unable to successfully compile version 4.0.0


From: "Scott Hodler" <Scott.Hodler () HSTX com>
Date: Fri, 6 Mar 2009 13:03:13 -0800

I am on a Solaris 10 05/08 system using gcc 3.4.6.  I have libiconv 1.11
as required by gcc 3.4.6 on the system and I have compiled the new
libpcap version 1.0.0.  I ran the make install for libpcap and added the
needed entries to $PATH and $LD_LIBRARY_PATH, as well as leaving the
source code under the same parent directory as the source code for
tcpdump 4.0.0.  I found a problem in the config.log dealing with failed
program confdefs.h, but I don't really know what to do to resolve the
problem.

I am hoping that attachments work fine through this mailing list as the
config.log file is over 3000 lines long, which would make for a pretty
lengthy cut and paste session.  I do see that there are failed messages
several times throughout dealing with confdefs.h, this is an excerpt
from the config.log file where I see this the first time:

configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

 <<config.log>> 

I have attached the output from my make attempt, but here is the section
that is likely of most concern as most of this was very similar:

gcc -O2 -DHAVE_CONFIG_H  -I./../libpcap  -I/usr/local/ssl/include
-I./missing  -D_U_="__attribute__((unused))" -I. -I./../libpcap
-I/usr/local/ssl/include -I./missing -o strsep.o -c ./missing/strsep.c
gcc -O2 -DHAVE_CONFIG_H  -I./../libpcap  -I/usr/local/ssl/include
-I./missing  -D_U_="__attribute__((unused))" -I. -I./../libpcap
-I/usr/local/ssl/include -I./missing -c ./print-isakmp.c
gcc -O2 -DHAVE_CONFIG_H  -I./../libpcap  -I/usr/local/ssl/include
-I./missing  -D_U_="__attribute__((unused))" -I. -I./../libpcap
-I/usr/local/ssl/include -I./missing -L/usr/local/ssl/lib -o tcpdump
addrtoname.o af.o checksum.o cpack.o gmpls.o oui.o gmt2local.o ipproto.o
nlpid.o l2vpn.o machdep.o parsenfsfh.o  print-802_11.o print-ap1394.o
print-ah.o print-arcnet.o  print-aodv.o print-arp.o print-ascii.o
print-atalk.o print-atm.o  print-beep.o print-bfd.o print-bgp.o
print-bootp.o print-bt.o  print-cdp.o print-cfm.o print-chdlc.o
print-cip.o print-cnfp.o  print-dccp.o print-decnet.o  print-domain.o
print-dtp.o print-dvmrp.o print-enc.o print-egp.o  print-eap.o
print-eigrp.o print-esp.o print-ether.o print-fddi.o print-fr.o
print-gre.o print-hsrp.o print-icmp.o print-igmp.o  print-igrp.o
print-ip.o print-ipcomp.o print-ipfc.o  print-ipx.o print-isoclns.o
print-juniper.o print-krb.o  print-l2tp.o print-lane.o print-ldp.o
print-lldp.o print-llc.o  print-lmp.o print-lspping.o print-lwapp.o
print-lwres.o print-mobile.o print-mpcp.o print-mpls.o print-msdp.o
print-nfs.o print-ntp.o print-null.o print-olsr.o print-ospf.o
print-pgm.o print-pim.o print-ppp.o print-pppoe.o print-pptp.o
print-radius.o print-raw.o print-rip.o print-rrcp.o print-rsvp.o
print-rx.o print-sctp.o print-sflow.o print-sip.o print-sl.o print-sll.o
print-slow.o print-snmp.o print-stp.o print-sunatm.o print-sunrpc.o
print-symantec.o print-syslog.o print-tcp.o print-telnet.o print-tftp.o
print-timed.o print-token.o print-udld.o print-udp.o  print-vjc.o
print-vqp.o print-vrrp.o print-vtp.o  print-wb.o print-zephyr.o
setsignal.o tcpdump.o util.o version.o print-smb.o smbutil.o strsep.o
print-isakmp.o -lcrypto ./../libpcap/libpcap.a -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
ip6_print                           print-enc.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'


 <<make.log>> 
I will be most grateful for any insight on what may be my problem.

Thanks in advance,

Scott Hodler
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: