Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-29 Thread capper
On Sat, 29 Dec 2007, Guy Harris wrote: Try upgrading to Flex 2.5.33 from Flex 2.5.34. (Yes, I'm serious when I say "upgrading". Flex 2.5.34 appears to have broken all Lex/Flex files that use %a, etc. so that they can be built on versions of Lex that, by default, don't have tables big enough t

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-29 Thread Guy Harris
[EMAIL PROTECTED] wrote: On Sat, 22 Dec 2007, Guy Harris wrote: What does the command "flex --version" print? flex 2.5.34 And what does the command sed -n 84l scanner.l print, when run in the libpcap source directory? %a 18400 Try upgrading to Flex 2.5.33 from Flex 2.5.34. (Yes,

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread capper
On Sat, 22 Dec 2007, Guy Harris wrote: What does the command "flex --version" print? flex 2.5.34 And what does the command sed -n 84l scanner.l print, when run in the libpcap source directory? %a 18400 - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubsc

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread Guy Harris
[EMAIL PROTECTED] wrote: flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c scanner.l:84: bad character: % scanner.l:84: unknown error processing section 1 scanner.l:84: unknown error processing section 1 scanner.l:84: bad character: 1 scanner.l:84: bad character: 8 scanner.l:84

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread capper
On Sat, 22 Dec 2007, Guy Harris wrote: That would be more than I need - and I also need the output of the build process; something *EXTREMELY* strange happened in the process of building libpcap, as scanner.o isn't defining any of the functions it's supposed to define. OK, I think you may

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread Guy Harris
[EMAIL PROTECTED] wrote: On Sat, 22 Dec 2007, Guy Harris wrote: And what was the output of the configure script, and the build process, for libpcap? You want the entirety of config.log? That would be more than I need - and I also need the output of the build process; something *EXTREMELY

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread capper
On Sat, 22 Dec 2007, Guy Harris wrote: What does nm -pA usr/lib/libpcap.a | egrep 'scanner\.o' print? /usr/lib/libpcap.a[scanner.o]: /usr/lib/libpcap.a[scanner.o]: 00 b /usr/lib/libpcap.a[scanner.o]: 00 s /usr/lib/libpcap.a[scanner.o]: 04 D pcap_leng /usr/lib/

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread Guy Harris
[EMAIL PROTECTED] wrote: Here's the table of contents: ... scanner.o What does nm -pA usr/lib/libpcap.a | egrep 'scanner\.o' print? And what was the output of the configure script, and the build process, for libpcap? - This is the tcpdump-workers list. Visit https:/

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread capper
On Sat, 22 Dec 2007, Guy Harris wrote: [EMAIL PROTECTED] wrote: /usr/lib/libpcap.a[gencode.o]: 00 U lex_cleanup /usr/lib/libpcap.a[gencode.o]: 00 U lex_init /usr/lib/libpcap.a[grammar.o]: 00 U pcap_lex What does ar t /usr/lib/libpcap.a Here's the table o

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-22 Thread Guy Harris
[EMAIL PROTECTED] wrote: Here is the output from that command: /usr/lib/libpcap.a[gencode.o]: 00 U lex_cleanup /usr/lib/libpcap.a[gencode.o]: 00 U lex_init /usr/lib/libpcap.a[grammar.o]: 00 U pcap_lex What does ar t /usr/lib/libpcap.a print? - This is the

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-21 Thread capper
On Fri, 21 Dec 2007, Guy Harris wrote: Undefined first referenced symbol in file pcap_lex/usr/lib/libpcap.a(grammar.o) lex_cleanup /usr/lib/libpcap.a(gencode.o) lex_init

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-21 Thread Guy Harris
On Dec 21, 2007, at 2:47 PM, [EMAIL PROTECTED] wrote: Undefined first referenced symbol in file pcap_lex/usr/lib/libpcap.a(grammar.o) lex_cleanup /usr/lib/libpcap.a(gencode.o) lex_init

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-21 Thread capper
On Fri, 21 Dec 2007, Guy Harris wrote: [EMAIL PROTECTED] wrote: checking for libpcap... yes checking for pcap_datalink_val_to_description in -lpcap... no What does the config.log file for ettercap say? The tests in configure scripts are a bit tricky to get right. Thanks for replying. H

Re: [tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-21 Thread Guy Harris
[EMAIL PROTECTED] wrote: checking for libpcap... yes checking for pcap_datalink_val_to_description in -lpcap... no What does the config.log file for ettercap say? The tests in configure scripts are a bit tricky to get right. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca

[tcpdump-workers] libpcap and ettercap on Solaris 9

2007-12-21 Thread capper
Hello the list. Hope everyone is having a good holiday season. I'm looking for a bit of help with libpcap in a Solaris 9 environment, in pursuit of compiling ettercap. I'm running into a problem that seems to be libpcap-related, and hopefully someone has seen this. The Environment =