Re: [Xenomai] [RTnet] 3.0.6 xenomai/net/drivers 'debug' symbol redeclared
This is fixed in stable-3.0.x On Mon, Jan 29, 2018 at 1:15 PM, Philippe Gerum 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@xenomai.org > https://xenomai.org/mailman/listinfo/xenomai ___ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai
Re: [Xenomai] [RTnet] 3.0.6 xenomai/net/drivers 'debug' symbol redeclared
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@xenomai.org https://xenomai.org/mailman/listinfo/xenomai
[Xenomai] [RTnet] 3.0.6 xenomai/net/drivers 'debug' symbol redeclared
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 ? Thanks Alessio -- ISTITUTO ITALIANO DI TECNOLOGIA Alessio Margan Chief Technician Advanced Robotics Department alessio.mar...@iit.it Via Morego 30, 16163 Genova Tel. +39 010 71781-754 www.iit.it Legal Disclaimer This electronic message contains information that is confidential. The information is intended for the use of the addressee only. If you are not the addressee we would appreciate your notification in this respect. Please note that any disclosure, copy, distribution or use of the contents of this message is prohibited and may be unlawful. We have taken every reasonable precaution to ensure that any kind of attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise you to carry out your own virus checks before opening any attachment. Avvertenza legale Questo messaggio Email contiene informazioni confidenziali riservate ai soli destinatari. Qualora veniate in possesso di tali informazioni senza essere definito come destinatario vi reghiamo di leggere le seguenti note. Ogni apertura, copia, distribuzione del contenuto del messaggio e dei suoi allegati è proibito e potrebbe violare le presenti leggi. Abbiamo attivato ogni possibile e ragionevole precauzione per assicurare che gli allegati non contengano virus. Comunque non assumeremo alcuna responsabilità per ogni eventuale danno causato da virus software e simili in quanto è onere del destinatario verificarne l’assenza in ogni allegato attuando propri indipendenti controlli. -- next part -- # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.9.51 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y CONFIG_X86=y CONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf64-x86-64" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_MMU=y CONFIG_ARCH_MMAP_RND_BITS_MIN=28 CONFIG_ARCH_MMAP_RND_BITS_MAX=32 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEED_SG_DMA_LENGTH=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y CONFIG_GENERIC_HWEIGHT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y CONFIG_ARCH_WANT_GENERAL_HUGETLB=y CONFIG_ZONE_DMA32=y CONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_INTEL_TXT=y CONFIG_X86_64_SMP=y CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_FIX_EAR