> 1. I have couple of symbols in mymodule.c to be
> exported. I added EXPORT_SYMBOL() with those symbols
> in my mymodule.c, but it does not help.
> Do I need to do something extra
> to export symbols which will be used my other existing
Are the exported symbols defined in a header file, and is the header
file included in the second module?
Also do you have a correct makefile for a 2.6 kernel?
> 2. I could build mymodule.ko in my private directory
> How can I change the boot-up scripts to start my
> automatically from my private directory?
As part of your makefile you can copy the modules into the correct
/lib/modules/`uname -r`/kernel directory, and then run "depmod -ae".
Or "depmod -e /home/myname/mydir/mymodule.ko othermodules..." might do
Then when you run "modprobe mymodule" from the boot-up script the
module and it's dependence's should be loaded.
robfitz at 273k.net
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!