[Xenomai] [RTnet] 3.0.6 xenomai/net/drivers 'debug' symbol redeclared

Greg Gallagher greg at embeddedgreg.com
Mon Jan 29 19:18:23 CET 2018


This is fixed in stable-3.0.x

On Mon, Jan 29, 2018 at 1:15 PM, Philippe Gerum <rpm at xenomai.org> wrote:
> On 01/29/2018 07:01 PM, alessio margan wrote:
>> Hi all,
>>
>> I was installing xenomai 3.0.6 (
>> https://xenomai.org/downloads/xenomai/stable/ ) on a 4.9.51 kernel, I
>> get the following errors
>>
>> drivers/xenomai/net/drivers/r8169.c:131:12: error: ‘debug’ redeclared as
>> different kind of symbol
>>
>>  static int debug = -1;
>>             ^
>> In file included from arch/x86/xenomai/include/asm/xenomai/thread.h:25:0,
>>                  from include/xenomai/cobalt/kernel/thread.h:35,
>>                  from include/xenomai/cobalt/kernel/sched.h:24,
>>                  from include/xenomai/rtdm/driver.h:37,
>>                  from drivers/xenomai/net/stack/include/rtnet.h:99,
>>                  from drivers/xenomai/net/stack/include/rtskb.h:32,
>>                  from drivers/xenomai/net/stack/include/rtdev.h:37,
>>                  from drivers/xenomai/net/stack/include/rtnet_port.h:32,
>>                  from drivers/xenomai/net/drivers/r8169.c:82:
>> ./arch/x86/include/asm/traps.h:13:17: note: previous declaration of
>> ‘debug’ was here
>>  asmlinkage void debug(void);
>>
>> drivers/xenomai/net/drivers/igb/igb_main.c:280:12: error: ‘debug’
>> redeclared as different kind of symbol
>>  static int debug = -1;
>>             ^
>> In file included from arch/x86/xenomai/include/asm/xenomai/thread.h:25:0,
>>                  from include/xenomai/cobalt/kernel/thread.h:35,
>>                  from include/xenomai/cobalt/kernel/sched.h:24,
>>                  from include/xenomai/rtdm/driver.h:37,
>>                  from drivers/xenomai/net/stack/include/rtnet.h:99,
>>                  from drivers/xenomai/net/stack/include/rtskb.h:32,
>>                  from drivers/xenomai/net/stack/include/rtdev.h:37,
>>                  from drivers/xenomai/net/stack/include/rtnet_port.h:32,
>>                  from drivers/xenomai/net/drivers/igb/e1000_hw.h:31,
>>                  from drivers/xenomai/net/drivers/igb/e1000_mac.h:28,
>>                  from drivers/xenomai/net/drivers/igb/igb.h:30,
>>                  from drivers/xenomai/net/drivers/igb/igb_main.c:56:
>> ./arch/x86/include/asm/traps.h:13:17: note: previous declaration of
>> ‘debug’ was here
>>  asmlinkage void debug(void);
>>
>>
>> there is a workaround or I should try git://xenomai.org/xenomai-3.git
>> wip/rtnet-fixes and then wait for a 3.0.7 ?
>>
>
> The rule of thumb is to track and pull the latest code from the
> stable-3.0.x branch at git://git.xenomai.org/xenomai-3.git.
>
> --
> Philippe.
>
> _______________________________________________
> Xenomai mailing list
> Xenomai at xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai



More information about the Xenomai mailing list