[Asterisk-Users] Debian Testing / 2.4.22 / zaptel problems.

Siggi Langauf langausd at swt.uni-stuttgart.de
Sat Dec 6 05:08:02 MST 2003


On Thu, 4 Dec 2003, Andrew Gillham wrote:

> Well as far as I can tell, the only version I have on the box is 2.4.22-1.
> I certainly only have 'kernel-headers-2.4.22-1' installed and 'linux'
> symlinked
> to that directory in /usr/src.
>
> Are you saying my /usr/include would be skewed?  Since I thought that
> was from
> the libc6-dev, not really kernel related?

That's true, for anything _but_ compiling kernel modules.
You have to tweak the zaptel Makefile to point to your kernel-headers'
include directory. something like this should do:
KINCLUDES=/usr/src/kernel-headers-2.4.22/include

I had to add -I$(KINCLUDES) to KFLAGS, too, for some obscure reasons, but
maybe that's not necessary, any more.

> I will try removing all of the -dev packages and re-installing them.

That won't help.
And I'd _strongly_ suggest you don't point /usr/include/{linux,asm} to
your current kernel instead of the headers that come with libc. I know
it's tempting, but it will buy you lots trouble if you decide to upgrade
libc...

Cheers,
	Siggi



More information about the asterisk-users mailing list