[asterisk-users] dahdi-linux 2.6.2 failing to compile with linux 3.13
David Cunningham
dcunningham at voisonics.com
Thu Jun 12 21:54:14 CDT 2014
Hello,
I'm getting the following errors when compiling dahdi-linux 2.6.2 under
Ubuntu 14.04 with kernel 3.13.0-24-generic.
I did google and found one thread suggesting the errors should be fixed in
2.6.2, and another suggesting to try 2.4 which didn't make sense but I
tried anyway, and it gave similar warnings.
Would anyone know how to make it compile? Thanks in advance.
make[1]: Leaving directory
`/usr/src/dahdi-linux-2.6.2/drivers/dahdi/firmware'
make -C /lib/modules/3.13.0-24-generic/build
SUBDIRS=/usr/src/dahdi-linux-2.6.2/drivers/dahdi
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.6.2/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:91:2: warning:
#warning "No CONFIG_BKL is an experimental configuration." [-Wcpp]
#warning "No CONFIG_BKL is an experimental configuration."
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c: In function
‘dahdi_proc_open’:
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:902:2: error:
implicit declaration of function ‘PDE’
[-Werror=implicit-function-declaration]
return single_open(file, dahdi_seq_show, PDE(inode)->data);
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:902:53: error:
invalid type argument of ‘->’ (have ‘int’)
return single_open(file, dahdi_seq_show, PDE(inode)->data);
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c: In function
‘_dahdi_assign_span’:
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:6945:3: error:
implicit declaration of function ‘create_proc_entry’
[-Werror=implicit-function-declaration]
span->proc_entry = create_proc_entry(tempfile, 0444,
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:6945:20: warning:
assignment makes pointer from integer without a cast [enabled by default]
span->proc_entry = create_proc_entry(tempfile, 0444,
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:6952:19: error:
dereferencing pointer to incomplete type
span->proc_entry->data = (void *)(long)span->spanno;
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:6953:19: error:
dereferencing pointer to incomplete type
span->proc_entry->proc_fops = &dahdi_proc_ops;
^
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c: In function
‘_dahdi_unassign_span’:
/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.c:7137:37: error:
dereferencing pointer to incomplete type
remove_proc_entry(span->proc_entry->name, root_proc_entry);
^
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/dahdi-linux-2.6.2/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [_module_/usr/src/dahdi-linux-2.6.2/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
make: Leaving directory `/usr/src/dahdi-linux-2.6.2'
'make -C dahdi-linux-2.6.2 install' failed with 512.
--
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140613/77bfe27f/attachment.html>
More information about the asterisk-users
mailing list