On Sun, 12 Jun 2005, Robert Fitzsimons wrote:
> Hello Pritam
>> > 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
> > modules?
>> 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?
If he doesn't, then Corbet, Rubini & Kroah-Hartman certainly do....
The 3rd ed. of "Linux Device Drivers" is now online courtesy of LWN at
lwn.net/Kernel/LDD3/, and the example source code (including the odd
Makefile) is at http://examples.oreilly.com/linuxdrive3/examples.tar.gz
This is *the* book on the subject, and it's really good. If you get the
dead-tree version, make sure you check the errata page, though, because
there's a disconcerting (for an O'Reilly text) number of trivial
errors (e.g. while writing the book, they used "Chapter 1" instead of
"Chapter FIXME!" and missed it at link-time), and a few more serious ones.
Ronan
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!