[Asterisk-Users] Eicon Diva - problems building new v3 melware driver

Klaus Darilion klaus.mailinglists at pernau.at
Tue May 16 02:49:47 MST 2006


Tzafrir Cohen wrote:
> On Tue, May 16, 2006 at 11:05:01AM +0200, Klaus Darilion wrote:
>> 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?
> 
> kernel-headers-2.6.8-2 is a large architecture-independent package that
> contains most of what is needed from the kernel source to build external
> modules and such.
> 
> 2.6.8-2-386 , -686, -686-smp, and all others contain the little
> configuration-specific files . /usr/src/kernel-headers-2.6.8-2-386 has
> many symlinks to files under /usr/src/kernel-headers-2.6.8-2 .
> /usr/src/kernel-headers-2.6.8-2 in itself does not contain a "configured
> source" or even a .config file.

It does:
ll /usr/src/kernel-headers-2.6.8-2/.config
-rw-r--r--  1 root root 27535 2005-08-16 17:12 
/usr/src/kernel-headers-2.6.8-2/.config

The question is: can it be used to build modules for 2.6.8-2-386 ?

regards
klaus

> 
> -- Tzafrir
> _______________________________________________
> --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




More information about the asterisk-users mailing list