Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Damn unresolved symbols!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
alliensis
n00b
n00b


Joined: 22 Apr 2003
Posts: 8
Location: Boston, MA

PostPosted: Sat Apr 26, 2003 9:43 pm    Post subject: Damn unresolved symbols! Reply with quote

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
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sat Apr 26, 2003 11:37 pm    Post subject: Reply with quote

Is /usr/src/linux pointing to your current kernel?
Back to top
View user's profile Send private message
alliensis
n00b
n00b


Joined: 22 Apr 2003
Posts: 8
Location: Boston, MA

PostPosted: Sun Apr 27, 2003 12:58 am    Post subject: Reply with quote

Yup. I checked the symlink and it does indeed point to my current kernel, 2.4.20-gentoo-r2.
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sun Apr 27, 2003 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Ian Goldby
Guru
Guru


Joined: 18 May 2002
Posts: 539
Location: (Inactive member)

PostPosted: Sun Apr 27, 2003 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum