View previous topic :: View next topic |
Author |
Message |
alliensis n00b
Joined: 22 Apr 2003 Posts: 8 Location: Boston, MA
|
Posted: Sat Apr 26, 2003 9:43 pm Post subject: Damn unresolved symbols! |
|
|
Hi,
I'm new to the Linux and the Gentoo world (after a brief falling-out with RedHat...grr) and I've more or less successfully gotten my Athlon 1200 w/512MB RAM to play nice with it. Problem I'm having now is with my multimedia: my ALSA and NVidia modules refuse to work! Following the Gentoo guides verbatim I've downloaded and compiled the modules for both, and in both cases I've got "unresolved symbol" errors when I modprobe, insmod, and insmod -f them.
What are these errors? What causes them? How do you fix them?
Thanks.
(P.S.: Hardware config is SoundBlaster Live! (emu10k1) and GeForce 2 Ultra 64MB) |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sat Apr 26, 2003 11:37 pm Post subject: |
|
|
Is /usr/src/linux pointing to your current kernel? |
|
Back to top |
|
|
alliensis n00b
Joined: 22 Apr 2003 Posts: 8 Location: Boston, MA
|
Posted: Sun Apr 27, 2003 12:58 am Post subject: |
|
|
Yup. I checked the symlink and it does indeed point to my current kernel, 2.4.20-gentoo-r2. |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Apr 27, 2003 2:56 am Post subject: |
|
|
unresolved symbols means that the kernel cannot figure out how to insert the module into the kernel. This is usually caused when the modules are not built for that specific kernel but rather for some other kernel. The unresolved symbols are the function names of the functions in the module trying to bind to the kernel. Beyond telling you to make sure that your modules are built after setting the /usr/src/linux to point to your current kernel i dont know what to tell you. I assume you havent messed up the build or the configuration by building a second kernel on top of the same tree you built the current one on. |
|
Back to top |
|
|
Ian Goldby Guru
Joined: 18 May 2002 Posts: 539 Location: (Inactive member)
|
Posted: Sun Apr 27, 2003 12:40 pm Post subject: |
|
|
This should do it, but may be more drastic than is really required:
1. Backup your .config file (from /usr/src/linux)
2. # make mrproper (does a 'deep cleanse', including deleting .config)
3. nuke everything in /lib/modules
4. restore .config to /usr/src/linux
5. # make oldconfig
6. # make dep
7. # make clean && make bzImage modules modules_install
8. Copy bzImage to your boot partition and reboot.
9. # emerge alsa-driver nvidia
Hope this helps. |
|
Back to top |
|
|
|