Flex is not getting built. We have the binary checked in to our repository.
"which flex" gives the same path : tools/arm-5.3-uclibc-1.0.12/usr/bin/flex


On Mon, Apr 7, 2025 at 2:19 PM Guy Harris <ghar...@sonic.net> wrote:

> On Apr 6, 2025, at 11:19 PM, Mahesh V <maheshvenkateshwa...@gmail.com>
> wrote:
>
> > 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 m4
> > tools/arm-5.3-uclibc-1.0.12/usr/bin/m4
>
> "which" gave you a *relative* path?
>
> But that path appears to differ from the path that flex tried to use.
>
> What does "which flex" print?
>
> > m4 exists and I have set M4PATH env variable as well; however, it seems
> to pick it up from where flex was built before.
>
> Why was flex built at all?  Why not just rely on the system flex or the
> cross-build flex that comes with the OS?
_______________________________________________
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