[Asterisk-Users] Problem compiling ZAPTEL on Linux 2.6.6

Miroslav Nachev miro at space-comm.com
Wed Jun 2 09:57:15 MST 2004


Hello Fran,

   I try with "make linux26" but the result is the same:
   
voipgw:/usr/src/zaptel# make linux26
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


-- 
Best regards,
 Miroslav                            mailto:miro at space-comm.com


Wednesday, June 2, 2004, 6:17:12 PM, you wrote:

FB> On Wed, 2004-06-02 at 14:56, Miroslav Nachev wrote:
>>    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

FB> make linux26

FB> F

FB> _______________________________________________
FB> Asterisk-Users mailing list
FB> Asterisk-Users at lists.digium.com
FB> http://lists.digium.com/mailman/listinfo/asterisk-users
FB> To UNSUBSCRIBE or update options visit:
FB>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list