Skip to contentSkip to conversation

problem loading module

ma-linux Vishwanath Kalbagilmath 1 participant 1 message Oct 28, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 0cfa01c3931a$1b13a190$19de4c0f@nta2225

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi All,

After including some of the versioning header files and some macros like MODVERSIONS, I am still unable to load the module into the kernel. Now the printk(), kmalloc() problems are solved, now only left out is unresolved symbol is register_chrdev_Rsmp_904e3677 but ksyms has register_chrdev_Rsmp_e337b494
Please let me know where I am making mistake...

Thanks in Adv
Vishwanath

----- Original Message -----
From: "John S J Anderson" <[email protected]>
To: "Vishwanath Kalbagilmath" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, October 15, 2003 6:32 PM
Subject: Re: [ma-linux] problem loading module

Quoted 24 lines
Quoted 9 lines · Vishwanath Kalbagilmath

these are the unresolved symbols that I get when trying the loadable module in RH 7.3 and RHAS 2.1 as well, can anybody suggest some soln to this...

mydrv.o: unresolved symbol unregister_chrdev_Rc192d491 mydrv.o: unresolved symbol register_chrdev_Rd115e0a6 mydrv.o: unresolved symbol snprintf_Raf25400d mydrv.o: unresolved symbol kmalloc_R6f6c1cf7 mydrv.o: unresolved symbol printk_R827d5807

If you're not seeing printk(), you're almost certainly doing something wrong. Have you looked at the Module HOWTO?

<http://www.tldp.org/HOWTO/Module-HOWTO/index.html>

john.

Signature · 4 lines
Linux's power is that we FIX stuff. That we make it the best system
possible, and that we don't just whine and argue about things.
  -- Linus Torvalds in 
     <[email protected]>