Re: Unknown symbol in module but ...

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

 



Selon Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca>:
 
> When I try to load it, I have the following errorinsmod: 
> error inserting '/home/guill/build/k265-elsa/kernel/elsa_acct.ko': -1
> Unknown
> symbol in module:

Oops, I forgot missing symbols. They are:

# make O=/home/guill/build/k265-elsa modules_install
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.5-elsa; fi
WARNING: /lib/modules/2.6.5-elsa/kernel/kernel/elsa_acct.ko needs unknown symbol
elsa_bank_set_info
WARNING: /lib/modules/2.6.5-elsa/kernel/kernel/elsa_acct.ko needs unknown symbol
elsa_init_cb
WARNING: /lib/modules/2.6.5-elsa/kernel/kernel/elsa_acct.ko needs unknown symbol
elsa_bank_get_info

and in the System.map I have:

# cat /home/guill/build/k265-elsa/System.map | grep "elsa"
c01316f0 T elsa_bank_set_info
c013171f T elsa_bank_get_info
c013173d T elsa_init_cb
c0131750 T elsa_bank_add
c013189c T elsa_bank_clean
c01318f2 T elsa_bank_remove
c013196d T elsa_copy_parent_bank
c01319f5 T elsa_bank_remove_all
c0131a2f t elsa_get_bid
c0131ab9 t elsa_get_bank
c0131b09 t elsa_get_data
c0131b73 t elsa_bank_alloc
c0131c1c t elsa_bank_free
c0131cf5 t elsa_data_free
c0131fab t .text.lock.elsa_bank
c03c2e30 d elsa_broot
c03c2e4c d elsa_bid_sem

# /sbin/depmod --version
module-init-tools 3.0-pre1

Thus, symbols are in the System.map...

Guillaume


--
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