From: Vitaly Chikunov <vt@altlinux.org>
To: Jan Kiszka <jan.kiszka@siemens.com>, Xenomai <xenomai@xenomai.org>
Subject: [PATCH] Fix building eth_p_all demo with Mercury core
Date: Thu, 24 Sep 2020 05:58:28 +0300 [thread overview]
Message-ID: <20200924025828.21815-1-vt@altlinux.org> (raw)
Error message:
In file included from eth_p_all.c:43:
/usr/include/xenomai/boilerplate/ancillaries.h:56:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__early_panic’
56 | void __noreturn __early_panic(const char *fn,
| ^~~~~~~~~~~~~
/usr/include/xenomai/boilerplate/ancillaries.h:59:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___panic’
59 | void __noreturn ___panic(const char *fn,
| ^~~~~~~~
/usr/include/xenomai/boilerplate/ancillaries.h:63:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__panic’
63 | void __noreturn __panic(const char *fn,
| ^~~~~~~
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
---
demo/posix/cobalt/eth_p_all.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/demo/posix/cobalt/eth_p_all.c b/demo/posix/cobalt/eth_p_all.c
index 91aef9fbd..ad4c54878 100644
--- a/demo/posix/cobalt/eth_p_all.c
+++ b/demo/posix/cobalt/eth_p_all.c
@@ -40,6 +40,7 @@
#include <net/if.h>
#include <arpa/inet.h>
#include <netinet/ether.h>
+#include <boilerplate/compiler.h>
#include <boilerplate/ancillaries.h>
char buffer[10*1024];
--
2.21.0
next reply other threads:[~2020-09-24 2:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 2:58 Vitaly Chikunov [this message]
2020-09-28 16:54 ` [PATCH] Fix building eth_p_all demo with Mercury core Jan Kiszka
2020-09-28 17:03 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200924025828.21815-1-vt@altlinux.org \
--to=vt@altlinux.org \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.