dear sir,
i am getting following error when i goto /usr/src/zaptel-1.2.7
& use make command & asterisk is not running
plz see that it is solved
thanks a lot
zaptel.c:5817: dereferencing pointer to incomplete type
zaptel.c:5817: dereferencing pointer to incomplete type
zaptel.c:5817: dereferencing pointer to incomplete type
zaptel.c:5883: dereferencing pointer to incomplete type
zaptel.c:5883: dereferencing pointer to incomplete type
zaptel.c:5883: dereferencing pointer to incomplete type
zaptel.c:5884: dereferencing pointer to incomplete type
zaptel.c:5884: dereferencing pointer to incomplete type
zaptel.c:5891: dereferencing pointer to incomplete type
zaptel.c:5893: dereferencing pointer to incomplete type
zaptel.c:5895: dereferencing pointer to incomplete type
zaptel.c:5896: dereferencing pointer to incomplete type
zaptel.c:5908: dereferencing pointer to incomplete type
zaptel.c:5914: dereferencing pointer to incomplete type
zaptel.c:5915: dereferencing pointer to incomplete type
zaptel.c:5916: dereferencing pointer to incomplete type
zaptel.c:5917: dereferencing pointer to incomplete type
zaptel.c:5923: dereferencing pointer to incomplete type
zaptel.c:5923: dereferencing pointer to incomplete type
zaptel.c:5924: dereferencing pointer to incomplete type
zaptel.c:5949: dereferencing pointer to incomplete type
zaptel.c:5949: dereferencing pointer to incomplete type
zaptel.c:5951: dereferencing pointer to incomplete type
zaptel.c:6041:11: warning: "/*" within comment
zaptel.c: At top level:
zaptel.c:6042: parse error before "if"
zaptel.c:6044: warning: type defaults to `int' in declaration of `ret'
zaptel.c:6044: warning: data definition has no type or storage class
zaptel.c:6045: parse error before '&' token
zaptel.c:6045: warning: type defaults to `int' in declaration of `spin_lock_irqsave'
zaptel.c:6045: warning: function declaration isn't a prototype
zaptel.c:6045: warning: data definition has no type or storage class
zaptel.c:6058: parse error before '&' token
zaptel.c:6058: warning: type defaults to `int' in declaration of `spin_unlock_irqrestore'
zaptel.c:6058: warning: function declaration isn't a prototype
zaptel.c:6058: warning: data definition has no type or storage class
zaptel.c:6069: parse error before "if"
zaptel.c: In function `__zt_transmit_chunk':
zaptel.c:6100: dereferencing pointer to incomplete type
zaptel.c:6100: dereferencing pointer to incomplete type
zaptel.c: In function `__zt_real_transmit':
zaptel.c:6114: dereferencing pointer to incomplete type
zaptel.c:6116: dereferencing pointer to incomplete type
zaptel.c:6116: dereferencing pointer to incomplete type
zaptel.c:6118: dereferencing pointer to incomplete type
zaptel.c: In function `__zt_getempty':
zaptel.c:6133: dereferencing pointer to incomplete type
zaptel.c:6134: dereferencing pointer to incomplete type
zaptel.c:6134: dereferencing pointer to incomplete type
zaptel.c:6139: dereferencing pointer to incomplete type
zaptel.c:6139: dereferencing pointer to incomplete type
zaptel.c:6140: dereferencing pointer to incomplete type
zaptel.c:6142: dereferencing pointer to incomplete type
zaptel.c:6144: dereferencing pointer to incomplete type
zaptel.c:6144: dereferencing pointer to incomplete type
zaptel.c:6147: dereferencing pointer to incomplete type
zaptel.c:6148: dereferencing pointer to incomplete type
zaptel.c:6149: dereferencing pointer to incomplete type
zaptel.c:6149: dereferencing pointer to incomplete type
zaptel.c:6150: dereferencing pointer to incomplete type
zaptel.c:6152: dereferencing pointer to incomplete type
zaptel.c:6155: dereferencing pointer to incomplete type
zaptel.c:6156: dereferencing pointer to incomplete type
zaptel.c:6156: dereferencing pointer to incomplete type
zaptel.c:6161: dereferencing pointer to incomplete type
zaptel.c: In function `__zt_receive_chunk':
zaptel.c:6174: dereferencing pointer to incomplete type
zaptel.c:6177: dereferencing pointer to incomplete type
zaptel.c:6177: dereferencing pointer to incomplete type
zaptel.c: In function `__zt_real_receive':
zaptel.c:6192: dereferencing pointer to incomplete type
zaptel.c:6194: dereferencing pointer to incomplete type
zaptel.c:6194: dereferencing pointer to incomplete type
zaptel.c:6196: dereferencing pointer to incomplete type
zaptel.c: In function `zt_transmit':
zaptel.c:6206: dereferencing pointer to incomplete type
zaptel.c:6207: dereferencing pointer to incomplete type
zaptel.c:6208: dereferencing pointer to incomplete type
zaptel.c:6208: dereferencing pointer to incomplete type
zaptel.c:6209: dereferencing pointer to incomplete type
zaptel.c:6210: dereferencing pointer to incomplete type
zaptel.c:6211: dereferencing pointer to incomplete type
zaptel.c:6212: dereferencing pointer to incomplete type
zaptel.c:6215: dereferencing pointer to incomplete type
zaptel.c:6216: dereferencing pointer to incomplete type
zaptel.c:6218: dereferencing pointer to incomplete type
zaptel.c:6228: dereferencing pointer to incomplete type
zaptel.c:6231: dereferencing pointer to incomplete type
zaptel.c:6232: dereferencing pointer to incomplete type
zaptel.c:6237: dereferencing pointer to incomplete type
zaptel.c:6240: dereferencing pointer to incomplete type
zaptel.c:6241: dereferencing pointer to incomplete type
zaptel.c:6243: dereferencing pointer to incomplete type
zaptel.c:6243: dereferencing pointer to incomplete type
zaptel.c:6244: dereferencing pointer to incomplete type
zaptel.c:6244: dereferencing pointer to incomplete type
zaptel.c:6245: dereferencing pointer to incomplete type
zaptel.c:6245: dereferencing pointer to incomplete type
zaptel.c:6245: dereferencing pointer to incomplete type
zaptel.c:6251: dereferencing pointer to incomplete type
zaptel.c:6253: dereferencing pointer to incomplete type
zaptel.c:6254: dereferencing pointer to incomplete type
zaptel.c:6255: dereferencing pointer to incomplete type
zaptel.c:6256: dereferencing pointer to incomplete type
zaptel.c:6257: dereferencing pointer to incomplete type
zaptel.c:6258: dereferencing pointer to incomplete type
zaptel.c:6259: dereferencing pointer to incomplete type
zaptel.c:6260: dereferencing pointer to incomplete type
zaptel.c: In function `zt_receive':
zaptel.c:6276: dereferencing pointer to incomplete type
zaptel.c:6277: dereferencing pointer to incomplete type
zaptel.c:6277: dereferencing pointer to incomplete type
zaptel.c:6278: dereferencing pointer to incomplete type
zaptel.c:6279: dereferencing pointer to incomplete type
zaptel.c:6287: dereferencing pointer to incomplete type
zaptel.c:6289: dereferencing pointer to incomplete type
zaptel.c:6292: dereferencing pointer to incomplete type
zaptel.c:6297: dereferencing pointer to incomplete type
zaptel.c:6299: dereferencing pointer to incomplete type
zaptel.c:6300: dereferencing pointer to incomplete type
zaptel.c:6301: dereferencing pointer to incomplete type
zaptel.c:6302: dereferencing pointer to incomplete type
zaptel.c:6305: dereferencing pointer to incomplete type
zaptel.c:6306: dereferencing pointer to incomplete type
zaptel.c:6307: dereferencing pointer to incomplete type
zaptel.c:6308: dereferencing pointer to incomplete type
zaptel.c:6309: dereferencing pointer to incomplete type
zaptel.c:6310: dereferencing pointer to incomplete type
zaptel.c:6311: dereferencing pointer to incomplete type
zaptel.c:6313: dereferencing pointer to incomplete type
zaptel.c:6313: dereferencing pointer to incomplete type
zaptel.c:6314: dereferencing pointer to incomplete type
zaptel.c:6317: dereferencing pointer to incomplete type
zaptel.c:6319: dereferencing pointer to incomplete type
zaptel.c:6320: dereferencing pointer to incomplete type
zaptel.c:6322: dereferencing pointer to incomplete type
zaptel.c:6324: dereferencing pointer to incomplete type
zaptel.c:6327: dereferencing pointer to incomplete type
zaptel.c:6328: dereferencing pointer to incomplete type
zaptel.c:6329: dereferencing pointer to incomplete type
zaptel.c:6330: dereferencing pointer to incomplete type
zaptel.c:6331: dereferencing pointer to incomplete type
zaptel.c:6332: dereferencing pointer to incomplete type
zaptel.c:6333: dereferencing pointer to incomplete type
zaptel.c:6334: dereferencing pointer to incomplete type
zaptel.c:6336: dereferencing pointer to incomplete type
zaptel.c:6337: dereferencing pointer to incomplete type
zaptel.c:6339: dereferencing pointer to incomplete type
zaptel.c:6343: dereferencing pointer to incomplete type
zaptel.c:6358: dereferencing pointer to incomplete type
zaptel.c:6358: dereferencing pointer to incomplete type
zaptel.c:6360: dereferencing pointer to incomplete type
zaptel.c:6361: dereferencing pointer to incomplete type
zaptel.c:6364: dereferencing pointer to incomplete type
zaptel.c:6365: dereferencing pointer to incomplete type
zaptel.c:6372: dereferencing pointer to incomplete type
zaptel.c:6373: dereferencing pointer to incomplete type
zaptel.c:6375: dereferencing pointer to incomplete type
zaptel.c:6396: dereferencing pointer to incomplete type
zaptel.c:6398: dereferencing pointer to incomplete type
zaptel.c:6401: dereferencing pointer to incomplete type
zaptel.c:6405: dereferencing pointer to incomplete type
zaptel.c:6405: dereferencing pointer to incomplete type
zaptel.c:6407: dereferencing pointer to incomplete type
zaptel.c:6408: dereferencing pointer to incomplete type
zaptel.c:6411: dereferencing pointer to incomplete type
zaptel.c:6412: dereferencing pointer to incomplete type
zaptel.c: At top level:
zaptel.c:6438: variable `zt_fops' has initializer but incomplete type
zaptel.c:6439: unknown field `owner' specified in initializer
zaptel.c:6439: warning: excess elements in struct initializer
zaptel.c:6439: warning: (near initialization for `zt_fops')
zaptel.c:6440: unknown field `llseek' specified in initializer
zaptel.c:6440: warning: excess elements in struct initializer
zaptel.c:6440: warning: (near initialization for `zt_fops')
zaptel.c:6441: unknown field `open' specified in initializer
zaptel.c:6441: warning: excess elements in struct initializer
zaptel.c:6441: warning: (near initialization for `zt_fops')
zaptel.c:6442: unknown field `release' specified in initializer
zaptel.c:6442: warning: excess elements in struct initializer
zaptel.c:6442: warning: (near initialization for `zt_fops')
zaptel.c:6443: unknown field `ioctl' specified in initializer
zaptel.c:6443: warning: excess elements in struct initializer
zaptel.c:6443: warning: (near initialization for `zt_fops')
zaptel.c:6444: unknown field `read' specified in initializer
zaptel.c:6444: warning: excess elements in struct initializer
zaptel.c:6444: warning: (near initialization for `zt_fops')
zaptel.c:6445: unknown field `write' specified in initializer
zaptel.c:6445: warning: excess elements in struct initializer
zaptel.c:6445: warning: (near initialization for `zt_fops')
zaptel.c:6446: unknown field `poll' specified in initializer
zaptel.c:6446: `zt_poll' undeclared here (not in a function)
zaptel.c:6446: warning: excess elements in struct initializer
zaptel.c:6446: warning: (near initialization for `zt_fops')
zaptel.c:6447: unknown field `mmap' specified in initializer
zaptel.c:6447: warning: excess elements in struct initializer
zaptel.c:6447: warning: (near initialization for `zt_fops')
zaptel.c:6448: unknown field `flush' specified in initializer
zaptel.c:6448: warning: excess elements in struct initializer
zaptel.c:6448: warning: (near initialization for `zt_fops')
zaptel.c:6449: unknown field `fsync' specified in initializer
zaptel.c:6449: warning: excess elements in struct initializer
zaptel.c:6449: warning: (near initialization for `zt_fops')
zaptel.c:6450: unknown field `fasync' specified in initializer
zaptel.c:6450: warning: excess elements in struct initializer
zaptel.c:6450: warning: (near initialization for `zt_fops')
zaptel.c: In function `zt_init':
zaptel.c:6540: warning: implicit declaration of function `register_chrdev'
zaptel.c:6541: `KERN_ERR' undeclared (first use in this function)
zaptel.c:6541: parse error before string constant
zaptel.c:6546: `KERN_INFO' undeclared (first use in this function)
zaptel.c:6546: parse error before string constant
zaptel.c:6547: parse error before string constant
zaptel.c:6553: warning: implicit declaration of function `rwlock_init'
zaptel.c: In function `zt_cleanup':
zaptel.c:6567: `KERN_INFO' undeclared (first use in this function)
zaptel.c:6567: parse error before string constant
zaptel.c:6586: warning: implicit declaration of function `unregister_chrdev'
zaptel.c: At top level:
zaptel.c:6438: storage size of `zt_fops' isn't known
make: *** [zaptel.o] Error 1
-bash-2.05b#