<p dir="ltr">Q. Make sure you use stable version of dahdi src</p>
<div class="gmail_quote">03.01.2014 20:56 пользователь "Jonas Kellens" <<a href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I am getting the following error when compiling dahdi :<br>
<br>
make[2]: Entering directory
`/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
Building modules, stage 2.<br>
MODPOST 0 modules<br>
make[2]: Leaving directory
`/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
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+<a href="http://2.7.0.1/linux/drivers/dahdi" target="_blank">2.7.0.1/linux/drivers/dahdi</a>
DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/include" target="_blank">2.7.0.1/linux/include</a>
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules
DAHDI_BUILD_ALL=m<br>
make[2]: Entering directory
`/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
CC [M]
/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/drivers/dahdi/dahdi-base.o" target="_blank">2.7.0.1/linux/drivers/dahdi/dahdi-base.o</a><br>
In file included from
/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66" target="_blank">2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66</a>:<br>
/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/include/dahdi/kernel.h:1407" target="_blank">2.7.0.1/linux/include/dahdi/kernel.h:1407</a>:
error: redefinition of ‘PDE_DATA’<br>
include/linux/proc_fs.h:328: note: previous definition of
‘PDE_DATA’ was here<br>
make[3]: ***
[/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/drivers/dahdi/dahdi-base.o" target="_blank">2.7.0.1/linux/drivers/dahdi/dahdi-base.o</a>]
Error 1<br>
make[2]: ***
[_module_/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux/drivers/dahdi" target="_blank">2.7.0.1/linux/drivers/dahdi</a>]
Error 2<br>
make[2]: Leaving directory
`/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
make[1]: *** [modules] Error 2<br>
make[1]: Leaving directory
`/usr/src/dahdi-linux-complete-2.7.0.1+<a href="http://2.7.0.1/linux" target="_blank">2.7.0.1/linux</a>'<br>
make: *** [all] Error 2<br>
<br>
<br>
I have the right kernel sources installed :<br>
<br>
[root@sip dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -a<br>
Linux sip 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
<br>
So what am I missing ?<br>
<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
</font>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div>