[Asterisk-Users] Problem compiling ZAPTEL on Linux 2.6.6
Miroslav Nachev
miro at space-comm.com
Wed Jun 2 06:56:10 MST 2004
Hi,
I have Debian Linux with kernel 2.6.6. The all packages compiled
except ZAPTEL where I have the following error:
voipgw:/usr/src/zaptel# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.6'
CC [M] /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c: In function `zt_net_open':
/usr/src/zaptel/zaptel.c:1165: warning: passing arg 1 of `hdlc_open' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_net_stop':
/usr/src/zaptel/zaptel.c:1237: warning: passing arg 1 of `hdlc_close' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_xmit':
/usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1293: warning: type defaults to `int' in declaration of `__mptr'
/usr/src/zaptel/zaptel.c:1293: warning: initialization from incompatible pointer type
/usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1293: invalid type argument of `->'
/usr/src/zaptel/zaptel.c:1353: warning: comparison of distinct pointer types lacks a cast
/usr/src/zaptel/zaptel.c: In function `zt_chan_unreg':
/usr/src/zaptel/zaptel.c:1486: warning: passing arg 1 of `unregister_hdlc_devicevoipgw:/usr/src/zaptel# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.6'
CC [M] /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c: In function `zt_net_open':
/usr/src/zaptel/zaptel.c:1165: warning: passing arg 1 of `hdlc_open' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_net_stop':
/usr/src/zaptel/zaptel.c:1237: warning: passing arg 1 of `hdlc_close' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_xmit':
/usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1293: warning: type defaults to `int' in declaration of `__mptr'
/usr/src/zaptel/zaptel.c:1293: warning: initialization from incompatible pointer type
/usr/src/zaptel/zaptel.c:1293: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1293: invalid type argument of `->'
/usr/src/zaptel/zaptel.c:1353: warning: comparison of distinct pointer types lacks a cast
/usr/src/zaptel/zaptel.c: In function `zt_chan_unreg':
/usr/src/zaptel/zaptel.c:1486: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `zt_ctl_ioctl':
/usr/src/zaptel/zaptel.c:2950: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:2955: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type
/usr/src/zaptel/zaptel.c:3035: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3037: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3038: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3040: warning: assignment from incompatible pointer type
/usr/src/zaptel/zaptel.c:3047: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3048: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3049: warning: passing arg 1 of `register_hdlc_device' from incompatible pointer type
/usr/src/zaptel/zaptel.c: In function `__zt_getbuf_chunk':
/usr/src/zaptel/zaptel.c:4626: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c: In function `__zt_putbuf_chunk':
/usr/src/zaptel/zaptel.c:5499: structure has no member named `netdev'
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [/usr/src/zaptel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.6'
make: *** [linux26] Error 2
Could you be so kind to give me some suggestions?
More information about the asterisk-users
mailing list