I'm trying to build the latest snapshot in Ubuntu 24.10 (under WSL if that matters), and it fails while building target/linux with the following error, which never happened before.
flex: fatal internal error, exec of /home/user/openwrt/staging_dir/host/bin/m4 failed
The target is BananaPi BPI-R4. I've updated the build environment to the latest package versions and did make distclean to start fresh, none of which helped. Any ideas on what to try next are much appreciated.
Thank you. After doing a fresh clone, staging_dir/host/bin/ is now populated with the correct symlinks. I guess, starting from scratch might be necessary every now and again.