OK, I tried compiling from tarball.
I got the zaptel-1.0.0.tar.gz. I untarred it. In that directory where the tarball unpacked I just duid 'make linux26' (without doing a ./configure or any changes). Zaptel started compiling but gave the same errors about crc errors:
*** Warning: "zt_ec_chunk" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_transmit" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_receive" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_unregister" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_qevent_lock" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_hooksig" [/tmp/zaptel-1.0.0/wcfxs.ko] has no CRC! *** Warning: "zt_alarm_notify" [/tmp/zaptel-1.0.0/wcfxo.ko] has no CRC! *** Warning: "zt_transmit" [/tmp/zaptel-1.0.0/wcfxo.ko] has no CRC! *** Warning: "zt_receive" [/tmp/zaptel-1.0.0/wcfxo.ko] has no CRC! *** Warning: "zt_ec_chunk" [/tmp/zaptel-1.0.0/wcfxo.ko] has no CRC! *** Warning: "zt_hooksig" [/tmp/zaptel-1.0.0/wcfxo.ko] has no CRC! and whole lot more.
I have 2 symlinks in my /usr/src directory, ./linux-26 and ./linux
Strange that it does not even work from the tarball
On Sun, 10 Oct 2004, Brian West wrote:
I'm the same way... Asterisk, zaptel and libpri are all done from src and not portage.
bkw
-----Original Message----- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Karl Dyson Sent: Sunday, October 10, 2004 3:54 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Zaptel 1.0.0. will not compile
Personally I get zaptel, zapata etc from cvs rather than portage.
Check your /usr/src/linux symlink points to the correct place... I got all sorts of grief with gentoo when I forgot to put it back after some "playing".
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Remco Barende Sent: 10 October 2004 21:48 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Zaptel 1.0.0. will not compile
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:
kernel versionHi list
I am trying to install asterisk on a gentoo box running1.0.0 but theLinux 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 Asteriskpages and pagescompile of the zaptel module fails miserably.
Compilation seems to start at first but then generates"__kernel_dev_t"of errors like :
include/linux/types.h:18: error: syntax error beforedirectory Ininclude/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 orfile 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
______________________________________________________________ __________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ______________________________________________________________ __________
________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
