[Asterisk-Users] Zaptel 1.0.0. will not compile

Remco Barende asterisk at barendse.to
Sun Oct 10 07:53:19 MST 2004


Hi list

I am trying to install asterisk on a gentoo box running kernel version Linux 
version 2.6.8-gentoo-r7 (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, 
ssp-3.3.2-2, pie-8.7.6)) #1 Thu Oct 7 20:24:31 CEST 2004

I tried to install from the provided ebuild for Asterisk 1.0.0 but the compile 
of the zaptel module fails miserably.

Compilation seems to start at first but then generates pages and pages of 
errors like :

include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of 
`__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: syntax error before "dev_t"

include/linux/types.h:152: warning: type defaults to `int' in declaration of 
`f_tinode'
include/linux/types.h:152: warning: data definition has no type or storage 
class
include/linux/types.h:155: error: syntax error before '}' token
In file included from 
/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/zaptel.c:42:
include/linux/kernel.h:15:27: asm/byteorder.h: No such file or directory
include/linux/kernel.h:16:21: asm/bug.h: No such file or directory
In file included from 
/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/zaptel.c:42:
include/linux/kernel.h:81: error: syntax error before "size_t"
include/linux/kernel.h:82: warning: function declaration isn't a prototype
include/linux/kernel.h:82: warning: conflicting types for built-in function 
`snprintf'
include/linux/kernel.h:83: error: syntax error before "size_t"
include/linux/kernel.h:83: warning: function declaration isn't a prototype

include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if

include/linux/fs.h:356: error: storage size of `bd_sem' isn't known
include/linux/fs.h:357: error: storage size of `bd_mount_sem' isn't known
include/linux/fs.h:431: error: storage size of `i_atime' isn't known
include/linux/fs.h:432: error: storage size of `i_mtime' isn't known


Ideas anyone?



More information about the asterisk-users mailing list