On Mon, Jun 01, 2015 at 04:24:31PM -0400, sean darcy wrote: > On fedora 21, trying to build dahdi for kernel 4.0.4. > > gcc-4.9.2-6.fc21.x86_64 > > make -C /lib/modules/4.0.4-202.fc21.x86_64/build > SUBDIRS=/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi > DAHDI_INCLUDE=/home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/include > DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules > DAHDI_BUILD_ALL=m > make[1]: Entering directory '/usr/src/kernels/4.0.4-202.fc21.x86_64' > CC [M] > /home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.o > /home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c: > In function 'set_spanno_and_basechan': > /home/asterisk/rpmbuild/BUILD/dahdi-linux-2.10.1/drivers/dahdi/dahdi-base.c:7056:2: > error: void value not ignored as it ought to be > dahdi_dev_dbg(ASSIGN, span_device(span), ...
I've not tried building against Fedora Core 21 myself, but I believe this is already fixed on DAHDI's master branch [1]. Russ Meyerriecks has posted a comment on DAHLIN-346 [2] with a link for how to install from source while waiting for the next release of dahdi-linux. [1] http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=1cc0ad510acd404e63923ed3062b93 [2] https://issues.asterisk.org/jira/browse/DAHLIN-346 -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users