[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Unresolved symbols---HOWTO(eliminate them)



Forget everything else you know how to remove them just follow the
instructions
below

These ***unresolved symbol** error messages come because of the
presence of some unwanted modules whose suport has not been present in
the
kernel itself as you may have removed them thimking""ok i dont' need
them say no""
This is very fine as you did so 'cos every one does so

Now lets see the problem once again it says ***unresolved sysmbols***
I gave you the explanation why,,,, in the above text

Q. Question arises how they all are there when I have removed their
support
A. By the way they are there be-cos they were needed by the kernel U
installed
     before the installing the new one.(remember u were working on a
kernel
     before compiling too).

now the solution to
How to remove all the modules whose support has been removed from kernel
BTW
when you give that command
"""""make modules"""""
now what it does is it makes the modules(the .o files) and places them
in their
corresponding directories
and with another command
"""""make modules_install"""""
it places all the compiled modules into the subdirectories of the
directory
named after kernel source version number under """"/lib/modules""""::
for example::
for kernel-source-2.4.0-test5
the  installation directory is """" /lib/modules/2.4.0-test5 """"
Simi.. for kernel-source-2.2.15 it is
""""/lib/modules/2.2.15""""

now lets take the example of kernel version no. 2.2.15(all my further
reference will
be made to this krnl only which will be aplicable to other kernels also)
"""
now when place the command """make modules_install"""
[read the Makefile (present in top level dir. of source) for exact
commands used]
it copies all the modules from their corresponding directories to the
subdirectories

of """/lib/modules/2.2.15"""
since that directory exists already there it only overwrite the files
which are
copied
but other files that are not needed at all will remain there intact.

After analyzing all the above text you all may come to common decision
that
lets delete the old /lib/modules/2.2.15 directory before doin ""make
modules_install""

thats right you can do that BUT if
1. anything goes wrong
2. or in the process of doing so something goes wrong
3. or in future you may want to use the older kernel

So what U do is make a backup copy of that directory as ----->
"""mv /lib/modules/2.2.15 /lib/modules/2.2.15-bak"""

That is the best way of doing that,
and if you wanna get rid of your old kernel  completely then you are
safe to
delete your old bakup directory of modules as well as your kernel image
that goes
with it
Bye
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;

Please send any questions reagarding this article directly to me i.e.
Jaswinder Singh Kohli
jskohli@xxxxxxx
+91-11-5440177
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

> On Wed, Aug 09, 2000 at 09:58:54AM +0600, Neil wrote:
> > SubramaniA@xxxxxxxx wrote:
> > > I started getting ***unresolved symbol** error messages after recompiling my
> > > 2.2.15 Kernel.
> >
> > hey anybody tried ker 2.4 -pre5????
> Yes we tried kernel test 5
>
> > i got it, and compiled it.
> > but no matter what i do, i cant get it down below 720kb.
> > and so the system cannot boot!!!!!

================================================================
 Two things are infinite, the universe and the human stupidity,
 but I am not yet sure about the universe.    (Albert Einstein)

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com