[Asterisk-Users] Compiling zaptel under 9.1 Suse

asterisk asterisk at dotr.com
Wed Jun 23 11:32:44 MST 2004


Have some errors with the above.

I have tried make and make linux26

Anyone got any clues ? I've googled but only got the "make linux26" help

Asterisk compiles and runs great, libpri compiles with no problems.

TIA

Julian.

pbx:~ # cd /usr/src/zaptel
pbx:/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.4-52'
  CHK     include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /usr/src/zaptel/zaptel.o
/usr/src/zaptel/zaptel.c: In function `zt_net_open':
/usr/src/zaptel/zaptel.c:1166: 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:1238: 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:1294: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1294: warning: type defaults to `int' in
declaration of `__mptr'
/usr/src/zaptel/zaptel.c:1294: warning: initialization from incompatible
pointer type
/usr/src/zaptel/zaptel.c:1294: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:1294: error: invalid type argument of `->'
/usr/src/zaptel/zaptel.c:1354: warning: comparison of distinct pointer types
lacks a cast
/usr/src/zaptel/zaptel.c: In function `zt_chan_unreg':
/usr/src/zaptel/zaptel.c:1487: 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:2959: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:2964: warning: passing arg 1 of
`unregister_hdlc_device' from incompatible pointer type
/usr/src/zaptel/zaptel.c:3044: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3046: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3047: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3049: warning: assignment from incompatible pointer
type
/usr/src/zaptel/zaptel.c:3056: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3057: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:3058: 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:4635: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c: In function `__zt_putbuf_chunk':
/usr/src/zaptel/zaptel.c:5508: error: structure has no member named `netdev'
/usr/src/zaptel/zaptel.c:5510: error: 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.4-52'
make: *** [linux26] Error 2
pbx:/usr/src/zaptel #




More information about the asterisk-users mailing list