# Error install dahdi complite 3.4.0

**URL:** <https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352>\
**Category:** DAHDI\
**Created:** [July 24, 2025, 12:33pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352 "2025-07-24T12:33:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RDouro](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@RDouro](https://community.asterisk.org/u/RDouro)\
**Post date:** [July 24, 2025, 12:33pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/1 "2025-07-24T12:33:58Z")

</div>

hi i try install dahdi-complete-3.4.0+3.4.0 but appears error

 ![Captura de ecrã 2025-07-24, às 13.31.37](https://global.discourse-cdn.com/asterisk/original/2X/a/ab4120bfaa28713ba2ee8d1288d46d6d9f570969.jpeg)

---

<div class="post-metadata">

**Author:** ![benphone](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/benphone/32/8706_2.png) [@benphone](https://community.asterisk.org/u/benphone)\
**Post date:** [July 24, 2025, 12:54pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/2 "2025-07-24T12:54:13Z")

</div>

what Operating Environment?  
kernel ?

---

<div class="post-metadata">

**Author:** ![RDouro](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@RDouro](https://community.asterisk.org/u/RDouro)\
**Post date:** [July 24, 2025, 1:36pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/3 "2025-07-24T13:36:28Z")

</div>

Hi kernel 5.14.0-570.28.1.el9\_6.x86\_64 Alma 9

---

<div class="post-metadata">

**Author:** ![benphone](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/benphone/32/8706_2.png) [@benphone](https://community.asterisk.org/u/benphone)\
**Post date:** [July 24, 2025, 1:41pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/4 "2025-07-24T13:41:52Z")

</div>

there is known issue with this kernel version .

> The people at Redhat are doing an odd work, by merging changes from newer kernels into the 5.14.0 kernel used by CentOS 9 and derivatives. The result is dahdi is no longer able to compile successfully on some newer versions because the structure of the kernel source is changed, but the installation script still see it as 5.14.0.
> 
> For now these are the working tested kernels:
> 
> ```
> 5.14.0-362
> 5.14.0-378
> 
> ```

if someone knows how to fix it i would appreciate it !

---

<div class="post-metadata">

**Author:** ![FrancoSmash](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/francosmash/32/6689_2.png) [@FrancoSmash](https://community.asterisk.org/u/FrancoSmash)\
**Post date:** [July 24, 2025, 4:55pm UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/5 "2025-07-24T16:55:23Z")

</div>

Hey reach out tru my email I will help you configure dahdi. mejorleads@gmail

---

<div class="post-metadata">

**Author:** ![benphone](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/benphone/32/8706_2.png) [@benphone](https://community.asterisk.org/u/benphone)\
**Post date:** [August 1, 2025, 7:48am UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/6 "2025-08-01T07:48:07Z")

</div>

there a 5 files to change

```auto
drivers/dahdi/wctdm24xxp/base.c
drivers/dahdi/voicebus/voicebus.c
drivers/dahdi/xpp/xbus-sysfs.c
drivers/dahdi/dahdi-sysfs.c
drivers/dahdi/dahdi-sysfs-chan.c

```

look for  
`#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)`  
or  
`#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)`  
and change it to  
`#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0)`

```auto
make clean 
make

```

the reason

```auto
Linux kernel evolves APIs
        ↓
Distributions (e.g., RHEL) backport newer APIs to older kernel versions
        ↓
Kernel reports a lower version (5.14) but uses newer signatures (from 6.4)
        ↓
Out-of-tree modules like DAHDI check only LINUX_VERSION_CODE
        ↓
Wrong code path is selected → compile-time errors

```

---

<div class="post-metadata">

**Author:** ![benphone](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/benphone/32/8706_2.png) [@benphone](https://community.asterisk.org/u/benphone)\
**Post date:** [August 4, 2025, 9:28am UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/7 "2025-08-04T09:28:13Z")

</div>

i see all the work was done already in the master just follow

```auto
cd /usr/local/src
git clone https://github.com/asterisk/dahdi-linux
cd dahdi-linux
make
sudo make install

cd /usr/local/src
git clone https://github.com/asterisk/dahdi-tools
cd dahdi-tools
autoreconf -i
./configure
make
sudo make install
sudo make config

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [September 4, 2025, 9:28am UTC](https://community.asterisk.org/t/error-install-dahdi-complite-3-4-0/109352/8 "2025-09-04T09:28:56Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
