to find out Unresolved symbel when I insert device driver?
From: somez72 (somez72_at_chollian.net)
Date: 01/29/04
- Previous message: Sebastian Hans: "Re: Disable Alt + Ctrl + Backspace selectively"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: to find out Unresolved symbel when I insert device driver?"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: to find out Unresolved symbel when I insert device driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 03:06:52 -0800
Hello.
I have a device driver module souce.
1) in red hat 9.0. ( kernel version 2.4.20 ), module compile is OK and it
seems like working
well.(produced xxyy_module.o )
just when I issue insmod xxyy_module.o , I got warning.
"Warning: loading xxyy_moudule.o will taint the kernel: no license"
"See http://www.tux.org/lkml/#export-tained for information about tained
modules"
"Module xxyy_module.o loaded, with warnings"
2) in my new installed kernel ( kernel version 2.4.18), compile is
OK(produced xxyy_module.o)
but when I issue insmode xxy_module.o , I got error message as follows.
"xxyy_module.o: unresolved symbol register_chrdev_Re70f806e"
"xxyy_module.o: unresolved sysbol irq_stat_Rc0ba6f96"
I want to export "register_chrdev_Re70f806e and irq_stat_Rc0ba6f96 "
function,
for exporting, I searched all kernel tree ( in above kernel 2.4.20) to
find out prototype of two functions.
( grep -rn register_chrdev_Re70f806e / && grep -rn irq_stat_Rc0ba6f96 / ).
I searched every direcotory under / , and I just found a number of Binary
file matches
(for example : /lib/modules/kernel/drives/pcmcia/ps.o ...... )
I cant't find function prototype of it,
Could someone help?, How can I find out prototype of that unresolved
funtions.
How can I accept(understand) this sistuation? there is no prototype of
funtion?? is thre No Way to solve it?
*ps) I should use 2.4.18 kernel even if it older than 2.4.20. because I had
patched in kernel-2.4.18 sevral times for my special purpose.
Have a day.
Thank you.
- Previous message: Sebastian Hans: "Re: Disable Alt + Ctrl + Backspace selectively"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: to find out Unresolved symbel when I insert device driver?"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: to find out Unresolved symbel when I insert device driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|