why this? #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why this? #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384

700 Views
Ahelion
Contributor IV

I am trying to compile linux 5.10.72, and I get this error:

#elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384

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

Any fix for it?

Br, Mircea

0 Kudos
3 Replies

678 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @Ahelion

Could you please provide your Ubuntu version?

The recommended version is 20.04.

Have a great day!

0 Kudos

663 Views
Ahelion
Contributor IV
I managed to fix it using a patch online, but it would be nice if nxp can also fix it.
https://toolchains.bootlin.com/downloads/releases/sources/m4-1.4.18/0003-c-stack-stop-using-SIGSTKSZ...

Ubuntu 22.04.
0 Kudos

654 Views
brian14
NXP TechSupport
NXP TechSupport

Hi @Ahelion

Thank you for the information.

Have a great day!

0 Kudos