Niklaus Burren wrote:
Hello
Im trying to create a Xenomai kernel module for a ARM processor
(PXA-270). In this module I register a interrupt handler with the
function rt_inter_create(). When I compile the module I get the
following warnings:
*** Warning: "rt_intr_delete"
[/home/student/work/xenomai/latency-test/latency-test.ko] undefined!
*** Warning: "rt_intr_create"
[/home/student/work/xenomai/latency-test/latency-test.ko] undefined!
*** Warning: "rt_intr_enable"
[/home/student/work/xenomai/latency-test/latency-test.ko] undefined!
I don't know what is wrong. In my makefile I have defined the paths to
the libraries and the include files of xenomai:
obj-m = latency-test.o
XENODIR = /opt/carme/rootfs/usr/xenomai
KDIR = /opt/carme/linux-2.6.15-col2
PWD = $(shell pwd)
EXTRA_CFLAGS = -I $(XENODIR)/include -L $(XENODIR)/lib
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
Has someone an idea what is wrong?
Have you enabled support for interrupts in the native skin? Check for
CONFIG_XENO_OPT_NATIVE_INTR in your config file.
Wolfgang.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help