compiling probs
Hello,
when i try to compile the module examples from the xenomai source directory i get many <in file included> like this
In file included from /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
from/home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
from/home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
from heartbeat-x86.c:21:
also a type qualifier warning.
/home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers ignored on function return type
Did anyone know what i make wrong?
I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository with the ELDK4.1.
my make to build the modules is like <make XENO=$DESTDIR/root/xenomai CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.
Axel
Quoted 27 lines · Axel Beierlein
Hello,
when i try to compile the module examples from the xenomai source directory i get many <in file included> like this
In file included from
/home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
from/home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
from/home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
from/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
from/home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,from heartbeat-x86.c:21:also a type qualifier warning.
Quoted 7 lines
/home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers ignored on function return typeDid anyone know what i make wrong?
I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository with the ELDK4.1.
my make to build the modules is like <make XENO=$DESTDIR/root/xenomai CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.
Is your kernel configured and built? Does adding ARCH=ppc help?
Is module support enabled in the kernel? What ELDK version do you use?
It works fine here.
Wolfgang.