Re: Unknown symbol in module

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

 



Hi,
     Can u atleast mail some code skeleton of files stating exported variables and makefile so that i can check whats going wrong?
regards,
parag.

On 12/6/05, Vincenzo Mallozzi <vinjunior@xxxxxxxx> wrote:
Hi all,
I'm compiling my LKM for kernel 2.6.14 and I've encountered a problem with
some variables/functions.
First of all, I precise that this module works well in kernel 2.4.
Now, when I compile the LKM, all works well in the stage 1, but during the
stage 2 are printed some warnings like these:

*** Warning: "mtpmc_signal_value" [/Tesi/mtpmc/2.6/src/mtpmc_memory.ko]
undefined!
*** Warning: "mtpmc_total_memory" [/Tesi/mtpmc/2.6/src/mtpmc_memory.ko]
undefined!
*** Warning: "mtpmc_ultoa" [/Tesi/mtpmc/2.6/src/mtpmc_memory.ko] undefined!
*** Warning: "mtpmc_bloom_size" [/Tesi/mtpmc/2.6/src/mtpmc.ko] undefined!

Then, when I try to insmod mtpmc.ko, is showed the message:

insmod: error inserting './mtpmc.ko': -1 Unknown symbol in module

and in syslog file there is the message:

mtpmc: Unknown symbol mtpmc_bloom_size

Now, I've tried to export mtpmc_bloom_size but nothing matters.
Any Idea?
Thanks.
Vincenzo Mallozzi.

P.S. All undefined references are into the files of my module and are declared
extern in the files that need them.





___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux