[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: statically linked modules




--- jhorton <jhorton@mvista.com> wrote:
> Hi,
> I want to be able to statically link my module into
> a kernel - I have
> made a char device in /dev but the init_module
> function does not ever
> seem to be called - so I cannot access the device -
> what do I need to do
> so that this module is initialised and I can use the
> device? does anyone
> know? help!
> Regards
> John Horton

Try first to compile it as module and then 'insmod'
it,
see what happens.
I prefer this way and it works for me

cheers...

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/