Full kernel source

Magnus Ekhall koma at lysator.liu.se
Mon Nov 22 21:07:55 UTC 2004


Hmm... Unfortunately that did not do the trick... Maybe it is something 
else that make dep that is to be done?

When I ran make dep it said that it was unneccesary to do so nowadays...

/Magnus


Erik Bågfors wrote:
> Nope,
> 
> copy /boot/config-xxx to the kernel source directory as the name
> ".config".  Then run "make oldconfig && make dep " (If I remember
> correctly).  Then you can compile modules.
> 
> /Erik
> 
> 
> On Sun, 21 Nov 2004 22:44:07 +0100, Magnus Ekhall <koma at lysator.liu.se> wrote:
> 
>> > > Is there a better way using ubuntu packages?
>> >
>> > Yes, download the linux-source package:
>>
>>I downloaded the kernel source package, unpacked it and linked
>>/usr/src/linux to it.
>>
>>However, when I try to compile my module, I get the error:
>>
>>  linux/version.h: No such file or directory.
>>
>>Do I really have to complie the kernel, even though I'm not going to
>>install it, just to get these files?
>>
>>/Magnus
>>
>>--
>>ubuntu-users mailing list
>>ubuntu-users at lists.ubuntu.com
>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>





More information about the ubuntu-users mailing list