Summary: | ASTERISK-01907: zaptel cvs fails to compile on kernel 2.6.7 | ||
Reporter: | srosebush (srosebush) | Labels: | |
Date Opened: | 2004-06-27 11:32:55 | Date Closed: | 2011-06-07 14:10:32 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Using Slackware 10 and the kernel 2.6.7.. The CVS version of zaptel fails to compile on kernel 2.6.7 however the 'stable' one in the ftp works... I have not been able to resolve this problem. Help appreciated. ****** ADDITIONAL INFORMATION ****** make[1]: Entering directory `/usr/src/linux-2.6.7' CC [M] /root/zaptel/zaptel.o /root/zaptel/zaptel.c: In function `zt_net_open': /root/zaptel/zaptel.c:1166: warning: passing arg 1 of `hdlc_open' from incompatible pointer type /root/zaptel/zaptel.c: In function `zt_net_stop': /root/zaptel/zaptel.c:1238: warning: passing arg 1 of `hdlc_close' from incompatible pointer type /root/zaptel/zaptel.c: In function `zt_xmit': /root/zaptel/zaptel.c:1294: error: structure has no member named `netdev' /root/zaptel/zaptel.c:1294: warning: type defaults to `int' in declaration of `__mptr' /root/zaptel/zaptel.c:1294: warning: initialization from incompatible pointer type /root/zaptel/zaptel.c:1294: error: structure has no member named `netdev' /root/zaptel/zaptel.c:1294: error: invalid type argument of `->' /root/zaptel/zaptel.c:1354: warning: comparison of distinct pointer types lacks a cast /root/zaptel/zaptel.c: In function `zt_chan_unreg': /root/zaptel/zaptel.c:1487: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /root/zaptel/zaptel.c: In function `zt_ctl_ioctl': /root/zaptel/zaptel.c:2959: error: structure has no member named `netdev' /root/zaptel/zaptel.c:2964: warning: passing arg 1 of `unregister_hdlc_device' from incompatible pointer type /root/zaptel/zaptel.c:3044: error: structure has no member named `netdev' /root/zaptel/zaptel.c:3046: error: structure has no member named `netdev' /root/zaptel/zaptel.c:3047: error: structure has no member named `netdev' /root/zaptel/zaptel.c:3049: warning: assignment from incompatible pointer type /root/zaptel/zaptel.c:3056: error: structure has no member named `netdev' /root/zaptel/zaptel.c:3057: error: structure has no member named `netdev' /root/zaptel/zaptel.c:3058: warning: passing arg 1 of `register_hdlc_device' from incompatible pointer type /root/zaptel/zaptel.c: In function `__zt_getbuf_chunk': /root/zaptel/zaptel.c:4635: error: structure has no member named `netdev' /root/zaptel/zaptel.c: In function `__zt_putbuf_chunk': /root/zaptel/zaptel.c:5508: error: structure has no member named `netdev' /root/zaptel/zaptel.c:5510: error: structure has no member named `netdev' make[2]: *** [/root/zaptel/zaptel.o] Error 1 make[1]: *** [_module_/root/zaptel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.7' make: *** [linux26] Error 2 | ||
Comments: | By: Mark Spencer (markster) 2004-06-27 12:09:11 This is a compile issue, turn off ZAPATA_NET in zconfig.h since that has not yet been ported to the 2.6 kernel and it will build. By: srosebush (srosebush) 2004-06-27 12:17:13 thanks markster, i tried IRC yesterday and wasnt given much help. at least ya helped me.. it worked :) Steve |