Armin Schindler wrote:
On Tue, 16 May 2006, Klaus Darilion wrote:
Hi Armin!

I now tried 2 versions:
A) I also executed "make prepare" in the kernel sources before building with
"make KDIR=/usr/src/kernel-source-2.6.8"

B) I compiled with the kernel headers:
"make KDIR=/lib/modules/2.6.8-2-386/build/"

Both times I got the same error message (see below). It would be great if you
can take a look at it because this Asterisk server should go in production
today.

What kernel is that? When I use the plain kernel 2.6.8 from kernel.org I don't even get any warning. Either the kernel headers are incomplete or this distribution kernel is incompatible in some way. Can you provide a tgz of these sources(headers) directory to me?


I think I found the problem:

"make KDIR=/lib/modules/2.6.8-2-386/build/" fails as /lib/modules/2.6.8-2-386/build/ links to /usr/src/kernel-headers-2.6.8-2-386

Wheres when setting KDIR to /usr/src/kernel-headers-2.6.8-2 (note: note adding the -386) then the compilation works fine.

Maybe we need a Debian expert: What is the difference between
kernel-headers-2.6.8-2 and kernel-headers-2.6.8-2-386 ???

Does the compiled 2.6.8-2 works with my 2.6.8-2-386 kernel?

regards
klaus
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to