[tcpdump-workers] Re: tcpdump and pcapng with comments

2025-04-06 Thread Mahesh V
Hi Folks I added some code (modified) tcpdump to write the pcapng file. while configuring/compiling the source code I get this error This is a cross compilation for ARM platform configure: error: *flex is insufficient to compile libpcap.* libpcap requires Flex 2.5.31 or later, or a compatible ve

[tcpdump-workers] Re: tcpdump and pcapng with comments

2025-04-06 Thread Mahesh V
Just to clarify, I am building libpcap (where I have added the code) tcpdump compilation is fine but obviously gives symbol error because libpcap is bot yet built. thanks On Sun, Apr 6, 2025 at 2:41 PM Mahesh V wrote: > Hi Folks > > I added some code (modified) tcpdump to write the pcapng file.

[tcpdump-workers] Re: tcpdump and pcapng with comments

2025-04-06 Thread Mahesh V
configure:7921: checking for flex configure:7937: found tools/arm-5.3-uclibc-1.0.12/usr/bin/flex configure:7948: result: flex configure:7986: flex conftest.l *flex: fatal internal error, exec of /var/tmp/tool-chains/buildroot-2016.02-5.3-arm/crosstools-arm-gcc-5.3-linux-4.1-uclibc-1.0.12-binutils-2

[tcpdump-workers] Re: tcpdump and pcapng with comments

2025-04-06 Thread Michael Richardson
Mahesh V wrote: > I added some code (modified) tcpdump to write the pcapng file. > while configuring/compiling the source code I get this error > This is a cross compilation for ARM platform Well, likely the resulting flex test can't be run, since it's cross-compiled. I suggest *NOT

[tcpdump-workers] Re: tcpdump and pcapng with comments

2025-04-06 Thread Guy Harris
On Apr 6, 2025, at 2:28 PM, Michael Richardson wrote: > Mahesh V wrote: >> I added some code (modified) tcpdump to write the pcapng file. >> while configuring/compiling the source code I get this error >> This is a cross compilation for ARM platform > > Well, likely the resulting flex test can'