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

Re: building 2.6.35



On Fri, Aug 13, 2010 at 1:29 AM, Alexander Samad <alex@samad.com.au> wrote:
> Hi
>
> Well its still doesn't work.  I am trying to build the VB kernel
> modules and well it fails.
>
> I need to build the linux-kbuild-2.6.35, working with linux-source
> just doesn't work ... (I don't want to build a new linux-image)
>
> Alex
>
> On Wed, Aug 11, 2010 at 6:19 PM, Alexander Samad <alex@samad.com.au> wrote:
>> [snip]
>>
>>>> What do I need to do :)
>>>>
>>>
>>> Maybe this will help...
>>>
>>> The "make headers_install" command exports the kernel's header files in a
>>> form suitable for use by userspace programs.
>>>
>>> The kernel header files can be generated from the kernel sources.
>>>
>>> Define INSTALL_HDR_PATH= for output location.
>>>
>>> http://www.mjmwired.net/kernel/Documentation/make/headers_install.txt
>>>
>>
>> so for clarity
>>
>> install linux-image-2.6.35-trunk-amd64 & linux-source-2.6.35
>>
>> tar jxf /usr/src/linux-source-2.6.35.tar.bz2
>> cp /boot/config-2.6.35-trunk-amd64 /usr/src/linux-source-2.6.35/.config
>> make oldconfig
>> make headers_install
>>
>> should have me done :)
>>
>>
>>>
>>>> >>>> A Debian source package for 2.6.35 is also
>>>> >>>> available in experimental: linux-source-2.6.35.

Hey

If you are having problems with the VB modules, check the
"/lib/modules/<kernel version>/build" Symlink, I have found that for
some reason it keeps pointing to the src dir that i built the kernel
from rather than the header files.

Regards,

Angus.


Reply to: