[100268] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Another Kernel Compiling Post

daemon@ATHENA.MIT.EDU (Ray Curtis)
Thu Nov 19 13:07:21 1998

Date: Thu, 19 Nov 1998 13:00:02 -0500 (EST)
From: Ray Curtis <ray@ray.clark.net>
To: RedHat List <redhat-list@redhat.com>
In-Reply-To: <3654400A.B7DEB73A@ohiocounty.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

>>>>> "rwc" == Robert W Canary <rwcanary@ohiocounty.net> writes:

rwc> Hi,
rwc> I have been trying to recompile my kernel for some specifics.
rwc> Everything went fine.And it even booted up fine, except for ...........

rwc> /lib/modules/2.0.35/net/dgrs.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/tlan.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/tulip.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/yellowfin.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/ntl8139.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/pcnet32.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/ne2k.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/epic100.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/eepro.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/net/3c59x.o: unresolved symbol(s)
rwc> /lib/modules/2.0.35/scsi/gdth.o: unresolved symbol(s)

This is a common problem most people encounter on re-compiling a
kernel.
When you re-compile move your /lib/modules/2.0.XX directory out of
the way before you do a 'make modules_install' so that a complete
new modules directory is created and not a combination of both the
old and new modules.

From the well documented source tree
/usr/src/linux/Documentation/modules.txt:

---------------
When you have made the kernel, you create the modules by doing:

	make modules

This will compile all modules and update the linux/modules directory.
In this directory you will then find a bunch of symbolic links,
pointing to the various object files in the kernel tree.
Now, after you have created all your modules, you should also do:

	make modules_install
---------------

So you have a new list of linux/modules which don't agree with the 
new modules you have.

Just remove the directory /usr/modules/2.0.XX and from /usr/src/linux
do a 'make modules_install' again and you should be all set.




-- 
Ray Curtis              Consultant/Programmer   Curtis Consulting
mailto:ray@ray.clark.net                        http://www.clark.net/pub/ray
============================================================================


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post