Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-28-2005, 06:16 AM   #1
LQ Newbie
Registered: Oct 2005
Location: Italy
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
link between kernel source and modules

Hello all!

How can i know, given a kernel source file, which is the module it is relative to?

my problem comes out when i type 'make module_install' compiling the kernel (2.4.31):
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r ]; then /sbin/depmod -ae -F 2.4.31; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.31/kernel/drivers/char/drm/sis.o
depmod: sis_malloc_R3037658e
depmod: sis_free_R454a3cf0
depmod: *** Unresolved symbols in /lib/modules/2.4.31/kernel/drivers/net/wan/wanpipe.o
depmod: lock_adapter_irq_R546498ad
depmod: unregister_wan_device_R0ebe03d1
depmod: register_wan_device_R19d80b25
depmod: wanrouter_encapsulate_R6e57e8d8
depmod: unlock_adapter_irq_Rba8f756a
depmod: wanrouter_type_trans_Rf3dd949a

so, if it's possible, a good quick workaround could be to drop out(while making config)
the modules these files are relative to, couldn't it?
any suggestion about solving this problem in a "cleany" way is also well accepted!


Old 12-28-2005, 07:49 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,318

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351

I've been having similar problems.

A "make clean" usually does the trick if you've been disabled/enabled a lot of modules.

But then you need to recompile everything.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NDIS Wrapper needs link to kernel source... amobius Linux - Wireless Networking 1 09-20-2005 10:30 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM
Kernel Source/Making a Link y00b Mandriva 6 11-19-2004 12:52 AM
how to link to kernel source for Debian ndiswrapper installation case1984 Linux - Newbie 0 09-10-2004 11:32 AM
Modules install link question Tuzinor Linux - General 1 12-16-2002 05:48 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration