nerves-project / nerves_fw_loaders

A collection of firmware loaders for boards with internal storage
GNU General Public License v2.0
3 stars 1 forks source link

Fails to build on ubuntu 22 #11

Open LostKobrakai opened 9 months ago

LostKobrakai commented 9 months ago

Environment

Current behavior

Error when building:

>>> host-m4 1.4.18 Building
…
In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from c-stack.c:49:
c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384

It seems to be due to what is discussed here: https://github.com/openwrt/openwrt/issues/9055

It sounds like a patch or updating the version for the package to 1.4.19 would resolve the issue.

Expected behavior

Builds fine.

fhunleth commented 9 months ago

I haven't maintained this in a while since we stopped using the devices that used it. I bet that doing a general refresh on the project by updating Buildroot to 2023.08.2 and possibly updating the toolchains in the defconfigs will fix it.