[Rpcap-users] Re: rtdump won't compile...
Status: Alpha
Brought to you by:
sri_krishnan
|
From: S. K. <sri...@ya...> - 2002-11-01 19:59:55
|
Hi, It looks like rtdump is not able to link to librpcap. I am at work now, and will look into this tonight, since I am currently using a Windows box for my work-related programming. :( In the meantime, could you please let me have the following details: - Which platform (H/W, OS) and OS version are you using? - What problems did you encounter with building and installing rpcap, since an improper rpcap install would cause the error messages that you encountered? It would be nice to have a copy of the configure logfile that running ./configure would have generated in the build directory. - Do you see any librpcap libraries in your install directory (the default is /usr/local/lib, unless you have changed it)? - Could you also see if you could mail a copy of the configure log file for rtdump too? Also, would it be possible for you to subscribe to the rpcap-users mailing list (you can find it on the sourceforge project page, at http://lists.sourceforge.net/lists/listinfo/rpcap-users), and post your queries there, since they could then become a reference for other users too? Best regards, Krishnan --- Mattt <ma...@ab...> wrote: > Greetings, > > Finally arm-wrestled rpcap into building (although as yet untested) - > now can't get rtdump to compile. It fails with : > > > ====================================================================== > gcc -O2 -DHAVE_CONFIG_H -I. -I./missing -I/usr/include > -I/usr/include/openssl -L/usr/lib -o > rtd ump rtdump.o > print-arp.o print-atalk.o print-atm.o print-bootp.o print-decnet.o > print-domain.o pr > int-dvmrp.o print-egp.o print-ether.o print-fddi.o print-gre.o > print-icmp.o print-igmp.o > print-ig rp.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 prin > t-stp.o > print-sunrpc.o print-tcp.o print-tftp.o print-udp.o print-wb.o > addrtoname.o gmt2local.o m > > achdep.o parsenfsfh.o util.o savestr.o setsignal.o print-esp.o > print-ah.o print-vjc.o > print-isakm p.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 > print-cn fp.o > print-vrrp.o > print-cdp.o print-token.o print-bxxp.o print-timed.o print-radius.o > print-sll.o > str_utils.o > version.o strlcat.o strlcpy.o bpf_dump.o -lcrypto -lrpcap -lnsl > rtdump.o(.text+0x52c): In function `main': > : undefined reference to `pcap_open_offline' > rtdump.o(.text+0x94e): In function `main': > : undefined reference to `pcap_dump_open' > rtdump.o(.text+0x976): In function `main': > : undefined reference to `pcap_dump' > rtdump.o(.text+0xa65): In function `cleanup': > : undefined reference to `pcap_file' > rtdump.o(.text+0xbe1): In function `usage': > : undefined reference to `pcap_version' > addrtoname.o(.text+0x938): In function `init_eprotoarray': > : undefined reference to `eproto_db' > addrtoname.o(.text+0x93e): In function `init_eprotoarray': > : undefined reference to `eproto_db' > addrtoname.o(.text+0x99e): In function `init_eprotoarray': > : undefined reference to `eproto_db' > addrtoname.o(.text+0x9c8): In function `init_protoidarray': > : undefined reference to `eproto_db' > addrtoname.o(.text+0x9ce): In function `init_protoidarray': > : undefined reference to `eproto_db' > addrtoname.o(.text+0xa79): more undefined references to `eproto_db' > follow > util.o(.text+0x566): In function `read_infile': > : undefined reference to `pcap_strerror' > util.o(.text+0x59a): In function `read_infile': > : undefined reference to `pcap_strerror' > util.o(.text+0x5e1): In function `read_infile': > : undefined reference to `pcap_strerror' > bpf_dump.o(.text+0xaf): In function `bpf_dump': > : undefined reference to `bpf_image' > collect2: ld returned 1 exit status > make: *** [rtdump] Error 1 > direwolf:/usr/local/src/rtdump# > ======================================================================== > > Any ideas? > > -- > Cheers, > Mattt. icq : 117539757 > aboveNetworks tel : 0438 749 962 > ma...@ab... (mail/jabber) www : www.above.nq4u.net > > There are only 10 kinds of people. > Those who understand binary, and those who don't. > __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ |