From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 02 Sep 2008 00:20:45 -0700 From: Sam Ferguson Message-ID: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3303159646_612702" Subject: [Xenomai-help] Xenomai kernel compile issue List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3303159646_612702 Content-type: text/plain; charset="UTF-8" Content-transfer-encoding: quoted-printable Hello, I=E2=80=99m trying to compile Xenomai by following the Xenomai Quick build guide found on this page: < http://www.xenomai.org/index.php/Xenomai_quick_build_quide> however I run across a compiling error shown here: igvc@domain.hid$ sudo cp /boot/config-2.6.25.11 .config igvc@domain.hid$ sudo make menuconfig scripts/kconfig/mconf arch/x86/Kconfig # # configuration written to .config # *** End of Linux kernel configuration. *** Execute 'make' to build the kernel or try 'make help'. igvc@domain.hid$ sudo make scripts/kconfig/conf -s arch/x86/Kconfig # # configuration written to .config # CHK include/linux/version.h CHK include/linux/utsrelease.h CC arch/x86/kernel/asm-offsets.s GEN include/asm-x86/asm-offsets.h CALL scripts/checksyscalls.sh CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o LD init/mounts.o CC init/initramfs.o CC init/calibrate.o LD init/built-in.o CC arch/x86/kernel/process_32.o CC arch/x86/kernel/signal_32.o AS arch/x86/kernel/entry_32.o CC arch/x86/kernel/traps_32.o CC arch/x86/kernel/irq_32.o CC arch/x86/kernel/time_32.o CC arch/x86/kernel/ioport.o CC arch/x86/kernel/ldt.o CC arch/x86/kernel/setup_32.o CC arch/x86/kernel/i8259_32.o CC arch/x86/kernel/sys_i386_32.o CC arch/x86/kernel/i386_ksyms_32.o CC arch/x86/kernel/pci-dma_32.o CC arch/x86/kernel/bootflag.o CC arch/x86/kernel/e820_32.o CC arch/x86/kernel/quirks.o CC arch/x86/kernel/i8237.o CC arch/x86/kernel/topology.o CC arch/x86/kernel/kdebugfs.o CC arch/x86/kernel/alternative.o CC arch/x86/kernel/i8253.o CC arch/x86/kernel/tsc_32.o CC arch/x86/kernel/io_delay.o CC arch/x86/kernel/rtc.o CC arch/x86/kernel/i387.o CC arch/x86/kernel/ptrace.o CC arch/x86/kernel/ds.o CC arch/x86/kernel/tls.o CC arch/x86/kernel/step.o CC arch/x86/kernel/cpu/intel_cacheinfo.o CC arch/x86/kernel/cpu/addon_cpuid_features.o CC arch/x86/kernel/cpu/feature_names.o CC arch/x86/kernel/cpu/common.o CC arch/x86/kernel/cpu/proc.o CC arch/x86/kernel/cpu/bugs.o CC arch/x86/kernel/cpu/amd.o CC arch/x86/kernel/cpu/cyrix.o CC arch/x86/kernel/cpu/centaur.o CC arch/x86/kernel/cpu/transmeta.o CC arch/x86/kernel/cpu/intel.o CC arch/x86/kernel/cpu/nexgen.o CC arch/x86/kernel/cpu/umc.o CC arch/x86/kernel/cpu/mtrr/main.o CC arch/x86/kernel/cpu/mtrr/if.o CC arch/x86/kernel/cpu/mtrr/generic.o CC arch/x86/kernel/cpu/mtrr/stateo CC arch/x86/kernel/cpu/mtrr/amd.o CC arch/x86/kernel/cpu/mtrr/cyrixo CC arch/x86/kernel/cpu/mtrr/centaur.o LD arch/x86/kernel/cpu/mtrr/built-in.o CC arch/x86/kernel/cpu/perfctr-watchdog.o LD arch/x86/kernel/cpu/built-in.o CC arch/x86/kernel/reboot.o CC arch/x86/kernel/mca_32.o CC arch/x86/kernel/early-quirks.o CC arch/x86/kernel/mpparse_32.o CC arch/x86/kernel/apic_32.o CC arch/x86/kernel/nmi_32.o CC arch/x86/kernel/reboot_fixups_32.o CC arch/x86/kernel/machine_kexec_32.o CC arch/x86/kernel/crash.o CC arch/x86/kernel/crash_dump_32.o CC arch/x86/kernel/kprobes.o CC arch/x86/kernel/module_32.o CC arch/x86/kernel/doublefault_32o CC arch/x86/kernel/vm86_32.o CC arch/x86/kernel/early_printk.o CC arch/x86/kernel/k8.o CC arch/x86/kernel/vmi_32.o CC arch/x86/kernel/vmiclock_32.o CC arch/x86/kernel/paravirt.o CC arch/x86/kernel/paravirt_patch_32.o CC arch/x86/kernel/pcspeaker.o LD arch/x86/kernel/built-in.o AS arch/x86/kernel/head_32.o CC arch/x86/kernel/init_task.o LDS arch/x86/kernel/vmlinux.lds CC [M] arch/x86/kernel/msr.o CC [M] arch/x86/kernel/cpuid.o CC [M] arch/x86/kernel/microcode.o CC [M] arch/x86/kernel/scx200_32.o LD [M] arch/x86/kernel/scx200.o CC arch/x86/mm/init_32.o CC arch/x86/mm/pgtable_32.o CC arch/x86/mm/fault.o CC arch/x86/mm/ioremap.o CC arch/x86/mm/extable.o CC arch/x86/mm/pageattr.o CC arch/x86/mm/mmap.o CC arch/x86/mm/highmem_32.o LD arch/x86/mm/built-in.o CC arch/x86/mach-default/setup.o LD arch/x86/mach-default/built-ino AS [M] arch/x86/crypto/aes-i586-asm_32.o CC [M] arch/x86/crypto/aes_glue.o AS [M] arch/x86/crypto/twofish-i586-asm_32.o CC [M] arch/x86/crypto/twofish_glue.o LD [M] arch/x86/crypto/aes-i586.o LD [M] arch/x86/crypto/twofish-i586.o AS arch/x86/vdso/vdso32/int80.o VDSO arch/x86/vdso/vdso32-int80.so.dbg OBJCOPY arch/x86/vdso/vdso32-int80.so AS arch/x86/vdso/vdso32/sysenter.o VDSO arch/x86/vdso/vdso32-sysenter.so.dbg OBJCOPY arch/x86/vdso/vdso32-sysenter.so AS arch/x86/vdso/vdso32.o CC arch/x86/vdso/vdso32-setup.o VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds VDSOSYM arch/x86/vdso/vdso32-syms.lds LD arch/x86/vdso/built-in.o CC kernel/sched.o kernel/sched.c:1027: warning: =E2=80=9A=C3=84=C3=B2init_hrtick=E2=80=9A=C3=84=C3=B4 defined but not use= d CC kernel/fork.o CC kernel/exec_domain.o CC kernel/panic.o CC kernel/printk.o CC kernel/profile.o CC kernel/exit.o CC kernel/itimer.o CC kernel/time.o CC kernel/softirq.o CC kernel/resource.o CC kernel/sysctl.o CC kernel/capability.o CC kernel/ptrace.o CC kernel/timer.o CC kernel/user.o CC kernel/signal.o CC kernel/sys.o CC kernel/kmod.o CC kernel/workqueue.o CC kernel/pid.o CC kernel/rcupdate.o CC kernel/extable.o CC kernel/params.o CC kernel/posix-timers.o CC kernel/kthread.o CC kernel/wait.o CC kernel/kfifo.o CC kernel/posix-cpu-timers.o CC kernel/mutex.o CC kernel/hrtimer.o CC kernel/rwsem.o CC kernel/nsproxy.o CC kernel/srcu.o CC kernel/notifier.o CC kernel/ksysfs.o CC kernel/pm_qos_params.o CC kernel/sysctl_check.o CC kernel/irq/handle.o CC kernel/irq/manage.o CC kernel/irq/spurious.o CC kernel/irq/resend.o CC kernel/irq/chip.o CC kernel/irq/devres.o CC kernel/irq/autoprobe.o CC kernel/irq/proc.o LD kernel/irq/built-in.o CC kernel/time/timekeeping.o CC kernel/time/ntp.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC kernel/time/timer_list.o CC kernel/time/clockevents.o CC kernel/time/tick-common.o CC kernel/time/tick-broadcast.o CC kernel/time/tick-oneshot.o CC kernel/time/tick-sched.o CC kernel/time/timer_stats.o LD kernel/time/built-in.o CC kernel/xenomai/arch/generic/hal.o In file included from kernel/xenomai/arch/generic/hal.c:47: include/asm/xenomai/hal.h:65: warning: =E2=80=9A=C3=84=C3=B2struct ipipe_tick_device=E2=80=9A=C3=84= =C3=B4 declared inside parameter list include/asm/xenomai/hal.h:65: warning: its scope is only this definition or declaration, which is probably not what you want include/asm/xenomai/hal.h:65: warning: =E2=80=9A=C3=84=C3=B2enum clock_event_mode=E2=80=9A=C3=84=C3=B4 = declared inside parameter list include/asm/xenomai/hal.h:67: warning: =E2=80=9A=C3=84=C3=B2struct ipipe_tick_device=E2=80=9A=C3=84= =C3=B4 declared inside parameter list In file included from include/asm/xenomai/hal_32.h:54, from include/asm/xenomai/hal.h:73, from kernel/xenomai/arch/generic/hal.c:47: include/asm-generic/xenomai/hal.h: In function =E2=80=9A=C3=84=C3=B2rthal_get_cpufreq=E2=80=9A=C3= =84=C3=B4: include/asm-generic/xenomai/hal.h:166: error: storage size of =E2=80=9A=C3=84=C3=B2sysinf= o=E2=80=9A=C3=84=C3=B4 isn=E2=80=9A=C3=84=C3=B4t known include/asm-generic/xenomai/hal.h:167: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_get_sysinfo=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h:166: warning: unused variable =E2=80=9A=C3=84=C3=B2sysinfo=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h: In function =E2=80=9A=C3=84=C3=B2rthal_get_timerfreq=E2=80= =9A=C3=84=C3=B4: include/asm-generic/xenomai/hal.h:173: error: storage size of =E2=80=9A=C3=84=C3=B2sysinf= o=E2=80=9A=C3=84=C3=B4 isn=E2=80=9A=C3=84=C3=B4t known include/asm-generic/xenomai/hal.h:173: warning: unused variable =E2=80=9A=C3=84=C3=B2sysinfo=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h: In function =E2=80=9A=C3=84=C3=B2set_task_nowakeup=E2=80=9A=C3= =84=C3=B4: include/asm-generic/xenomai/hal.h:240: error: =E2=80=9A=C3=84=C3=B2TASK_NOWAKEUP=E2=80=9A=C3=84=C3=B4 u= ndeclared (first use in this function) include/asm-generic/xenomai/hal.h:240: error: (Each undeclared identifier i= s reported only once include/asm-generic/xenomai/hal.h:240: error: for each function it appears in.) include/asm-generic/xenomai/hal.h: In function =E2=80=9A=C3=84=C3=B2clear_task_nowakeup=E2=80= =9A=C3=84=C3=B4: include/asm-generic/xenomai/hal.h:245: error: =E2=80=9A=C3=84=C3=B2TASK_NOWAKEUP=E2=80=9A=C3=84=C3=B4 u= ndeclared (first use in this function) include/asm-generic/xenomai/hal.h: At top level: include/asm-generic/xenomai/hal.h:328: error: expected =E2=80=9A=C3=84=C3=B2=3D=E2=80=9A=C3=84=C3=B4, =E2=80=9A= =C3=84=C3=B2,=E2=80=9A=C3=84=C3=B4, =E2=80=9A=C3=84=C3=B2;=E2=80=9A=C3=84=C3=B4, =E2=80=9A=C3=84=C3=B2asm=E2=80=9A=C3=84=C3=B4 or =E2=80=9A=C3=84=C3=B2__attribute__=E2=80=9A=C3=84=C3=B4 before =E2=80= =9A=C3=84=C3=B2rthal_irq_handler_t=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h:329: error: expected =E2=80=9A=C3=84=C3=B2=3D=E2=80=9A=C3=84=C3=B4, =E2=80=9A= =C3=84=C3=B2,=E2=80=9A=C3=84=C3=B4, =E2=80=9A=C3=84=C3=B2;=E2=80=9A=C3=84=C3=B4, =E2=80=9A=C3=84=C3=B2asm=E2=80=9A=C3=84=C3=B4 or =E2=80=9A=C3=84=C3=B2__attribute__=E2=80=9A=C3=84=C3=B4 before =E2=80= =9A=C3=84=C3=B2rthal_irq_ackfn_t=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h:353: error: =E2=80=9A=C3=84=C3=B2IPIPE_NR_CPUS=E2=80=9A=C3=84=C3=B4 u= ndeclared here (not in a function) include/asm-generic/xenomai/hal.h:353: error: =E2=80=9A=C3=84=C3=B2IPIPE_NR_FAULTS=E2=80=9A=C3=84=C3=B4 undeclared here (not in a function) include/asm-generic/xenomai/hal.h:403: error: expected declaration specifiers or =E2=80=9A=C3=84=C3=B2...=E2=80=9A=C3=84=C3=B4 before =E2=80=9A=C3=84=C3=B2rthal_irq_handler_t=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h:404: error: expected declaration specifiers or =E2=80=9A=C3=84=C3=B2...=E2=80=9A=C3=84=C3=B4 before =E2=80=9A=C3=84=C3=B2rthal_irq_ackfn_t=E2=80=9A=C3=84=C3=B4 include/asm-generic/xenomai/hal.h:443: warning: =E2=80=9A=C3=84=C3=B2enum clock_event_mod= e=E2=80=9A=C3=84=C3=B4 declared inside parameter list include/asm-generic/xenomai/hal.h:448: warning: =E2=80=9A=C3=84=C3=B2enum clock_event_mod= e=E2=80=9A=C3=84=C3=B4 declared inside parameter list In file included from include/asm/xenomai/hal.h:73, from kernel/xenomai/arch/generic/hal.c:47: include/asm/xenomai/hal_32.h: In function =E2=80=9A=C3=84=C3=B2rthal_rdtsc=E2=80=9A=C3=84=C3=B4: include/asm/xenomai/hal_32.h:128: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_read_tsc=E2=80=9A=C3=84=C3=B4 include/asm/xenomai/hal_32.h: In function =E2=80=9A=C3=84=C3=B2rthal_timer_program_shot=E2=80= =9A=C3=84=C3=B4: include/asm/xenomai/hal_32.h:150: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_trigger_irq=E2=80=9A=C3=84=C3=B4 include/asm/xenomai/hal_32.h:150: error: =E2=80=9A=C3=84=C3=B2IPIPE_SERVICE_IPI3=E2=80=9A=C3=84=C3=B4 u= ndeclared (first use in this function) kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_critical_enter=E2= =80=9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:94: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_critical_enter=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_critical_exit=E2=80= =9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:107: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_critical_exit=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: At top level: kernel/xenomai/arch/generic/hal.c:159: error: expected declaration specifiers or =E2=80=9A=C3=84=C3=B2...=E2=80=9A=C3=84=C3=B4 before =E2=80=9A=C3=84=C3=B2rthal_irq_handler_t=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:160: error: expected declaration specifiers or =E2=80=9A=C3=84=C3=B2...=E2=80=9A=C3=84=C3=B4 before =E2=80=9A=C3=84=C3=B2rthal_irq_ackfn_t=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_irq_request=E2=80=9A=C3= =84=C3=B4: kernel/xenomai/arch/generic/hal.c:162: error: =E2=80=9A=C3=84=C3=B2handler=E2=80=9A=C3=84=C3=B4 undecla= red (first use in this function) kernel/xenomai/arch/generic/hal.c:162: error: =E2=80=9A=C3=84=C3=B2IPIPE_NR_IRQS=E2=80=9A=C3=84=C3=B4 u= ndeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:165: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_virtualize_irq=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:165: error: =E2=80=9A=C3=84=C3=B2ackfn=E2=80=9A=C3=84=C3=B4 undeclare= d (first use in this function) kernel/xenomai/arch/generic/hal.c:165: error: =E2=80=9A=C3=84=C3=B2IPIPE_HANDLE_MASK=E2=80=9A=C3=84= =C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:165: error: =E2=80=9A=C3=84=C3=B2IPIPE_WIRED_MASK=E2=80=9A=C3=84=C3= =B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:165: error: =E2=80=9A=C3=84=C3=B2IPIPE_EXCLUSIVE_MASK=E2=80= =9A=C3=84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_irq_release=E2=80=9A=C3= =84=C3=B4: kernel/xenomai/arch/generic/hal.c:202: error: =E2=80=9A=C3=84=C3=B2IPIPE_NR_IRQS=E2=80=9A=C3=84=C3=B4 u= ndeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:205: error: =E2=80=9A=C3=84=C3=B2IPIPE_PASS_MASK=E2=80=9A=C3=84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_irq_host_pend=E2=80= =9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:302: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_propagate_irq=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_apc_handler=E2=80=9A=C3= =84=C3=B4: kernel/xenomai/arch/generic/hal.c:401: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_processor_id=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_apc_alloc=E2=80=9A=C3=84=C3= =B4: kernel/xenomai/arch/generic/hal.c:525: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_test_and_stall_pipeline_head=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:536: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_restore_pipeline_head=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_apc_schedule=E2=80=9A= =C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:610: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_schedule_irq=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2hal_read_proc=E2=80=9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:627: error: =E2=80=9A=C3=84=C3=B2IPIPE_MAJOR_NUMBER=E2=80=9A=C3= =84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:628: error: =E2=80=9A=C3=84=C3=B2IPIPE_MINOR_NUMBER=E2=80=9A=C3= =84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:629: error: =E2=80=9A=C3=84=C3=B2IPIPE_PATCH_NUMBER=E2=80=9A=C3= =84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_init=E2=80=9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:798: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_alloc_virq=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:806: error: =E2=80=9A=C3=84=C3=B2ipipe_current_domain=E2=80= =9A=C3=84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:806: error: =E2=80=9A=C3=84=C3=B2IPIPE_HANDLE_MASK=E2=80=9A=C3=84= =C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:832: error: storage size of =E2=80=9A=C3=84=C3=B2attr=E2=80= =9A=C3=84=C3=B4 isn=E2=80=9A=C3=84=C3=B4t known kernel/xenomai/arch/generic/hal.c:832: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_init_attr=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:832: error: =E2=80=9A=C3=84=C3=B2IPIPE_HEAD_PRIORITY=E2=80=9A= =C3=84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:832: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_register_domain=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:832: warning: unused variable =E2=80=9A=C3=84=C3=B2attr= =E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c:873: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_free_virq=E2=80=9A=C3=84=C3=B4 kernel/xenomai/arch/generic/hal.c: In function =E2=80=9A=C3=84=C3=B2rthal_exit=E2=80=9A=C3=84=C3=B4: kernel/xenomai/arch/generic/hal.c:889: error: =E2=80=9A=C3=84=C3=B2ipipe_current_domain=E2=80= =9A=C3=84=C3=B4 undeclared (first use in this function) kernel/xenomai/arch/generic/hal.c:903: error: implicit declaration of function =E2=80=9A=C3=84=C3=B2ipipe_unregister_domain=E2=80=9A=C3=84=C3=B4 make[4]: *** [kernel/xenomai/arch/generic/hal.o] Error 1 make[3]: *** [kernel/xenomai/arch/generic] Error 2 make[2]: *** [kernel/xenomai/arch] Error 2 make[1]: *** [kernel/xenomai] Error 2 make: *** [kernel] Error 2 igvc@domain.hid$ --B_3303159646_612702 Content-type: text/html; charset="UTF-8" Content-transfer-encoding: quoted-printable Xenomai kernel compile issue Hello, I’m trying to compile Xenomai by following the= Xenomai Quick build guide found on this page: < http:/= /www.xenomai.org/index.php/Xenomai_quick_build_quide> howe= ver I run across a compiling error shown here:
igvc@domain.hid$ sudo cp /boot/config-2.6.25.11 .= config
igvc@domain.hid$ sudo make menuconfig
scripts/kconfig/mconf arch/x86/Kconfig
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

igvc@domain.hid$ sudo make
scripts/kconfig/conf -s arch/x86/Kconfig
#
# configuration written to .config
#
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/x86/kernel/asm-offsets.s<= BR>   GEN     include/asm-x86/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
  CC      arch/x86/kernel/process_32.o   CC      arch/x86/kernel/signal_32.o   AS      arch/x86/kernel/entry_32.o
  CC      arch/x86/kernel/traps_32.o
  CC      arch/x86/kernel/irq_32.o
  CC      arch/x86/kernel/time_32.o
  CC      arch/x86/kernel/ioport.o
  CC      arch/x86/kernel/ldt.o
  CC      arch/x86/kernel/setup_32.o
  CC      arch/x86/kernel/i8259_32.o
  CC      arch/x86/kernel/sys_i386_32.o<= BR>   CC      arch/x86/kernel/i386_ksyms_32.= o
  CC      arch/x86/kernel/pci-dma_32.o   CC      arch/x86/kernel/bootflag.o
  CC      arch/x86/kernel/e820_32.o
  CC      arch/x86/kernel/quirks.o
  CC      arch/x86/kernel/i8237.o
  CC      arch/x86/kernel/topology.o
  CC      arch/x86/kernel/kdebugfs.o
  CC      arch/x86/kernel/alternative.o<= BR>   CC      arch/x86/kernel/i8253.o
  CC      arch/x86/kernel/tsc_32.o
  CC      arch/x86/kernel/io_delay.o
  CC      arch/x86/kernel/rtc.o
  CC      arch/x86/kernel/i387.o
  CC      arch/x86/kernel/ptrace.o
  CC      arch/x86/kernel/ds.o
  CC      arch/x86/kernel/tls.o
  CC      arch/x86/kernel/step.o
  CC      arch/x86/kernel/cpu/intel_cach= einfo.o
  CC      arch/x86/kernel/cpu/addon_cpui= d_features.o
  CC      arch/x86/kernel/cpu/feature_na= mes.o
  CC      arch/x86/kernel/cpu/common.o   CC      arch/x86/kernel/cpu/proc.o
  CC      arch/x86/kernel/cpu/bugs.o
  CC      arch/x86/kernel/cpu/amd.o
  CC      arch/x86/kernel/cpu/cyrix.o   CC      arch/x86/kernel/cpu/centaur.o<= BR>   CC      arch/x86/kernel/cpu/transmeta.= o
  CC      arch/x86/kernel/cpu/intel.o   CC      arch/x86/kernel/cpu/nexgen.o   CC      arch/x86/kernel/cpu/umc.o
  CC      arch/x86/kernel/cpu/mtrr/main.= o
  CC      arch/x86/kernel/cpu/mtrr/if.o<= BR>   CC      arch/x86/kernel/cpu/mtrr/gener= ic.o
  CC      arch/x86/kernel/cpu/mtrr/state= o
  CC      arch/x86/kernel/cpu/mtrr/amd.o=
  CC      arch/x86/kernel/cpu/mtrr/cyrix= o
  CC      arch/x86/kernel/cpu/mtrr/centa= ur.o
  LD      arch/x86/kernel/cpu/mtrr/built= -in.o
  CC      arch/x86/kernel/cpu/perfctr-wa= tchdog.o
  LD      arch/x86/kernel/cpu/built-in.o=
  CC      arch/x86/kernel/reboot.o
  CC      arch/x86/kernel/mca_32.o
  CC      arch/x86/kernel/early-quirks.o=
  CC      arch/x86/kernel/mpparse_32.o   CC      arch/x86/kernel/apic_32.o
  CC      arch/x86/kernel/nmi_32.o
  CC      arch/x86/kernel/reboot_fixups_= 32.o
  CC      arch/x86/kernel/machine_kexec_= 32.o
  CC      arch/x86/kernel/crash.o
  CC      arch/x86/kernel/crash_dump_32.= o
  CC      arch/x86/kernel/kprobes.o
  CC      arch/x86/kernel/module_32.o   CC      arch/x86/kernel/doublefault_32= o
  CC      arch/x86/kernel/vm86_32.o
  CC      arch/x86/kernel/early_printk.o=
  CC      arch/x86/kernel/k8.o
  CC      arch/x86/kernel/vmi_32.o
  CC      arch/x86/kernel/vmiclock_32.o<= BR>   CC      arch/x86/kernel/paravirt.o
  CC      arch/x86/kernel/paravirt_patch= _32.o
  CC      arch/x86/kernel/pcspeaker.o   LD      arch/x86/kernel/built-in.o
  AS      arch/x86/kernel/head_32.o
  CC      arch/x86/kernel/init_task.o   LDS     arch/x86/kernel/vmlinux.lds
  CC [M]  arch/x86/kernel/msr.o
  CC [M]  arch/x86/kernel/cpuid.o
  CC [M]  arch/x86/kernel/microcode.o
  CC [M]  arch/x86/kernel/scx200_32.o
  LD [M]  arch/x86/kernel/scx200.o
  CC      arch/x86/mm/init_32.o
  CC      arch/x86/mm/pgtable_32.o
  CC      arch/x86/mm/fault.o
  CC      arch/x86/mm/ioremap.o
  CC      arch/x86/mm/extable.o
  CC      arch/x86/mm/pageattr.o
  CC      arch/x86/mm/mmap.o
  CC      arch/x86/mm/highmem_32.o
  LD      arch/x86/mm/built-in.o
  CC      arch/x86/mach-default/setup.o<= BR>   LD      arch/x86/mach-default/built-in= o
  AS [M]  arch/x86/crypto/aes-i586-asm_32.o
  CC [M]  arch/x86/crypto/aes_glue.o
  AS [M]  arch/x86/crypto/twofish-i586-asm_32.o
  CC [M]  arch/x86/crypto/twofish_glue.o
  LD [M]  arch/x86/crypto/aes-i586.o
  LD [M]  arch/x86/crypto/twofish-i586.o
  AS      arch/x86/vdso/vdso32/int80.o   VDSO    arch/x86/vdso/vdso32-int80.so.dbg
  OBJCOPY arch/x86/vdso/vdso32-int80.so
  AS      arch/x86/vdso/vdso32/sysenter.= o
  VDSO    arch/x86/vdso/vdso32-sysenter.so.dbg
  OBJCOPY arch/x86/vdso/vdso32-sysenter.so
  AS      arch/x86/vdso/vdso32.o
  CC      arch/x86/vdso/vdso32-setup.o   VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD      arch/x86/vdso/built-in.o
  CC      kernel/sched.o
kernel/sched.c:1027: warning: ‚Äòinit_hrtick‚Ä= ô defined but not used
  CC      kernel/fork.o
  CC      kernel/exec_domain.o
  CC      kernel/panic.o
  CC      kernel/printk.o
  CC      kernel/profile.o
  CC      kernel/exit.o
  CC      kernel/itimer.o
  CC      kernel/time.o
  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o
  CC      kernel/capability.o
  CC      kernel/ptrace.o
  CC      kernel/timer.o
  CC      kernel/user.o
  CC      kernel/signal.o
  CC      kernel/sys.o
  CC      kernel/kmod.o
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      kernel/extable.o
  CC      kernel/params.o
  CC      kernel/posix-timers.o
  CC      kernel/kthread.o
  CC      kernel/wait.o
  CC      kernel/kfifo.o
  CC      kernel/posix-cpu-timers.o
  CC      kernel/mutex.o
  CC      kernel/hrtimer.o
  CC      kernel/rwsem.o
  CC      kernel/nsproxy.o
  CC      kernel/srcu.o
  CC      kernel/notifier.o
  CC      kernel/ksysfs.o
  CC      kernel/pm_qos_params.o
  CC      kernel/sysctl_check.o
  CC      kernel/irq/handle.o
  CC      kernel/irq/manage.o
  CC      kernel/irq/spurious.o
  CC      kernel/irq/resend.o
  CC      kernel/irq/chip.o
  CC      kernel/irq/devres.o
  CC      kernel/irq/autoprobe.o
  CC      kernel/irq/proc.o
  LD      kernel/irq/built-in.o
  CC      kernel/time/timekeeping.o
  CC      kernel/time/ntp.o
  CC      kernel/time/clocksource.o
  CC      kernel/time/jiffies.o
  CC      kernel/time/timer_list.o
  CC      kernel/time/clockevents.o
  CC      kernel/time/tick-common.o
  CC      kernel/time/tick-broadcast.o   CC      kernel/time/tick-oneshot.o
  CC      kernel/time/tick-sched.o
  CC      kernel/time/timer_stats.o
  LD      kernel/time/built-in.o
  CC      kernel/xenomai/arch/generic/ha= l.o
In file included from kernel/xenomai/arch/generic/hal.c:47:
include/asm/xenomai/hal.h:65: warning: ‘struct ipipe_ti= ck_device’ declared inside parameter list
include/asm/xenomai/hal.h:65: warning: its scope is only this definition or= declaration, which is probably not what you want
include/asm/xenomai/hal.h:65: warning: ‘enum clock_even= t_mode’ declared inside parameter list
include/asm/xenomai/hal.h:67: warning: ‘struct ipipe_ti= ck_device’ declared inside parameter list
In file included from include/asm/xenomai/hal_32.h:54,
            &nb= sp;    from include/asm/xenomai/hal.h:73,
            &nb= sp;    from kernel/xenomai/arch/generic/hal.c:47:
include/asm-generic/xenomai/hal.h: In function ‘rthal_g= et_cpufreq’:
include/asm-generic/xenomai/hal.h:166: error: storage size of ‚Ä= òsysinfo‚Äô isn‚Äôt known
include/asm-generic/xenomai/hal.h:167: error: implicit declaration of funct= ion ‘ipipe_get_sysinfo’
include/asm-generic/xenomai/hal.h:166: warning: unused variable ‚&Aum= l;òsysinfo‚Äô
include/asm-generic/xenomai/hal.h: In function ‘rthal_g= et_timerfreq’:
include/asm-generic/xenomai/hal.h:173: error: storage size of ‚Ä= òsysinfo‚Äô isn‚Äôt known
include/asm-generic/xenomai/hal.h:173: warning: unused variable ‚&Aum= l;òsysinfo‚Äô
include/asm-generic/xenomai/hal.h: In function ‘set_tas= k_nowakeup’:
include/asm-generic/xenomai/hal.h:240: error: ‘TASK_NOW= AKEUP’ undeclared (first use in this function)
include/asm-generic/xenomai/hal.h:240: error: (Each undeclared identifier i= s reported only once
include/asm-generic/xenomai/hal.h:240: error: for each function it appears = in.)
include/asm-generic/xenomai/hal.h: In function ‘clear_t= ask_nowakeup’:
include/asm-generic/xenomai/hal.h:245: error: ‘TASK_NOW= AKEUP’ undeclared (first use in this function)
include/asm-generic/xenomai/hal.h: At top level:
include/asm-generic/xenomai/hal.h:328: error: expected ‚Äò= ;=3D‚Äô, ‚Äò,‚Äô, ‚&= Auml;ò;‚Äô, ‚Äòasm‚Ä&oc= irc; or ‚Äò__attribute__‚Äô before ‚= ;Äòrthal_irq_handler_t‚Äô
include/asm-generic/xenomai/hal.h:329: error: expected ‚Äò= ;=3D‚Äô, ‚Äò,‚Äô, ‚&= Auml;ò;‚Äô, ‚Äòasm‚Ä&oc= irc; or ‚Äò__attribute__‚Äô before ‚= ;Äòrthal_irq_ackfn_t‚Äô
include/asm-generic/xenomai/hal.h:353: error: ‘IPIPE_NR= _CPUS’ undeclared here (not in a function)
include/asm-generic/xenomai/hal.h:353: error: ‘IPIPE_NR= _FAULTS’ undeclared here (not in a function)
include/asm-generic/xenomai/hal.h:403: error: expected declaration specifie= rs or ‚Äò...‚Äô before ‚Ä&ogra= ve;rthal_irq_handler_t‚Äô
include/asm-generic/xenomai/hal.h:404: error: expected declaration specifie= rs or ‚Äò...‚Äô before ‚Ä&ogra= ve;rthal_irq_ackfn_t‚Äô
include/asm-generic/xenomai/hal.h:443: warning: ‘enum c= lock_event_mode’ declared inside parameter list
include/asm-generic/xenomai/hal.h:448: warning: ‘enum c= lock_event_mode’ declared inside parameter list
In file included from include/asm/xenomai/hal.h:73,
            &nb= sp;    from kernel/xenomai/arch/generic/hal.c:47:
include/asm/xenomai/hal_32.h: In function ‚Äòrthal_rdtsc&= #8218;Äô:
include/asm/xenomai/hal_32.h:128: error: implicit declaration of function &= #8218;Äòipipe_read_tsc‚Äô
include/asm/xenomai/hal_32.h: In function ‘rthal_timer_= program_shot’:
include/asm/xenomai/hal_32.h:150: error: implicit declaration of function &= #8218;Äòipipe_trigger_irq‚Äô
include/asm/xenomai/hal_32.h:150: error: ‘IPIPE_SERVICE= _IPI3’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_c= ritical_enter’:
kernel/xenomai/arch/generic/hal.c:94: error: implicit declaration of functi= on ‘ipipe_critical_enter’
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_c= ritical_exit’:
kernel/xenomai/arch/generic/hal.c:107: error: implicit declaration of funct= ion ‘ipipe_critical_exit’
kernel/xenomai/arch/generic/hal.c: At top level:
kernel/xenomai/arch/generic/hal.c:159: error: expected declaration specifie= rs or ‚Äò...‚Äô before ‚Ä&ogra= ve;rthal_irq_handler_t‚Äô
kernel/xenomai/arch/generic/hal.c:160: error: expected declaration specifie= rs or ‚Äò...‚Äô before ‚Ä&ogra= ve;rthal_irq_ackfn_t‚Äô
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_i= rq_request’:
kernel/xenomai/arch/generic/hal.c:162: error: ‚Äòhandler&= #8218;Äô undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:162: error: ‘IPIPE_NR= _IRQS’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:165: error: implicit declaration of funct= ion ‘ipipe_virtualize_irq’
kernel/xenomai/arch/generic/hal.c:165: error: ‚Äòackfn= 218;Äô undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:165: error: ‘IPIPE_HA= NDLE_MASK’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:165: error: ‘IPIPE_WI= RED_MASK’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:165: error: ‘IPIPE_EX= CLUSIVE_MASK’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_i= rq_release’:
kernel/xenomai/arch/generic/hal.c:202: error: ‘IPIPE_NR= _IRQS’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:205: error: ‘IPIPE_PA= SS_MASK’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_i= rq_host_pend’:
kernel/xenomai/arch/generic/hal.c:302: error: implicit declaration of funct= ion ‘ipipe_propagate_irq’
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_a= pc_handler’:
kernel/xenomai/arch/generic/hal.c:401: error: implicit declaration of funct= ion ‘ipipe_processor_id’
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_a= pc_alloc’:
kernel/xenomai/arch/generic/hal.c:525: error: implicit declaration of funct= ion ‚Äòipipe_test_and_stall_pipeline_head‚Ä&oci= rc;
kernel/xenomai/arch/generic/hal.c:536: error: implicit declaration of funct= ion ‘ipipe_restore_pipeline_head’
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_a= pc_schedule’:
kernel/xenomai/arch/generic/hal.c:610: error: implicit declaration of funct= ion ‘ipipe_schedule_irq’
kernel/xenomai/arch/generic/hal.c: In function ‘hal_rea= d_proc’:
kernel/xenomai/arch/generic/hal.c:627: error: ‘IPIPE_MA= JOR_NUMBER’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:628: error: ‘IPIPE_MI= NOR_NUMBER’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:629: error: ‘IPIPE_PA= TCH_NUMBER’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_i= nit’:
kernel/xenomai/arch/generic/hal.c:798: error: implicit declaration of funct= ion ‘ipipe_alloc_virq’
kernel/xenomai/arch/generic/hal.c:806: error: ‘ipipe_cu= rrent_domain’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:806: error: ‘IPIPE_HA= NDLE_MASK’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:832: error: storage size of ‚Ä= òattr‚Äô isn‚Äôt known
kernel/xenomai/arch/generic/hal.c:832: error: implicit declaration of funct= ion ‘ipipe_init_attr’
kernel/xenomai/arch/generic/hal.c:832: error: ‘IPIPE_HE= AD_PRIORITY’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:832: error: implicit declaration of funct= ion ‘ipipe_register_domain’
kernel/xenomai/arch/generic/hal.c:832: warning: unused variable ‚&Aum= l;òattr‚Äô
kernel/xenomai/arch/generic/hal.c:873: error: implicit declaration of funct= ion ‘ipipe_free_virq’
kernel/xenomai/arch/generic/hal.c: In function ‘rthal_e= xit’:
kernel/xenomai/arch/generic/hal.c:889: error: ‘ipipe_cu= rrent_domain’ undeclared (first use in this function)
kernel/xenomai/arch/generic/hal.c:903: error: implicit declaration of funct= ion ‘ipipe_unregister_domain’
make[4]: *** [kernel/xenomai/arch/generic/hal.o] Error 1
make[3]: *** [kernel/xenomai/arch/generic] Error 2
make[2]: *** [kernel/xenomai/arch] Error 2
make[1]: *** [kernel/xenomai] Error 2
make: *** [kernel] Error 2
igvc@domain.hid$





--B_3303159646_612702--