[asterisk-bugs] [DAHDI-linux 0014166]: Fails to Compile on Fedora FC9 with Kernel 2.6.27 - related to new hrtimer
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 21 12:24:44 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14166
======================================================================
Reported By: nterry
Assigned To: sruffell
======================================================================
Project: DAHDI-linux
Issue ID: 14166
Category: General
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-02 16:23 CST
Last Modified: 2009-01-21 12:24 CST
======================================================================
Summary: Fails to Compile on Fedora FC9 with Kernel 2.6.27 -
related to new hrtimer
Description:
I'm trying to upgrade from dahdi-linux-2.0.0 to dahdi-linux-2.1.0.3. I get
compile errors which seem to relater to the new hrtimer interface. I'm
running FC9 with kernel 2.6.27.9. See the output below:
[root at homepc dahdi-linux-2.1.0.3]# uname -r
2.6.27.9-73.fc9.x86_64
[root at homepc dahdi-linux-2.1.0.3]# make
make -C /lib/modules/2.6.27.9-73.fc9.x86_64/build ARCH=x86_64
SUBDIRS=/usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi
DAHDI_INCLUDE=/usr/src/Asterisk/dahdi-linux-2.1.0.3/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-73.fc9.x86_64'
CC [M] /usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o
/usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.c:94:
error: redefinition of ‘hrtimer_get_expires’
include/linux/hrtimer.h:250: error: previous definition of
‘hrtimer_get_expires’ was here
/usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.c:99:
error: redefinition of ‘hrtimer_set_expires’
include/linux/hrtimer.h:231: error: previous definition of
‘hrtimer_set_expires’ was here
make[2]: ***
[/usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o] Error
1
make[1]: *** [_module_/usr/src/Asterisk/dahdi-linux-2.1.0.3/drivers/dahdi]
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.x86_64'
make: *** [modules] Error 2
[root at homepc dahdi-linux-2.1.0.3]#
I don't know enough about this to fix it, but I can test it if required
Thanks
======================================================================
----------------------------------------------------------------------
(0098336) svnbot (reporter) - 2009-01-21 12:24
http://bugs.digium.com/view.php?id=14166#c98336
----------------------------------------------------------------------
Repository: dahdi
Revision: 5792
U linux/trunk/drivers/dahdi/dahdi_dummy.c
------------------------------------------------------------------------
r5792 | sruffell | 2009-01-21 12:24:43 -0600 (Wed, 21 Jan 2009) | 5 lines
If we have the accessors, do not under any circumstance redefine them
regardless of the kernel version.
Another followup to http://bugs.digium.com/view.php?id=14166 .
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=5792
Issue History
Date Modified Username Field Change
======================================================================
2009-01-21 12:24 svnbot Checkin
2009-01-21 12:24 svnbot Note Added: 0098336
======================================================================
More information about the asterisk-bugs
mailing list