Re: Kernel Building Update.


Subject: Re: Kernel Building Update.
From: Kitt Thompson (omegaman@theshop.net)
Date: Thu Oct 04 2001 - 08:28:24 MDT


--On Wednesday, October 3, 2001 12:44 AM -0700 "Timothy A. Seufert"
<tas@mindspring.com> wrote:

> At 11:11 PM -0500 10/2/01, Kitt Thompson wrote:
>> Hey Tim, thanks for the info on the updated Modutils. I nabbed
>> them from the YDL site and installed them as per your instructions.
>> But, it didn't fix the problem. I get the same messages upon boot
>> time. I ran depmod -a while under the new kernel and it gave me
>> a whole bunch of Unresolved symbol messages. Almost as if none of
>> the modules loaded.
>
> Did you rebuild the kernel and modules? You'll have to do a make clean
> followed by make and make modules at least.
Yes, I did. But I didn't change the EXTRAVERSION variable which might make a
difference based on Gavin's information (see Gavin Hemphill's email
dated 10/3/2001.) I'm building a new kernel as I typoe this. I'll let
you know if it works or not.(I suspect you already knew that... =:B )

>> What exactly is the Unresolved Symbol message trying to tell me?
>
> Symbols are part of compiled executable code which inform linkers how to
> join two or more pieces of compiled code together. E.G. if module Foo
> needs to call function bar() which is part of the kernel, the module
> loader needs to match the symbol bar in the two pieces of code and make
> some adjustments so that the module can successfully call bar().
>
> If some symbols are unresolved, the two pieces of code can't talk to each
> other, which in this case causes the module load attempt to fail.
So, is this not unlike the problems one might encounter trying to compile
source code when you forgot to #include a header file containing a function/
variable that is referenced in your main.c (for example)?

I guess I'm still a little confused as to where in the process the problem
is
occurring depmod creates a "makefile like dependency file" and this is where
I am having the problem; in creating the file that describes the
dependencies.
So what information is depmod missing that would resolve these symbols?

Kitt



This archive was generated by hypermail 2a24 : Thu Oct 04 2001 - 07:39:45 MDT