Zaptel make error


#1

i am trying to get asterix to compile, but getting this error now when makeing zaptel:


zaptel.c:6373: warning: (near initialization for `zt_fops')
zaptel.c:6374: unknown field `flush' specified in initializer
zaptel.c:6374: warning: excess elements in struct initializer
zaptel.c:6374: warning: (near initialization for `zt_fops')
zaptel.c:6375: unknown field `fsync' specified in initializer
zaptel.c:6375: warning: excess elements in struct initializer
zaptel.c:6375: warning: (near initialization for `zt_fops')
zaptel.c:6376: unknown field `fasync' specified in initializer
zaptel.c:6376: warning: excess elements in struct initializer
zaptel.c:6376: warning: (near initialization for `zt_fops')
zaptel.c: In function `zt_init':
zaptel.c:6466: warning: implicit declaration of function `register_chrdev'
zaptel.c:6467: `KERN_ERR' undeclared (first use in this function)
zaptel.c:6467: parse error before string constant
zaptel.c:6472: `KERN_INFO' undeclared (first use in this function)
zaptel.c:6472: parse error before string constant
zaptel.c:6477: warning: implicit declaration of function `rwlock_init'
zaptel.c: In function `zt_cleanup':
zaptel.c:6491: `KERN_INFO' undeclared (first use in this function)
zaptel.c:6491: parse error before string constant
zaptel.c:6510: warning: implicit declaration of function `unregister_chrdev'
zaptel.c: At top level:
zaptel.c:6364: storage size of `zt_fops' isn't known
/usr/include/linux/proc_fs.h:193: warning: `create_proc_read_entry' declared `st
atic' but never defined
make: *** [zaptel.o] Error 1

redhat 9.0, kernel 2.4.20