View Single Post
Old 10-17-02, 06:28 PM   #1
Andy Mecham
l33t master
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default Getting unresolved symbols? Read this for help.

If you're getting a message about unresolved symbols when trying to insert NVdriver, then this thread is for you.

Unresolved symbols are most often caused by a mismatch between the *running* kernel and your kernel sources. One of the following cases should apply to you:

1) I'm trying to compile the driver from source and getting unresolved symbols!

Your kernel source tree is either for a different kernel, or you've changed your kernel configuration without recompiling. You'll need to fall back to your old config (or just get around to that recompile you haven't done yet) to properly build the driver. If you're using a distribution kernel (if you've never touched your kernel, then you are), then you'll need to make sure that you've got the correct kernel-source package installed. If you have an RPM based system, running

'rpm -qa | grep kernel'

will usually return both the kernel and kernel-source package. Make sure they have the same version string. Some auto-updaters will update your kernel for you, but not your kernel-source package.

Also, some distributions, like Slackware 8.0, shipped unconfigured kernel sources with their kernels. You'll most likely have to configure and recompile your kernel to install the driver.

2) I'm trying to rebuild the NVIDIA_kernel SRPM and i'm getting unresolved symbols!

Same deal as #1 above - your kernel source tree is either for a different kernel, or you've changed your kernel configuration without recompiling. See the rest of #1 for tips.

3) I'm trying to install NVIDIA_kernel-someversion.somearch.rpm, and i'm getting unresolved symbols!

This usually means you're installing the wrong RPM. The first thing you should do is download from the driver download page (currently and run it on your machine. To run it, type


in a terminal window. This will tell you what files you need to download and install. You'll then need to uninstall the old RPM and install the one suggested by NVchooser. If NVchooser suggests the SRPM or source tarballs, then you'll want to grab a copy of the README and head up to #1 above to make sure you're ready to rebuild them.

Note: You CANNOT use an RPM that's not compiled for the exact system you're running. This means that the Mandrake 8.2 RPMs won't work on a Mandrake 9.0 system.

If you've followed the above, read the README (twice, if possible ), browsed through old threads in the forum, and decided that none of this applies to you, then please respond to this thread; we'll try our best to get you taken care of.

Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote