[asterisk-dev] dahdi-linux-2.1.0.3: build fails with kernel 2.6.27.9
sean darcy
seandarcy2 at gmail.com
Thu Dec 25 16:30:54 CST 2008
On Fedora Core 9, updated to kernel 2.6.27.9, gcc-4.3.0, I untarred 2.1.0.3:
[asterisk at asterisk dahdi-linux-2.1.0.3]$ make
make -C /lib/modules/2.6.27.9-73.fc9.i686/build ARCH=i386
SUBDIRS=/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi
DAHDI_INCLUDE=/home/asterisk/build/dahdi/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.i686'
CC [M]
/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi-base.o
LD [M]
/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi.o
CC [M]
/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o
/home/asterisk/build/dahdi/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
/home/asterisk/build/dahdi/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]: ***
[/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o]
Error 1
make[1]: ***
[_module_/home/asterisk/build/dahdi/dahdi-linux-2.1.0.3/drivers/dahdi]
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
make: *** [modules] Error 2
Oddly this built on 2.6.27.7.
sean
More information about the asterisk-dev
mailing list