Subject: Re: [PATCH] Fix building eth_p_all demo with Mercury core References: <20200924025828.21815-1-vt@altlinux.org> From: Jan Kiszka Message-ID: Date: Mon, 28 Sep 2020 18:54:06 +0200 MIME-Version: 1.0 In-Reply-To: <20200924025828.21815-1-vt@altlinux.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vitaly Chikunov , Xenomai On 24.09.20 04:58, Vitaly Chikunov wrote: > 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 > --- > 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 > #include > #include > +#include > #include > > char buffer[10*1024]; > Thanks, applied. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux