View previous topic :: View next topic |
Author |
Message |
sparriskrigaren Tux's lil' helper
Joined: 20 Aug 2003 Posts: 103
|
Posted: Tue Sep 16, 2003 10:48 am Post subject: "unresolved symbol" when compiling modules |
|
|
In various situations I get the error message "unresolved symbol" when compiling modules. the last time was when I downloaded the drivers for my webcam and tried compiling the modules, and I got that error message. But I've also got it sometimes when trying to compile other modules.
What does it mean? Is there anything to do about it, or do I have to explain more exactly what I am compiling or is it a general error?
/Johan |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Tue Sep 16, 2003 12:02 pm Post subject: |
|
|
You normally get this error when you are compiling your modules against a kernel version that is different that your current running kernel. Adjust the symlink in /usr/src/linux to point to the source tree of the kernel you are running, then this error must go (someone correct me if I'm wrong)
HTH
regards, _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
sparriskrigaren Tux's lil' helper
Joined: 20 Aug 2003 Posts: 103
|
Posted: Tue Sep 16, 2003 7:07 pm Post subject: :/ |
|
|
That didn't quite work :/
at least not for the particular case. It may have prevented it from happening other times in the future though |
|
Back to top |
|
|
Keyed Tux's lil' helper
Joined: 26 Jul 2002 Posts: 135 Location: Tennessee
|
Posted: Wed Sep 17, 2003 3:42 am Post subject: |
|
|
I have encountered this on some of my configurations. Some of the options do require other options to be checked. You can look at help on each option and if there is a dependantcy requirement it will tell you. Whenever I ahve encountered it, a config tweak always solved it. _________________ Windows is not a virus: Viruses are well supported by their authors, are running on most systems, their program code is fast, compact and efficient and they tend to become more sophisticated as they mature. |
|
Back to top |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Wed Sep 17, 2003 9:46 am Post subject: |
|
|
You are using Kernel Version 2.4.x, aren't you?
Make sure to make a copy of your /usr/src/linux/.config. Then execute "make mrproper" in /usr/src/linux. Place your .config copy to /usr/src/linux again and start the make process.
ian! _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Sep 17, 2003 3:51 pm Post subject: |
|
|
I had the same problem when I changed some kernel options (HIGHMEM and the like). The errors wouldn't go away even after "make mrproper" and removing the modules in the lib directories. The only way to make it work again was to compile everything into the kernel instead of as a module, then boot that kernel and then gradually switch back to modules. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
|