tcpdump mailing list archives

Re: tcpdump and pcapng with comments


From: Michael Richardson <mcr () sandelman ca>
Date: Sun, 06 Apr 2025 17:28:11 -0400


Mahesh V <maheshvenkateshwaran () gmail com> 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* doing cross-compilation while you are working on new code.

    > configure: error: *flex is insufficient to compile libpcap.*
    > libpcap requires Flex 2.5.31 or later, or a compatible version of lex.

    > # flex -V
    > flex 2.5.37
    > Same error is true for bison/m4. (I am not sure what is that tool for)

Read the config.out to see why it really failed; my guess is above.
Regardless, you will need to post more details about the failure.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Current thread: