Re: [tcpdump-workers] Problem compiling tcpdump-3.8.3
On Oct 22, 2004, at 3:50 PM, Gerard Beekmans wrote: On Fri, 2004-10-22 at 12:21, Guy Harris wrote: nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_debug print?" Nothing as a matter of fact. Thanks for the clue though, I got it working now. To get that pcap_debug symbol compiled in I had to pass --enable-yydebug to libpcap's configure script. Everything seems to be okay now. That's bizarre - the config.log file you sent seems to show no error when the tcpdump configure script was looking for pcap_debug, but "nm" didn't show it being defined by libpcap.a. - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Re: [tcpdump-workers] Problem compiling tcpdump-3.8.3
On Fri, 2004-10-22 at 12:21, Guy Harris wrote: > nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_debug > > print?" Nothing as a matter of fact. Thanks for the clue though, I got it working now. To get that pcap_debug symbol compiled in I had to pass --enable-yydebug to libpcap's configure script. Everything seems to be okay now. Thanks, -- Gerard Beekmans /* If Linux doesn't have the solution, you have the wrong problem */ - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Re: [tcpdump-workers] Problem compiling tcpdump-3.8.3
Gerard Beekmans wrote: What does nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_dump print, and... ../libpcap-0.8.3/libpcap.a:savefile.o:0940 T pcap_dump Sorry, brain fart. I meant to say "What does nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_debug print?" - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Re: [tcpdump-workers] Problem compiling tcpdump-3.8.3
On Fri, 2004-10-22 at 01:56, Guy Harris wrote: > Gerard Beekmans wrote: > > > tcpdump.o(.text+0x947): In function `main': > > : undefined reference to `pcap_debug' > > collect2: ld returned 1 exit status > > What does > > nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_dump > > print, and... ../libpcap-0.8.3/libpcap.a:savefile.o:0940 T pcap_dump ../libpcap-0.8.3/libpcap.a:savefile.o:0b00 T pcap_dump_close ../libpcap-0.8.3/libpcap.a:savefile.o:0ad0 T pcap_dump_file ../libpcap-0.8.3/libpcap.a:savefile.o:0ae0 T pcap_dump_flush ../libpcap-0.8.3/libpcap.a:savefile.o:09b0 T pcap_dump_open > ...what's the contents of the config.log file in the tcpdump source > directory? config.log attached (i've bzip2'ed it just in case the 60 KB file would be too big otherwise). -- Gerard Beekmans /* If Linux doesn't have the solution, you have the wrong problem */ config.log.bz2 Description: application/bzip - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Re: [tcpdump-workers] Problem compiling tcpdump-3.8.3
Gerard Beekmans wrote: tcpdump.o(.text+0x947): In function `main': : undefined reference to `pcap_debug' collect2: ld returned 1 exit status What does nm -o ../libpcap-0.8.3/libpcap.a | egrep pcap_dump print, and... Configure did check for, and found, pcap_debug: checking whether pcap_debug is defined by libpcap... yes ...what's the contents of the config.log file in the tcpdump source directory? - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.