Re: make modules

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

 



On Fri, Jan 04, 2002 at 10:33:09AM +0530, Daniel Marian wrote:
>  I want to include smbfs support for my Linux machine(kernel 2.4.6).

Linux-2.4.6 contains known bugs, you really should upgrade to
linux-2.4.17.

> I did a 'make modules'.
> The smbfs.o module was created in the following directory
> "/lib/modules/2.4.6/kernel/fs/smbfs/"
> When I tried insmod smbfs.o, I encountered a list of unresolved symbols
> 
> smbfs.o: unresolved symbol insert_inode_hash_Rc6152c87
> smbfs.o: unresolved symbol iput_Refe258b6
> smbfs.o: unresolved symbol d_delete_R1909c0c5
> smbfs.o: unresolved symbol find_inode_number_R2ab294bc
> ....
> Is the steps which I have followed correct ?
> Should I rebuild the kernel to include smbfs support ?

Always use modprobe to insert a module (modprobe smbfs), modprobe will
automatically solve dependencies by loading the appropriate modules.

If that doesn't work, your kernel is probably compiled with module
versioning, while the smbfs module apparently isn't. Module versioning
is subtly broken in linux-2.4 so you'd better avoid using it at all.
See also:

  http://www.kernelnewbies.org/faq/index.php3#compmod.xml


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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