Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Problems compiling dahdi modules


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mkreder at gmail.com
Guest





PostPosted: Mon Dec 02, 2013 9:38 am    Post subject: [asterisk-users] Problems compiling dahdi modules Reply with quote

Hi,

I am having the following issue after upgrading the kernel in a CentOS machine.

[root@localhost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.32-431.el6.x86_64/build
M='/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/oct612x'
make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
Building modules, stage 2.
MODPOST 0 modules
make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make -C /lib/modules/2.6.32-431.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.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.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 correct kernel-devel and kernel-headers version installed

# uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22
03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# rpm -q kernel-devel
kernel-devel-2.6.32-431.el6.x86_64
# rpm -q kernel-headers
kernel-headers-2.6.32-431.el6.x86_64

Regards
Matias

--
_____________________________________________________________________
-- 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
rmeyerriecks at digium...
Guest





PostPosted: Mon Dec 02, 2013 10:19 am    Post subject: [asterisk-users] Problems compiling dahdi modules Reply with quote

This is fixed on the dahdi-linux master branch and will be included in the next release:

More info:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary

http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a

https://issues.asterisk.org/jira/browse/DAHLIN-330




On Mon, Dec 2, 2013 at 8:37 AM, Matias Kreder <mkreder@gmail.com (mkreder@gmail.com)> wrote:
Quote:
Hi,

I am having the following issue after upgrading the kernel in a CentOS machine.

[root@localhost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.32-431.el6.x86_64/build
M='/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/oct612x'
make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
  Building modules, stage 2.
  MODPOST 0 modules
make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make -C /lib/modules/2.6.32-431.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.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.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 correct kernel-devel and kernel-headers version installed

# uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22
03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# rpm -q kernel-devel
kernel-devel-2.6.32-431.el6.x86_64
# rpm -q kernel-headers
kernel-headers-2.6.32-431.el6.x86_64

Regards
Matias

--
_____________________________________________________________________
-- 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




--
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org
Back to top
asterisk-list at puzzl...
Guest





PostPosted: Mon Dec 02, 2013 10:27 am    Post subject: [asterisk-users] Problems compiling dahdi modules Reply with quote

On 12/02/2013 04:19 PM, Russ Meyerriecks wrote:
Quote:
This is fixed on the dahdi-linux master branch and will be included in
the next release:

More info:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a
https://issues.asterisk.org/jira/browse/DAHLIN-330

Thanks Russ. Any chance there will be a v2.8.0-rc3 release with these fixes?

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
rmeyerriecks at digium...
Guest





PostPosted: Mon Dec 02, 2013 10:39 am    Post subject: [asterisk-users] Problems compiling dahdi modules Reply with quote

There is a 100% chance that this will be rolled into v2.8.0-rc3 Smile


On Mon, Dec 2, 2013 at 9:26 AM, Patrick Lists <asterisk-list@puzzled.xs4all.nl (asterisk-list@puzzled.xs4all.nl)> wrote:
Quote:
On 12/02/2013 04:19 PM, Russ Meyerriecks wrote:
Quote:
This is fixed on the dahdi-linux master branch and will be included in
the next release:

More info:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a
https://issues.asterisk.org/jira/browse/DAHLIN-330


Thanks Russ. Any chance there will be a v2.8.0-rc3 release with these fixes?

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






--
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services