[Asterisk-Users] Zaptel 1.0.0. will not compile

Remco Barende asterisk at barendse.to
Sun Oct 10 13:47:51 MST 2004


OK, I got a little further. I don't know why but after re-emerging zapata 
finally zaptel will build. It is not working however and I still get too 
many erros during the build. It's now complaining about:

   CC [M]  /var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/zaptel.o
/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/zaptel.c:163: warning: 
`fcstab' defined but not used
   CC [M]  /var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/tor2.o
   CC [M]  /var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/torisa.o
/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/torisa.c:1139: warning: 
`set_tor_base' defined but not used


*** Warning: "zt_register" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_transmit" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_receive" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_ec_chunk" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_set_dynamic_ioctl" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_unregister" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_alarm_notify" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_rbsbits" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdynamic.ko] has no CRC!
*** Warning: "zt_transmit" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdummy.ko] has no CRC!
*** Warning: "zt_receive" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdummy.ko] has no CRC!
*** Warning: "zt_unregister" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdummy.ko] has no CRC!
*** Warning: "zt_register" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztdummy.ko] has no CRC!
*** Warning: "zt_dynamic_unregister" 
[/var/tmp/portage/zaptel-1.0.0/work/zaptel-1.0.0/ztd-eth.ko] has no CRC! 
and many many more



On Sun, 10 Oct 2004, Remco Barende wrote:

> 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?
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>



More information about the asterisk-users mailing list