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.25-NPTL/usr/bin/m4
failed*

which m4



*# which m4tools/arm-5.3-uclibc-1.0.12/usr/bin/m4*
m4 exists and I have set M4PATH env variable as well; however, it seems to
pick it up from where flex was built before.
Mahesh






On Mon, Apr 7, 2025 at 3:52 AM Guy Harris <ghar...@sonic.net> wrote:

> On Apr 6, 2025, at 2:28 PM, Michael Richardson <m...@sandelman.ca> wrote:
>
> > Mahesh V <maheshvenkateshwa...@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.
>
> The test just runs the (F)lex command that it found, with some options
> that we require that Flex support, so there's no compiled code to run,
> but...
>
> > 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.
>
> ...without the config.out file, we can't figure out what the problem is.
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers@lists.tcpdump.org
To unsubscribe send an email to tcpdump-workers-le...@lists.tcpdump.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to