[asterisk-dev] Zaptel woes
J. Oquendo
joquendo at hushmail.com
Fri Jun 23 07:38:18 MST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all, I've been trying to compile the zaptel drivers on a SuSE
10 machine:
Linux linux 2.6.13-15.10-default #1 Fri May 12 16:27:12 UTC 2006
i686 i686 i386 GNU/Linux
I get no errors but the following warnings:
/temp/z/zaptel-1.2.6/zaptel.c:188: warning: âfcstabâ defined but
not used
/temp/z/zaptel-1.2.6/torisa.c:1145: warning: âset_tor_baseâ defined
but not used
/temp/z/zaptel-1.2.6/pciradio.c:504: warning: âbyte2â is used
uninitialized in this function
/temp/z/zaptel-1.2.6/pciradio.c:504: warning: âbyte2â is used
uninitialized in this function
/temp/z/zaptel-1.2.6/pciradio.c:1440: warning: âbyte1â may be used
uninitialized in this function
/temp/z/zaptel-1.2.6/pciradio.c:1440: warning: âbyte2â may be used
uninitialized in this function
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.c:79: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.c:110: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:365:2: warning: #warning This
module will not be usable since the kernel HZ
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:664: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:955: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:975: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:1387: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:2229: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_zap.c:365:2: warning: #warning This
module will not be usable since the kernel HZ
/temp/z/zaptel-1.2.6/xpp/xproto.h:131: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xproto.h:134: warning: type qualifiers
ignored on function return type
/temp/z/zaptel-1.2.6/xpp/xpp_usb.c:428: warning: ISO C90 forbids
mixed declarations and code
/temp/z/zaptel-1.2.6/xpp/xpp_usb.c:834: warning: ISO C90 forbids
mixed declarations and code
It seems to compile just fine and I did a make install-udev:
linux:/temp/z/zaptel-1.2.6 # ls /etc/udev/rules.d/zaptel.rules
/etc/udev/rules.d/zaptel.rules
linux:/temp/z/zaptel-1.2.6 # grep -i zap /etc/udev/rules.d/50-
udev.rules
KERNEL="zapctl", NAME="zap/ctl"
KERNEL="zaptimer", NAME="zap/timer"
KERNEL="zapchannel", NAME="zap/channel"
KERNEL="zappseudo", NAME="zap/pseudo"
KERNEL="zap[0-9]*", NAME="zap/%n"
All was done in accordance to all the relevant documentation I
found but no devices are ever made in /dev/:
linux:/temp/z/zaptel-1.2.6 # ls /dev/z*
/dev/zero
Any suggestions or advice on getting this working. I've searched
around for all documentation I could but can't find the solution
for this. Also, when I try to load the zaptel module I get the
following error:
insmod: error inserting 'zaptel.ko': -1 Unknown symbol in module
My compilation was:
make linux26
make install
make install-udev
Asterisk runs fine its Zaptel that's toasty.
TIA
J. Oquendo
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5
wpwEAQECAAYFAkSb/NoACgkQVnroYexO+HJCDgQAlIbN2Ua2Shv2qdIYo+pVkcuCrpS5
gNgkfN8Kx9Rwg8wzhkdB+aCT7HyCBWq0uQ79YssithV5gxGmoNclHrej/vz1xV9X4uby
FND8QQMqIZDUM0ByhBF46Vonou0M4wMiDnHi3d7kFlrBgv+nfLu0kZb9yTkAbEUgfqPY
E4iSRfM=
=kmhu
-----END PGP SIGNATURE-----
Concerned about your privacy? Instantly send FREE secure email, no account required
http://www.hushmail.com/send?l=480
Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485
More information about the asterisk-dev
mailing list