From: Jeff Weber <jweber@domain.hid>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai-help] warnings linking demo rtdm modules
Date: Fri, 26 Feb 2010 09:48:42 -0600 [thread overview]
Message-ID: <4B87ED5A.5050401@domain.hid> (raw)
I'm writing a kernel module that uses RTDM, and have started with a
Makefile based upon examples/rtdm/driver-api/Makefile.
Both the example Makefile, and therefore mine as well, emit linker warnings:
make -f /usr/src/linux-2.6.31.12-xenomai-2.5.1/scripts/Makefile.modpost
scripts/mod/modpost -i
/usr/src/linux-2.6.31.12-xenomai-2.5.1/Module.symvers -I
/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/Module.symvers -o
/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/Module.symvers -S -K
/usr/src/linux-2.6.31.12-xenomai-2.5.1/Module.markers -M
/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/Module.markers -w -s
WARNING: "rtdm_dev_register"
[/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/tut02-skeleton-drv.ko]
undefined!
WARNING: "rtdm_sem_init"
[/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/tut02-skeleton-drv.ko]
undefined!
WARNING: "rtdm_sem_down"
[/usr/src/xenomai-2.5.1/examples/rtdm/driver-api/tut02-skeleton-drv.ko]
undefined!
...
How do I fix these warnings?
It appears modpost would be happy if given a *.symvers file for
xeno_rtdem.ko. However I could not find such a file.
Both the demo and my modules do load without errors, however.
I have built the nucleus and rtdm kernel as modules, and am running xeno
version 2.5.1.
thanks,
Jeff
reply other threads:[~2010-02-26 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B87ED5A.5050401@domain.hid \
--to=jweber@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.