[asterisk-users] Problem building dahdi from source
Shaun Ruffell
sruffell at digium.com
Fri Jan 3 11:35:47 CST 2014
On Fri, Jan 03, 2014 at 03:56:30PM +0100, Jonas Kellens wrote:
> Hello,
>
> I am getting the following error when compiling dahdi :
>
> make[2]: Entering directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
> Building modules, stage 2.
> MODPOST 0 modules
> make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
> make -C /lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include
> DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules
> DAHDI_BUILD_ALL=m
> make[2]: Entering directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
> CC [M] /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o
> In file included from /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66:
> /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include/dahdi/kernel.h:1407:
> error: redefinition of 'PDE_DATA'
[snip]
> So what am I missing ?
This was due to a backported definition of PDE_DATA [1] in kernel
2.6.32-431.
2.8.0.1 [2] or 2.7.0.2 [3] should work for you.
[1] https://issues.asterisk.org/jira/browse/DAHLIN-330
[2] http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.8.0.1.tar.gz
[3] http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.7.0.2.tar.gz
Cheers,
Shaun
--
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
More information about the asterisk-users
mailing list