View previous topic :: View next topic |
Author |
Message |
jonas.kellens at telen... Guest
|
Posted: Fri Jan 03, 2014 9:56 am Post subject: [asterisk-users] Problem building dahdi from source |
|
|
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’
include/linux/proc_fs.h:328: note: previous definition of ‘PDE_DATA’ was here
make[3]: *** [/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make: *** [all] Error 2
I have the right kernel sources installed :
[root@sip dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -a
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
So what am I missing ?
Kind regards,
Jonas. |
|
Back to top |
|
|
asterisk-list at puzzl... Guest
|
Posted: Fri Jan 03, 2014 10:20 am Post subject: [asterisk-users] Problem building dahdi from source |
|
|
On 01/03/2014 03:56 PM, Jonas Kellens wrote:
Quote: | Hello,
I am getting the following error when compiling dahdi :
| [snip]
Quote: | `/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make: *** [all] Error 2
I have the right kernel sources installed :
[root@sip dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -a
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
So what am I missing ?
|
Try DAHDI 2.8.0.1
http://www.asterisk.org/downloads/dahdi
Regards,
Patrick
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
prince.kz at gmail.com Guest
|
Posted: Fri Jan 03, 2014 10:54 am Post subject: [asterisk-users] Problem building dahdi from source |
|
|
Q. Make sure you use stable version of dahdi src 03.01.2014 20:56 пользователь "Jonas Kellens" <jonas.kellens@telenet.be (jonas.kellens@telenet.be)> написал: Quote: | 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’
include/linux/proc_fs.h:328: note: previous definition of ‘PDE_DATA’ was here
make[3]: *** [/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make: *** [all] Error 2
I have the right kernel sources installed :
[root@sip dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -a
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
So what am I missing ?
Kind regards,
Jonas.
--
_____________________________________________________________________
-- 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
|
|
|
Back to top |
|
|
sruffell at digium.com Guest
|
Posted: Fri Jan 03, 2014 12:36 pm Post subject: [asterisk-users] Problem building dahdi from source |
|
|
On Fri, Jan 03, 2014 at 03:56:30PM +0100, Jonas Kellens wrote:
Quote: | 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]
Quote: | 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
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|