Re: Unresolved kernel symbols when installing a custom module

2002-06-20 Thread Goedson Teixeira Paixao
Em Qua, 2002-06-19 às 12:13, Torsten Wolny escreveu:
 Hi,
 
 Am Mit, 2002-06-19 um 11.57 schrieb Goedson Teixeira Paixão:
  
  I'm trying to install the ILK module from the GILK project
  (http://www.doc.ic.ac.uk/~djp1/gilk.html) but when I insmod ilk.o I get
  this erro message:
  
  ilk.o: unresolved symbol __generic_copy_from_user
 

depmod says:

depmod: *** Unresolved symbols in ilk.o


But I found out  something interesting. When I do nm -B ilk.o, I get
the following as the reference for kmalloc:
U kmalloc
and when I do nm -B some_module_in_lib_modules (eg., ide-floppy.o) I
get this:
U kmalloc_R93d4cfe6

So, my problem now is how do I get the reference to kmalloc in my
module to be like the reference found in the kernel modules?

-- 
Goedson Teixeira Paixão
Departamento de Ciência da Computação
Universidade Federal de Minas Gerais
http://www.dcc.ufmg.br/~gopaixao/


signature.asc
Description: PGP signature


Unresolved kernel symbols when installing a custom module

2002-06-19 Thread Goedson Teixeira Paixão

Hi,


I'm trying to install the ILK module from the GILK project
(http://www.doc.ic.ac.uk/~djp1/gilk.html) but when I insmod ilk.o I get
this erro message:

ilk.o: unresolved symbol __generic_copy_from_user
ilk.o: unresolved symbol kmalloc
ilk.o: unresolved symbol unregister_chrdev
ilk.o: unresolved symbol register_chrdev
ilk.o: unresolved symbol kfree
ilk.o: unresolved symbol printk
ilk.o: unresolved symbol __generic_copy_to_user
ilk.o: 

Any hints on how I can solve this problem? I'm using woody with kernel
version 2.2.20.


-- 
Goedson Teixeira Paixão
Departamento de Ciência da Computação
Universidade Federal de Minas Gerais
http://www.dcc.ufmg.br/~gopaixao/
GPG fingerprint: 861F 4E6A FD88 C82D 4791  EDB9 34B1 EC71 5432 2E99


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unresolved kernel symbols when installing a custom module

2002-06-19 Thread Torsten Wolny
Hi,

Am Mit, 2002-06-19 um 11.57 schrieb Goedson Teixeira Paixão:
 
   I'm trying to install the ILK module from the GILK project
 (http://www.doc.ic.ac.uk/~djp1/gilk.html) but when I insmod ilk.o I get
 this erro message:
 
 ilk.o: unresolved symbol __generic_copy_from_user

I'm not sure, but try depmod first.

Torsten


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]