On 20/11/17 14:38, Philippe Gerum wrote: > On 11/20/2017 01:14 PM, Leopold Palomo-Avellaneda wrote: >> Hi, >> >> trying to build the new Xenomai version (3.0.6), after have prepared the >> linux >> sources, I got this error: >> >> In file included from arch/x86/xenomai/machine.c:22:0: >> arch/x86/xenomai/include/asm/xenomai/syscall.h: In function >> ‘__xn_get_syscall_nr’: >> arch/x86/xenomai/include/asm/xenomai/syscall.h:46:31: error: implicit >> declaration of function ‘__COBALT_CALL32_SYSNR’ >> [-Werror=implicit-function-declaration] >> #define __xn_syscall(regs) __COBALT_CALL32_SYSNR(__xn_reg_sys(regs) \ >> ^ >> arch/x86/xenomai/include/asm/xenomai/syscall.h:60:32: note: in expansion of >> macro ‘__xn_syscall’ >> return __xn_syscall_p(regs) ? __xn_syscall(regs) : >> ^~~~~~~~~~~~ >> cc1: some warnings being treated as errors >> >> I have used the prepare-kernel script and built the Debian packages. The >> platform is a Debian Stretch (amd64) with the default compiler. >> >> linux version linux-4.9.51 and >> >> http://xenomai.org/downloads/ipipe/v4.x/x86/ipipe-core-4.9.51-x86-4.patch >> >> as a patch. >> >> >> > > As a work around, drop CONFIG_IA32_EMULATION if you don't need it. >
drivers/xenomai/net/stack/rtwlan.c:171:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (mutex_lock_interruptible(&rtdev->nrt_lock)) ^~ -- -- Linux User 152692 GPG: 05F4A7A949A2D9AA Catalonia ------------------------------------- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai
