Package Details: dahdi-linux 3.3.0-1

Git Clone URL: https://aur.archlinux.org/dahdi-linux.git (read-only, click to copy)
Package Base: dahdi-linux
Description: DAHDI drivers for Asterisk (Digium, OpenVox, Allo and Yeastar cards)
Upstream URL: http://www.asterisk.org
Licenses: GPL2
Conflicts: dahdi, zaptel
Provides: dahdi
Submitter: mbroemme
Maintainer: None
Last Packager: MarsSeed
Votes: 24
Popularity: 0.000000
First Submitted: 2015-02-10 19:19 (UTC)
Last Updated: 2024-03-28 16:30 (UTC)

Latest Comments

1 2 3 Next › Last »

alerque commented on 2024-03-28 12:14 (UTC)

I don't have any relevant hardware any more, disowning.

alerque commented on 2024-03-28 12:12 (UTC)

I don't have any relevant hardware any more, disowning.

captaincoder commented on 2022-05-04 10:52 (UTC) (edited on 2022-05-04 10:55 (UTC) by captaincoder)

@alerque I get the following error when building the package:

CC [M]  /home/me/local/dahdi/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/wct4xxp/base.o
/home/me/local/dahdi/src/dahdi-linux-complete-3.1.0+3.1.0/linux/drivers/dahdi/wct4xxp/base.c:45:10: fatal error: stdbool.h: No such file or directory
45 | #include <stdbool.h>
   |          ^~~~~~~~~~~
compilation terminated.

I tried several machines, same error. I had a go at debugging the make process, but this is far outside my comfort zone. As far as I could tell the compiler is invoked with -nostdinc. This seems problematic to me when the source includes stdbool. But i failed to determine why this option is generated or how to disable it. Any assistance would be greatly appreciated.

alerque commented on 2021-12-27 14:39 (UTC)

For those frustrated this is only setup for 4.x kernels, the dahdi-linux-git VCS package I just setup works with current 5.10.x. I'll try to update this too, but the release version (3.1.0) only works through kernels 5.3, so even a current stable package won't work on current kernels.

asiplas commented on 2019-01-06 19:25 (UTC) (edited on 2019-01-06 19:27 (UTC) by asiplas)

@atomopawn it seems some of this has been fixed in 3.0.0

diff -r dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/dahdi_dynamic.c dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/dahdi_dynamic.c
470c470
<       if (atomic_read(&d->kref.refcount) > 2) {
---
>       if (refcount_read(&d->kref.refcount) > 2) {
diff -r dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/wcaxx-base.c dahdi-linux-complete-3.0.0+3.0.0/linux/drivers/dahdi/wcaxx-base.c
52a53,56
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
> #include <linux/sched/signal.h>
> #endif /* 4.11.0 */
> 

atomopawn commented on 2017-06-04 23:20 (UTC)

Kernel v4 made two changes that now break this module: 1. atomic_read no longer works on variables that have become refcount_t types. Instead, use refcount_read. 2. To access signal_pending, you can't just include <linux/sched.h> anymore. You now have to include <linux/sched/signal.h>.

hitn commented on 2017-04-22 23:10 (UTC)

Yep, right. Build fails. I patched the patch. Maybe the maintainer could include it? --- Makefile.orig 2013-06-07 21:29:37.000000000 +0200 +++ Makefile 2017-04-23 00:00:00.000000000 +0200 @@ -7,7 +7,7 @@ all: $(MAKE) -C linux all - (cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux) + (cd tools && [ -f config.status ] || ./configure --with-dahdi=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))linux --sbindir=/usr/bin) $(MAKE) -C tools all clean:

Enverex commented on 2016-05-19 13:21 (UTC)

Build failing for me... CC dahdi_la-dahdi.lo dahdi.c:46:24: fatal error: dahdi/user.h: No such file or directory #include <dahdi/user.h>