[asterisk-users] Dahdi does not build against Kernel 3.0.0

Bruce Ferrell bferrell at baywinds.org
Sat Aug 6 21:49:48 CDT 2011


Errors follow:

make
make -C linux all
make[1]: Entering directory 
`/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory 
`/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory 
`/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/3.0.0-39-desktop/build 
SUBDIRS=/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi 
DAHDI_INCLUDE=/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/include 
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/linux-3.0.0-39-obj/i386/desktop'
make -C ../../../linux-3.0.0-39 
O=/usr/src/linux-3.0.0-39-obj/i386/desktop/. modules
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi-base.o
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi-base.c:95:2: 
warning: #warning "No CONFIG_BKL is an experimental configuration."
In file included from 
/usr/src/linux-3.0.0-39/arch/x86/include/asm/uaccess.h:570:0,
from /usr/src/linux-3.0.0-39/include/linux/poll.h:14,
from 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/include/dahdi/kernel.h:58,
from 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi-base.c:68:
In function ‘copy_from_user’,
inlined from ‘dahdi_chan_write’ at 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi-base.c:2301:23:
/usr/src/linux-3.0.0-39/arch/x86/include/asm/uaccess_32.h:211:26: 
warning: call to ‘copy_from_user_overflow’ declared with attribute 
warning: copy_from_user() buffer size is not provably correct
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi-base.c:95:2: 
warning: #warning "No CONFIG_BKL is an experimental configuration."
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.o
SHIPPED 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o
LD [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi.o
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_dynamic.o
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_dynamic_loc.o
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_dynamic_eth.o
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_dynamic_ethmf.o
CC [M] 
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_transcode.o
/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_transcode.c:49:31: 
error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
make[5]: *** 
[/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi/dahdi_transcode.o] 
Error 1
make[4]: *** 
[_module_/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux/drivers/dahdi] 
Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-3.0.0-39-obj/i386/desktop'
make[1]: *** [modules] Error 2
make[1]: Leaving directory 
`/usr/local/src/asterisk/dahdi-linux-complete-2.4.1.2+2.4.1/linux'
make: *** [all] Error 2




More information about the asterisk-users mailing list