[asterisk-users] [Fwd: Re: DAHDI or Zaptel doesn't compile against 1.4.24]
Administrator TOOTAI
admin at tootai.net
Wed Mar 18 16:01:26 CDT 2009
Tzafrir Cohen a écrit :
> On Tue, Mar 17, 2009 at 07:16:26PM +0100, Administrator TOOTAI wrote:
>
>> Hi,
>>
>> We installed the latest 1.4.24 on a test machine and can't get zaptel
>> nor dahdi compile. It's a Linux Debian Etch. Errors we have:
>>
>> keewi:/usr/src/dahdi-linux-2.1.0.4# make
>> make -C /lib/modules/2.6.18-custom.2/build ARCH=i386
>> SUBDIRS=/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi
>> DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.4/include DAHDI_MODULES_EXTRA="
>> " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
>> make[1]: entrant dans le répertoire « /usr/src/linux-source-2.6.18 »
>>
>> WARNING: Symbol version dump /usr/src/linux-source-2.6.18/Module.symvers
>> is missing; modules will have no dependencies and modversions.
>>
>> CC [M] /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.o
>> In file included from
>> /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.c:38:
>> /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:23:27: error:
>> linux/version.h: Aucun fichier ou répertoire de ce type
>>
>
> This is plain wrong.
>
> Your source tree is bad.
>
> What kernel version do you want to build dahdi against? What kernel
> version do you use?
>
> uname -a
>
|dh at keewi:/usr/src/dahdi-linux-2.1.0.4$ uname -a
|Linux keewi 2.6.18-custom.2 #1 Sat Nov 29 22:07:56 CET 2008 i686 |GNU/Linux
|
|Well, it seems that something is wrong with my kernel tree. I will |build
|a new kernel from sources.
That was it. Now everything is fine.
Thanks to you and to John have point the direction to look for.
--
Daniel
More information about the asterisk-users
mailing list