[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building 2.6.35



Hey.

On Sun, Aug 15, 2010 at 1:29 AM, Stephen Powell <zlinuxman@wowway.com> wrote:
<snippy>
>
> I don't think that this is a bug.  I think you're trying to mix and match
> two different ways of doing things.  There are two basic ways of creating
> an out-of-kernel-source-tree module from source: (1) install the kernel
> headers and compile the out-of-kernel-source-tree module from source
> using the kernel headers, and (2) if you have the whole kernel source tree
> installed, compile using the kernel source.  What you're doing is creating
> a kernel header package from the kernel source and then using method (1),
> when you should be using method (2).  I spent the better part of the day
> today playing around with this.  Perhaps the results of my experiment
> will prove instructive in some way.

That makes scene I suppose, shouldn’t need headers if you have the
whole source, I shall have to-do some research into how to build out
of source tree modules against the main source. But at the same time,
with the kernel headers installed, it should build against them,
shouldn’t it? And without fixing that symlink I cant build the vbox
modules via DKMS and the blobs installer fails :/

<snippy>

> The moral of the story is that you don't need (or shouldn't need)
> kernel header packages if you have the whole kernel source code
> installed.  Note that I didn't use module-assistant or kernel headers.
>
> --
>  .''`.     Stephen Powell
>  : :'  :
>  `. `'`
>   `-
>

Cheers!

Angus.


Reply to: