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

Re: How to compile in Debian?



Sent: Thursday, August 25, 2005 8:01 AM
Subject: Re: How to compile in Debian?


On 8/25/05, Teilhard Knight <teilhk@crosswinds.net> wrote:
Suppose you want to compile your drivers for your wireless adapter, which is
what I actually want to do. If I am not mistaken, I need a build symbolic
link in "uname -r" to the kernel-source, and I need a linux symbolic link
from /usr/src where to the kernel source too, which also resides there.

Now, uname -r is for me: 2.6.8-2-686-smp, and the kernel source for a 2.6.8 in the distribution only is found with Debian version 16 (2.6.8-16). Are the
kernel source and my kernel compatible?

Well, I am a newbie in Debian, and I am translating the little I know about
Mandrake. First think that called my attention was that after a fresh
install of Debian, the directory /usr/src, was empty.

I would appreciate any help you can give me to compile my drivers. And yes,
I have Googled but without luck.

apt-get install module-assistant
m-a prepare

That'll install the right kernel headers for you.

Thank you very much. I did as you said, but when I issue the command "m-a prepare", I get the warning: "/usr/src/kernel-source-2.6.8 seems to contain unconfigured kernel source". Is that bad?, and if so, how can I configure my kernel source? I know how to configure the kernel, but not the kernel source. I aborted and still the program installed the package "build essential". I issued the command again and the warning keeps coming up. Could you tell me what to do?. Thanks.

Teilhard.



Reply to: