help - "unresolved symbols" configuring kernel 2.62
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
help - "unresolved symbols" configuring kernel 2.62
I am trying to configure and install kernel-2.6.2 onto my system (dual-boot, RH9 and WinXP). These are the steps I have successfully managed: extracting tarball, make config (I chose the option for PII computers), make dep ,and make clean . All ran without error. I then ran make bzImage , and make modules without difficulty. However, when I ran make modules_install the following error was generated:
[root@localhost linux-2.6.2]# make modules
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
Building modules, stage 2.
MODPOST
[root@localhost linux-2.6.2]# make modules_install
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/crypto/autoload.o
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/crypto/proc.o
Warning: you may need to install module-init-tools
See (there is an URL here, but the forum will not let me post it)
INSTALL drivers/net/dummy.ko
INSTALL fs/smbfs/smbfs.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.2; fi
I went to the suggested link (which the forum will not allow me to post) and saw that this was a "known gotcha"
Known gotchas.
~~~~~~~~~~~~~~
Certain known bugs are being reported over and over. Here are the
workarounds.
... snip ...
- depmod reports Unresolved symbols? depmod from modutils instead of
depmod from module-init-tools is first in $PATH (might be different
$PATHs as $USER and $ROOT)
My problem, is I do not know what I am supposed to do at this point, or how to do it. It appears that I have to re-order the commands in my $PATH, though I am not sure where that is, or how to do it.
I'm don't think this would effect anything, but instead of running make dep/bzimage/modules, you can just run 'make'. If you type 'make help' it puts a * by each thing that is done when you run 'make'.
If you have installed the correct version of module-init-tools, try appending .OLD to the end of the old binaries (move the old depmod to depmod.OLD, etc.).
That worked fine for me back under 2.6.0-test1, and should still work with 2.6.2.
You can always move the old binaries back to their original file names if you end up needing to.
[QUOTE]Originally posted by pilot1
[B]I'm don't think this would effect anything, but instead of running make dep/bzimage/modules, you can just run 'make'.
I receive the same error messages.
If you have installed the correct version of module-init-tools, try appending .OLD to the end of the old binaries (move the old depmod to depmod.OLD, etc.).
Now for the newbie question. How do I find out if I have installed teh correct version of module-init-tools?
For me it returns 'module-init-tools version 0.9.14' and I'm running 2.6.1 without any problems.
Something weird is going on there though cuz it is complaining about unresolved symbols in the 2.4.24 module dir. Did you edit the makefile at all?
You also might wanna try to do 'make menuconfig' instead of 'make config'. This will give you a nice ncurses window where you can easily configure your kernel.
you need to install the module-init-tools. It's a requirement since kernel 2.5.something. Download the sources and then make sure you follow the instructions in the README file (if you don't, bad things might happen) and also look at the FAQ if errors occur.
Whether or not you need this won't be found with menuconfig. But your output of modprobe -V shows that you don't have the module-init-tools installed. I would use make xconfig, though, since it's much easier to deal with.
On second glance, the Unresolved Symbols error messages don't appear to be anything that matters. Once you install module-init-tools, 2.6 should run fine.
module-init-tools is not a module. It replaces the old versions of modprobe, insmod and the like with new versions. Try
/sbin/modprobe -V
If everything installed correctly, you should get something like
module-init-tools version 3.0-pre9
as output. Do
make modules_install
again. And then do whatever you still need to do to get things going (like moving the right files to /boot and making changes to lilo.conf or grub).
when you installed module-init-tools, where did you install it? If you did just
./configure
then it got installed in /usr/local/sbin and not /sbin. You can check with
whereis modprobe
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.