Skip to contentSkip to conversation

Symbols undefined [Scanned]

Xenomai-help Niklaus Burren 2 participants 2 messages Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

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?

Kind Regards

Niklaus Burren

#1 lore raw
Quoted 18 lines · Niklaus Burren

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

Quoted 8 lines

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.