cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits > tones.h
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION="1.2.7" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi
rm -f version.h.tmp
cc fw2h.c -o fw2h
./fw2h OCT6114-128D.ima vpm450m_fw.h
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.6.16.27/build
make -C /lib/modules/2.6.16.27/build SUBDIRS=/sources/asterisk/zaptel-1.2.7 modules
make[1]: Entering directory `/sources/linux-2.6.16.27'
WARNING: Symbol version dump /sources/linux-2.6.16.27/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /sources/asterisk/zaptel-1.2.7/zaptel.o
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:40:
/sources/asterisk/zaptel-1.2.7/zconfig.h:10:27: error: linux/version.h: No such file or directory
/sources/asterisk/zaptel-1.2.7/zconfig.h:72:5: warning: "LINUX_VERSION_CODE" is not defined
/sources/asterisk/zaptel-1.2.7/zconfig.h:72:27: warning: "KERNEL_VERSION" is not defined
/sources/asterisk/zaptel-1.2.7/zconfig.h:72:41: error: missing binary operator before token "("
In file included from include/linux/kernel.h:11,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory
In file included from include/linux/types.h:15,
from include/linux/kernel.h:13,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from include/linux/kernel.h:13,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/types.h:16:23: error: asm/types.h: No such file or directory
In file included from include/linux/kernel.h:13,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/types.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t'
include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
include/linux/types.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t'
include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t'
include/linux/types.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t'
include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
include/linux/types.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'
include/linux/types.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t'
include/linux/types.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t'
include/linux/types.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t'
include/linux/types.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t'
include/linux/types.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid16_t'
include/linux/types.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid16_t'
include/linux/types.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_uid_t'
include/linux/types.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_gid_t'
include/linux/types.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t'
include/linux/types.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t'
include/linux/types.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t'
include/linux/types.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrdiff_t'
include/linux/types.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t'
include/linux/types.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t'
include/linux/types.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t'
include/linux/types.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int8_t'
include/linux/types.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t'
include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int16_t'
include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t'
include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int32_t'
include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t'
include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
include/linux/types.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t'
include/linux/types.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t'
include/linux/types.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t'
include/linux/types.h:166: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16'
include/linux/types.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16'
include/linux/types.h:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32'
include/linux/types.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32'
include/linux/types.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64'
include/linux/types.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64'
include/linux/types.h:180: error: expected specifier-qualifier-list before '__kernel_daddr_t'
In file included from include/linux/kernel.h:15,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/bitops.h:77:24: error: asm/bitops.h: No such file or directory
In file included from include/linux/kernel.h:15,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/bitops.h:80: error: expected ')' before 'x'
include/linux/bitops.h: In function 'get_bitmask_order':
include/linux/bitops.h:92: warning: implicit declaration of function 'fls'
include/linux/bitops.h: At top level:
include/linux/bitops.h:135: error: expected ')' before 'w'
include/linux/bitops.h:137:5: warning: "BITS_PER_LONG" is not defined
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:153: warning: implicit declaration of function 'generic_hweight64'
include/linux/bitops.h: At top level:
include/linux/bitops.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol32'
include/linux/bitops.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror32'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/kernel.h:16:27: error: asm/byteorder.h: No such file or directory
include/linux/kernel.h:17:21: error: asm/bug.h: No such file or directory
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:43:
include/linux/kernel.h:106: error: expected declaration specifiers or '...' before 'size_t'
include/linux/kernel.h:107: error: format string argument not a string type
include/linux/kernel.h:108: error: expected declaration specifiers or '...' before 'size_t'
include/linux/kernel.h:110: error: expected declaration specifiers or '...' before 'size_t'
include/linux/kernel.h:111: error: format string argument not a string type
include/linux/kernel.h:112: error: expected declaration specifiers or '...' before 'size_t'
include/linux/kernel.h:243:2: error: #error "Please fix asm/byteorder.h"
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:44:
include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
In file included from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sched.h:4:36: error: asm/param.h: No such file or directory
In file included from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/capability.h:33: error: expected specifier-qualifier-list before '__u32'
include/linux/capability.h:38: error: expected specifier-qualifier-list before '__u32'
In file included from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/thread_info.h:21:29: error: asm/thread_info.h: No such file or directory
In file included from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/thread_info.h:30: warning: 'struct thread_info' declared inside parameter list
include/linux/thread_info.h:30: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/thread_info.h: In function 'set_ti_thread_flag':
include/linux/thread_info.h:32: warning: implicit declaration of function 'set_bit'
include/linux/thread_info.h:32: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: At top level:
include/linux/thread_info.h:35: warning: 'struct thread_info' declared inside parameter list
include/linux/thread_info.h: In function 'clear_ti_thread_flag':
include/linux/thread_info.h:37: warning: implicit declaration of function 'clear_bit'
include/linux/thread_info.h:37: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: At top level:
include/linux/thread_info.h:40: warning: 'struct thread_info' declared inside parameter list
include/linux/thread_info.h: In function 'test_and_set_ti_thread_flag':
include/linux/thread_info.h:42: warning: implicit declaration of function 'test_and_set_bit'
include/linux/thread_info.h:42: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: At top level:
include/linux/thread_info.h:45: warning: 'struct thread_info' declared inside parameter list
include/linux/thread_info.h: In function 'test_and_clear_ti_thread_flag':
include/linux/thread_info.h:47: warning: implicit declaration of function 'test_and_clear_bit'
include/linux/thread_info.h:47: error: dereferencing pointer to incomplete type
include/linux/thread_info.h: At top level:
include/linux/thread_info.h:50: warning: 'struct thread_info' declared inside parameter list
include/linux/thread_info.h: In function 'test_ti_thread_flag':
include/linux/thread_info.h:52: warning: implicit declaration of function 'test_bit'
include/linux/thread_info.h:52: error: dereferencing pointer to incomplete type
In file included from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/spinlock.h:57:24: error: asm/system.h: No such file or directory
include/linux/spinlock.h:231:24: error: asm/atomic.h: No such file or directory
In file included from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/spinlock.h: At top level:
include/linux/spinlock.h:237: error: expected ')' before '*' token
In file included from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/capability.h:46:25: error: asm/current.h: No such file or directory
In file included from include/linux/sched.h:7,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/capability.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kernel_cap_t'
include/linux/capability.h:295: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_bset'
include/linux/capability.h:323: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_combine'
include/linux/capability.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_intersect'
include/linux/capability.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_drop'
include/linux/capability.h:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_invert'
In file included from include/linux/time.h:7,
from include/linux/timex.h:58,
from include/linux/sched.h:11,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/seqlock.h: In function 'write_seqlock':
include/linux/seqlock.h:52: warning: implicit declaration of function 'current_thread_info'
include/linux/seqlock.h:52: error: invalid type argument of '->'
include/linux/seqlock.h:54: warning: implicit declaration of function 'smp_wmb'
include/linux/seqlock.h: In function 'write_sequnlock':
include/linux/seqlock.h:61: error: invalid type argument of '->'
include/linux/seqlock.h:61: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/seqlock.h:61: error: (Each undeclared identifier is reported only once
include/linux/seqlock.h:61: error: for each function it appears in.)
include/linux/seqlock.h:61: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/seqlock.h: In function 'write_tryseqlock':
include/linux/seqlock.h:66: error: invalid type argument of '->'
include/linux/seqlock.h: In function 'read_seqbegin':
include/linux/seqlock.h:79: warning: implicit declaration of function 'smp_rmb'
In file included from include/linux/timex.h:58,
from include/linux/sched.h:11,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/time.h: At top level:
include/linux/time.h:13: error: expected specifier-qualifier-list before 'time_t'
include/linux/time.h:19: error: expected specifier-qualifier-list before 'time_t'
include/linux/time.h: In function 'timespec_equal':
include/linux/time.h:38: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:38: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:38: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/time.h:38: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/time.h: In function 'timespec_compare':
include/linux/time.h:48: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:48: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:50: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:50: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h:52: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/time.h:52: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/time.h: In function 'timeval_compare':
include/linux/time.h:57: error: 'struct timeval' has no member named 'tv_sec'
include/linux/time.h:57: error: 'struct timeval' has no member named 'tv_sec'
include/linux/time.h:59: error: 'struct timeval' has no member named 'tv_sec'
include/linux/time.h:59: error: 'struct timeval' has no member named 'tv_sec'
include/linux/time.h:61: error: 'struct timeval' has no member named 'tv_usec'
include/linux/time.h:61: error: 'struct timeval' has no member named 'tv_usec'
include/linux/time.h: At top level:
include/linux/time.h:68: error: expected declaration specifiers or '...' before 'time_t'
include/linux/time.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsec_t'
include/linux/time.h: In function 'get_seconds':
include/linux/time.h:88: error: 'struct timespec' has no member named 'tv_sec'
include/linux/time.h: At top level:
include/linux/time.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec_to_ns'
include/linux/time.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timeval_to_ns'
include/linux/time.h:140: warning: type defaults to 'int' in declaration of 'nsec_t'
include/linux/time.h:140: error: expected ';', ',' or ')' before 'nsec'
include/linux/time.h:148: warning: type defaults to 'int' in declaration of 'nsec_t'
include/linux/time.h:148: error: expected ';', ',' or ')' before 'nsec'
In file included from include/linux/sched.h:11,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/timex.h:61:23: error: asm/timex.h: No such file or directory
In file included from include/linux/sched.h:11,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/timex.h:349: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'current_tick_length'
In file included from include/linux/jiffies.h:4,
from include/linux/sched.h:12,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/calc64.h:5:23: error: asm/div64.h: No such file or directory
In file included from include/linux/jiffies.h:4,
from include/linux/sched.h:12,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/calc64.h: In function 'do_div_llr':
include/linux/calc64.h:23: error: 'u64' undeclared (first use in this function)
include/linux/calc64.h:23: error: expected ';' before 'result'
include/linux/calc64.h:25: warning: implicit declaration of function 'do_div'
include/linux/calc64.h:25: error: 'result' undeclared (first use in this function)
In file included from include/linux/sched.h:12,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/jiffies.h:18:5: warning: "HZ" is not defined
include/linux/jiffies.h:20:7: warning: "HZ" is not defined
include/linux/jiffies.h:22:7: warning: "HZ" is not defined
include/linux/jiffies.h:24:7: warning: "HZ" is not defined
include/linux/jiffies.h:26:7: warning: "HZ" is not defined
include/linux/jiffies.h:28:7: warning: "HZ" is not defined
include/linux/jiffies.h:30:7: warning: "HZ" is not defined
include/linux/jiffies.h:33:3: error: #error You lose.
In file included from include/linux/sched.h:12,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:75: warning: type defaults to 'int' in declaration of 'u64'
include/linux/jiffies.h:75: error: expected ',' or ';' before 'jiffies_64'
include/linux/jiffies.h:78:6: warning: "BITS_PER_LONG" is not defined
include/linux/jiffies.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_jiffies_64'
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: warning: "HZ" is not defined
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:31: error: division by zero in #if
include/linux/jiffies.h:204:46: warning: "SHIFT_HZ" is not defined
include/linux/jiffies.h:231:5: warning: "BITS_PER_LONG" is not defined
include/linux/jiffies.h:248:5: warning: "HZ" is not defined
include/linux/jiffies.h:248:44: warning: "HZ" is not defined
include/linux/jiffies.h:248:46: error: division by zero in #if
include/linux/jiffies.h:250:7: warning: "HZ" is not defined
include/linux/jiffies.h: In function 'jiffies_to_msecs':
include/linux/jiffies.h:253: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:259:5: warning: "HZ" is not defined
include/linux/jiffies.h:259:44: warning: "HZ" is not defined
include/linux/jiffies.h:259:46: error: division by zero in #if
include/linux/jiffies.h:261:7: warning: "HZ" is not defined
include/linux/jiffies.h: In function 'jiffies_to_usecs':
include/linux/jiffies.h:264: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:272:5: warning: "HZ" is not defined
include/linux/jiffies.h:272:44: warning: "HZ" is not defined
include/linux/jiffies.h:272:46: error: division by zero in #if
include/linux/jiffies.h:274:7: warning: "HZ" is not defined
include/linux/jiffies.h: In function 'msecs_to_jiffies':
include/linux/jiffies.h:277: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:285:5: warning: "HZ" is not defined
include/linux/jiffies.h:285:44: warning: "HZ" is not defined
include/linux/jiffies.h:285:46: error: division by zero in #if
include/linux/jiffies.h:287:7: warning: "HZ" is not defined
include/linux/jiffies.h: In function 'usecs_to_jiffies':
include/linux/jiffies.h:290: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h: In function 'timespec_to_jiffies':
include/linux/jiffies.h:308: error: 'const struct timespec' has no member named 'tv_sec'
include/linux/jiffies.h:309: error: 'const struct timespec' has no member named 'tv_nsec'
include/linux/jiffies.h:309: error: 'CLOCK_TICK_RATE' undeclared (first use in this function)
include/linux/jiffies.h:309: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:311: error: called object 'u64' is not a function
include/linux/jiffies.h:311: error: called object 'u64' is not a function
include/linux/jiffies.h:312: error: called object 'u64' is not a function
include/linux/jiffies.h:312: error: called object 'u64' is not a function
include/linux/jiffies.h:315: error: expected ')' before 'sec'
include/linux/jiffies.h:316: error: expected ')' before 'nsec'
include/linux/jiffies.h:317: error: 'SHIFT_HZ' undeclared (first use in this function)
include/linux/jiffies.h: In function 'jiffies_to_timespec':
include/linux/jiffies.h:328: warning: statement with no effect
include/linux/jiffies.h:328: error: expected ';' before 'nsec'
include/linux/jiffies.h:329: error: 'struct timespec' has no member named 'tv_sec'
include/linux/jiffies.h:329: error: 'nsec' undeclared (first use in this function)
include/linux/jiffies.h:329: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/jiffies.h: In function 'timeval_to_jiffies':
include/linux/jiffies.h:347: error: 'const struct timeval' has no member named 'tv_sec'
include/linux/jiffies.h:348: error: 'const struct timeval' has no member named 'tv_usec'
include/linux/jiffies.h:350: error: called object 'u64' is not a function
include/linux/jiffies.h:350: error: 'CLOCK_TICK_RATE' undeclared (first use in this function)
include/linux/jiffies.h:350: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:350: error: called object 'u64' is not a function
include/linux/jiffies.h:351: error: called object 'u64' is not a function
include/linux/jiffies.h:351: error: called object 'u64' is not a function
include/linux/jiffies.h:354: error: expected ')' before 'sec'
include/linux/jiffies.h:355: error: expected ')' before 'usec'
include/linux/jiffies.h:356: error: 'SHIFT_HZ' undeclared (first use in this function)
include/linux/jiffies.h: In function 'jiffies_to_timeval':
include/linux/jiffies.h:366: warning: statement with no effect
include/linux/jiffies.h:366: error: expected ';' before 'nsec'
include/linux/jiffies.h:367: warning: ISO C90 forbids mixed declarations and code
include/linux/jiffies.h:369: error: 'struct timeval' has no member named 'tv_sec'
include/linux/jiffies.h:369: error: 'nsec' undeclared (first use in this function)
include/linux/jiffies.h:371: error: 'struct timeval' has no member named 'tv_usec'
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:377: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_to_clock_t'
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: warning: "HZ" is not defined
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:6: error: division by zero in #if
include/linux/jiffies.h:379:34: warning: "USER_HZ" is not defined
include/linux/jiffies.h:379:41: error: division by zero in #if
include/linux/jiffies.h:390:6: warning: "HZ" is not defined
include/linux/jiffies.h:390:11: warning: "USER_HZ" is not defined
include/linux/jiffies.h:390:18: error: division by zero in #if
include/linux/jiffies.h: In function 'clock_t_to_jiffies':
include/linux/jiffies.h:391: error: 'HZ' undeclared (first use in this function)
include/linux/jiffies.h:391: error: 'USER_HZ' undeclared (first use in this function)
include/linux/jiffies.h: At top level:
include/linux/jiffies.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_64_to_clock_t'
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: warning: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: warning: "HZ" is not defined
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:6: error: division by zero in #if
include/linux/jiffies.h:410:34: warning: "USER_HZ" is not defined
include/linux/jiffies.h:410:41: error: division by zero in #if
include/linux/jiffies.h:424: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsec_to_clock_t'
include/linux/jiffies.h:426:21: warning: "USER_HZ" is not defined
include/linux/jiffies.h:426:28: error: division by zero in #if
include/linux/jiffies.h:428:8: warning: "USER_HZ" is not defined
In file included from include/linux/bitmap.h:8,
from include/linux/cpumask.h:86,
from include/linux/sched.h:15,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/string.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
include/linux/string.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
In file included from include/linux/bitmap.h:8,
from include/linux/cpumask.h:86,
from include/linux/sched.h:15,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/string.h:24:24: error: asm/string.h: No such file or directory
include/linux/string.h:30: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcpy'
include/linux/string.h:39: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcat'
include/linux/string.h:48: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:51: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:57: error: expected declaration specifiers or '...' before 'size_t'
include/linux/string.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
include/linux/string.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen'
include/linux/string.h:73: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:76: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:79: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:82: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:85: error: expected declaration specifiers or '...' before '__kernel_size_t'
include/linux/string.h:88: error: expected declaration specifiers or '...' before '__kernel_size_t'
In file included from include/linux/cpumask.h:86,
from include/linux/sched.h:15,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/bitmap.h: In function 'bitmap_zero':
include/linux/bitmap.h:125: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h:129: error: too many arguments to function 'memset'
include/linux/bitmap.h: In function 'bitmap_fill':
include/linux/bitmap.h:135: error: 'size_t' undeclared (first use in this function)
include/linux/bitmap.h:135: error: expected ';' before 'nlongs'
include/linux/bitmap.h:136: error: 'nlongs' undeclared (first use in this function)
include/linux/bitmap.h:138: error: too many arguments to function 'memset'
include/linux/bitmap.h:140: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_copy':
include/linux/bitmap.h:146: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h:150: error: too many arguments to function 'memcpy'
include/linux/bitmap.h: In function 'bitmap_and':
include/linux/bitmap.h:157: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_or':
include/linux/bitmap.h:166: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_xor':
include/linux/bitmap.h:175: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_andnot':
include/linux/bitmap.h:184: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_complement':
include/linux/bitmap.h:193: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_equal':
include/linux/bitmap.h:202: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_intersects':
include/linux/bitmap.h:211: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_subset':
include/linux/bitmap.h:220: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_empty':
include/linux/bitmap.h:228: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_full':
include/linux/bitmap.h:236: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_shift_right':
include/linux/bitmap.h:250: error: 'BITS_PER_LONG' undeclared (first use in this function)
include/linux/bitmap.h: In function 'bitmap_shift_left':
include/linux/bitmap.h:259: error: 'BITS_PER_LONG' undeclared (first use in this function)
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/cpumask.h: At top level:
include/linux/cpumask.h:88: error: 'BITS_PER_LONG' undeclared here (not in a function)
include/linux/cpumask.h: In function '__first_cpu':
include/linux/cpumask.h:218: warning: implicit declaration of function 'find_first_bit'
include/linux/cpumask.h: In function '__next_cpu':
include/linux/cpumask.h:224: warning: implicit declaration of function 'find_next_bit'
In file included from include/linux/sched.h:15,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/cpumask.h:241:16: warning: "BITS_PER_LONG" is not defined
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/nodemask.h: In function '__first_unset_node':
include/linux/nodemask.h:253: warning: implicit declaration of function 'find_first_zero_bit'
In file included from include/linux/sched.h:17,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/nodemask.h:259:21: warning: "BITS_PER_LONG" is not defined
In file included from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sched.h:20:27: error: asm/semaphore.h: No such file or directory
include/linux/sched.h:21:22: error: asm/page.h: No such file or directory
include/linux/sched.h:22:24: error: asm/ptrace.h: No such file or directory
include/linux/sched.h:23:21: error: asm/mmu.h: No such file or directory
include/linux/sched.h:24:25: error: asm/cputime.h: No such file or directory
In file included from include/linux/sem.h:4,
from include/linux/sched.h:27,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/ipc.h: At top level:
include/linux/ipc.h:12: error: expected specifier-qualifier-list before '__kernel_uid_t'
In file included from include/linux/sem.h:4,
from include/linux/sched.h:27,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory
include/linux/ipc.h:62: error: expected specifier-qualifier-list before 'uid_t'
In file included from include/linux/sched.h:27,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sem.h:26: error: expected specifier-qualifier-list before '__kernel_time_t'
In file included from include/linux/sched.h:27,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sem.h:36:24: error: asm/sembuf.h: No such file or directory
include/linux/sem.h:94: error: expected specifier-qualifier-list before 'time_t'
include/linux/sem.h:132: error: expected specifier-qualifier-list before 'atomic_t'
In file included from include/linux/list.h:7,
from include/linux/signal.h:4,
from include/linux/sched.h:28,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory
include/linux/prefetch.h:15:23: error: asm/cache.h: No such file or directory
In file included from include/linux/list.h:7,
from include/linux/signal.h:4,
from include/linux/sched.h:28,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/prefetch.h:58: error: expected declaration specifiers or '...' before 'size_t'
In file included from include/linux/sched.h:28,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/signal.h:6:24: error: asm/signal.h: No such file or directory
include/linux/signal.h:7:25: error: asm/siginfo.h: No such file or directory
In file included from include/linux/sched.h:28,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/signal.h:42: error: expected specifier-qualifier-list before 'siginfo_t'
include/linux/signal.h:51: error: expected specifier-qualifier-list before 'sigset_t'
include/linux/signal.h:63: error: expected ')' before '*' token
include/linux/signal.h:72: error: expected ')' before '*' token
include/linux/signal.h:81: error: expected ')' before '*' token
include/linux/signal.h: In function 'sigfindinword':
include/linux/signal.h:92: warning: implicit declaration of function 'ffz'
include/linux/signal.h: At top level:
include/linux/signal.h:97: error: expected ')' before '*' token
include/linux/signal.h:144: error: expected ')' before '*' token
include/linux/signal.h:147: error: expected ')' before '*' token
include/linux/signal.h:150: error: expected ')' before '*' token
include/linux/signal.h:174: error: expected ')' before '*' token
include/linux/signal.h:179: error: expected ')' before '*' token
include/linux/signal.h:191: error: expected ')' before '*' token
include/linux/signal.h:205: error: expected ')' before '*' token
include/linux/signal.h:210: error: expected ')' before '*' token
include/linux/signal.h:215: error: expected ')' before '*' token
include/linux/signal.h:220: error: expected ')' before '*' token
include/linux/signal.h:232: error: expected ')' before '*' token
include/linux/signal.h: In function 'init_sigpending':
include/linux/signal.h:248: warning: implicit declaration of function 'sigemptyset'
include/linux/signal.h:248: error: 'struct sigpending' has no member named 'signal'
include/linux/signal.h: In function 'valid_signal':
include/linux/signal.h:255: error: '_NSIG' undeclared (first use in this function)
include/linux/signal.h: At top level:
include/linux/signal.h:258: warning: 'struct siginfo' declared inside parameter list
include/linux/signal.h:259: warning: 'struct siginfo' declared inside parameter list
include/linux/signal.h:261: error: expected declaration specifiers or '...' before 'sigset_t'
include/linux/signal.h:261: error: expected declaration specifiers or '...' before 'sigset_t'
include/linux/signal.h:264: error: expected ')' before '*' token
In file included from include/linux/sched.h:30,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/fs_struct.h:8: error: expected specifier-qualifier-list before 'atomic_t'
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/mmzone.h:164: error: expected specifier-qualifier-list before 'atomic_t'
In file included from include/linux/mmzone.h:325,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/memory_hotplug.h: In function 'mhp_notimplemented':
include/linux/memory_hotplug.h:92: error: 'ENOSYS' undeclared (first use in this function)
include/linux/memory_hotplug.h: In function '__remove_pages':
include/linux/memory_hotplug.h:106: error: 'ENOSYS' undeclared (first use in this function)
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/mmzone.h: In function 'next_zone':
include/linux/mmzone.h:373: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mmzone.h: In function 'populated_zone':
include/linux/mmzone.h:406: error: 'struct zone' has no member named 'present_pages'
include/linux/mmzone.h: In function 'is_highmem':
include/linux/mmzone.h:427: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mmzone.h: In function 'is_normal':
include/linux/mmzone.h:432: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mmzone.h: In function 'is_dma32':
include/linux/mmzone.h:437: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mmzone.h: In function 'is_dma':
include/linux/mmzone.h:442: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mmzone.h: At top level:
include/linux/mmzone.h:449: error: expected declaration specifiers or '...' before 'size_t'
include/linux/mmzone.h:449: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mmzone.h:452: error: expected declaration specifiers or '...' before 'size_t'
include/linux/mmzone.h:452: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mmzone.h:454: error: expected declaration specifiers or '...' before 'size_t'
include/linux/mmzone.h:454: error: expected declaration specifiers or '...' before 'loff_t'
In file included from include/linux/mmzone.h:456,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/mmzone.h:479:5: warning: "BITS_PER_LONG" is not defined
include/linux/mmzone.h:486:7: warning: "BITS_PER_LONG" is not defined
include/linux/mmzone.h:494:2: error: #error BITS_PER_LONG not defined
In file included from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/gfp.h:19:7: warning: "BITS_PER_LONG" is not defined
In file included from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/gfp.h: In function 'gfp_zone':
include/linux/gfp.h:81: warning: implicit declaration of function 'BUG_ON'
include/linux/gfp.h: In function 'alloc_pages_node':
include/linux/gfp.h:115: warning: implicit declaration of function 'cpu_to_node'
In file included from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/slab.h: At top level:
include/linux/slab.h:61: error: expected declaration specifiers or '...' before 'size_t'
include/linux/slab.h:61: error: expected declaration specifiers or '...' before 'size_t'
include/linux/slab.h:70: error: expected ')' before 'size'
include/linux/slab.h:74: error: expected specifier-qualifier-list before 'size_t'
include/linux/slab.h:81: error: expected ')' before 'gfp_t'
include/linux/slab.h:88: error: expected ')' before 'size'
In file included from include/linux/slab.h:97,
from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/kmalloc_sizes.h:1:6: warning: "PAGE_SIZE" is not defined
include/linux/kmalloc_sizes.h:5:5: warning: "L1_CACHE_BYTES" is not defined
include/linux/kmalloc_sizes.h:9:5: warning: "L1_CACHE_BYTES" is not defined
In file included from include/linux/percpu.h:4,
from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/slab.h:111: error: expected ')' before 'gfp_t'
include/linux/slab.h:119: error: expected ')' before 'n'
include/linux/slab.h:137: error: expected ')' before 'size'
include/linux/slab.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'slab_reclaim_pages'
In file included from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/percpu.h:7:24: error: asm/percpu.h: No such file or directory
In file included from include/linux/sched.h:34,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/percpu.h:42: error: expected ')' before 'size'
In file included from include/linux/sched.h:36,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/seccomp.h:11:25: error: asm/seccomp.h: No such file or directory
In file included from include/linux/sched.h:36,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/seccomp.h: In function 'secure_computing':
include/linux/seccomp.h:18: error: 'TIF_SECCOMP' undeclared (first use in this function)
include/linux/seccomp.h:18: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/seccomp.h: At top level:
include/linux/seccomp.h:22: warning: 'struct thread_info' declared inside parameter list
include/linux/seccomp.h: In function 'has_secure_computing':
include/linux/seccomp.h:24: error: 'TIF_SECCOMP' undeclared (first use in this function)
include/linux/seccomp.h:24: warning: passing argument 1 of 'test_ti_thread_flag' from incompatible pointer type
In file included from include/linux/sched.h:37,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/rcupdate.h: At top level:
include/linux/rcupdate.h:114: error: expected declaration specifiers or '...' before 'rcu_data'
include/linux/rcupdate.h:114: warning: data definition has no type or storage class
include/linux/rcupdate.h:114: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU'
include/linux/rcupdate.h:115: error: expected declaration specifiers or '...' before 'rcu_bh_data'
include/linux/rcupdate.h:115: warning: data definition has no type or storage class
include/linux/rcupdate.h:115: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU'
include/linux/rcupdate.h: In function 'rcu_qsctr_inc':
include/linux/rcupdate.h:127: warning: implicit declaration of function 'per_cpu'
include/linux/rcupdate.h:127: error: 'rcu_data' undeclared (first use in this function)
include/linux/rcupdate.h:127: error: invalid lvalue in unary '&'
include/linux/rcupdate.h: In function 'rcu_bh_qsctr_inc':
include/linux/rcupdate.h:132: error: 'rcu_bh_data' undeclared (first use in this function)
include/linux/rcupdate.h:132: error: invalid lvalue in unary '&'
In file included from include/linux/sched.h:39,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory
In file included from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sched.h: At top level:
include/linux/sched.h:98: error: expected declaration specifiers or '...' before 'process_counts'
include/linux/sched.h:98: warning: data definition has no type or storage class
include/linux/sched.h:98: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU'
include/linux/sched.h:98: error: conflicting types for 'DECLARE_PER_CPU'
include/linux/rcupdate.h:115: error: previous declaration of 'DECLARE_PER_CPU' was here
In file included from include/linux/sched.h:106,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/resource.h:68:26: error: asm/resource.h: No such file or directory
In file included from include/linux/hrtimer.h:19,
from include/linux/sched.h:108,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/ktime.h:47: error: expected specifier-qualifier-list before 's64'
In file included from include/linux/hrtimer.h:19,
from include/linux/sched.h:108,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined
include/linux/ktime.h:65:6: warning: "BITS_PER_LONG" is not defined
include/linux/ktime.h: In function 'ktime_set':
include/linux/ktime.h:80: error: unknown field 'tv64' specified in initializer
include/linux/ktime.h:80: error: 's64' undeclared (first use in this function)
include/linux/ktime.h:80: warning: excess elements in union initializer
include/linux/ktime.h:80: warning: (near initialization for '(anonymous)')
include/linux/ktime.h:80: error: expected '}' before 'secs'
include/linux/ktime.h: In function 'timespec_to_ktime':
include/linux/ktime.h:101: error: 'struct timespec' has no member named 'tv_sec'
include/linux/ktime.h:101: error: 'struct timespec' has no member named 'tv_nsec'
include/linux/ktime.h: In function 'timeval_to_ktime':
include/linux/ktime.h:107: error: 'struct timeval' has no member named 'tv_sec'
include/linux/ktime.h:107: error: 'struct timeval' has no member named 'tv_usec'
In file included from include/linux/sched.h:108,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/hrtimer.h: At top level:
include/linux/hrtimer.h:85: error: expected specifier-qualifier-list before 'clockid_t'
include/linux/hrtimer.h:104: error: expected declaration specifiers or '...' before 'clockid_t'
include/linux/hrtimer.h:117: warning: type defaults to 'int' in declaration of 'clockid_t'
include/linux/hrtimer.h:117: error: expected ';', ',' or ')' before 'which_clock'
include/linux/hrtimer.h:135: warning: type defaults to 'int' in declaration of 'clockid_t'
include/linux/hrtimer.h:135: error: expected ';', ',' or ')' before 'clockid'
In file included from include/linux/aio.h:6,
from include/linux/sched.h:243,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/aio_abi.h:48: error: expected specifier-qualifier-list before '__u64'
In file included from include/linux/aio.h:6,
from include/linux/sched.h:243,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/aio_abi.h:59:2: error: #error edit for your odd byteorder.
include/linux/aio_abi.h:70: error: expected specifier-qualifier-list before '__u64'
In file included from include/linux/sched.h:243,
from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/aio.h:94: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/aio.h:172: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/aio.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait_on_sync_kiocb'
include/linux/aio.h: In function 'list_kiocb':
include/linux/aio.h:243: error: 'struct kiocb' has no member named 'ki_list'
include/linux/aio.h:243: warning: type defaults to 'int' in declaration of '__mptr'
include/linux/aio.h:243: warning: initialization from incompatible pointer type
include/linux/aio.h:243: error: 'struct kiocb' has no member named 'ki_list'
In file included from include/linux/module.h:10,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sched.h: At top level:
include/linux/sched.h:305: error: expected specifier-qualifier-list before 'pgd_t'
include/linux/sched.h:354: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sched.h: In function 'sighand_free':
include/linux/sched.h:364: error: 'struct sighand_struct' has no member named 'rcu'
include/linux/sched.h: At top level:
include/linux/sched.h:375: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sched.h:497: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sched.h:519: warning: parameter names (without types) in function declaration
include/linux/sched.h:654: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sched.h:678: error: expected declaration specifiers or '...' before 'gid_t'
include/linux/sched.h:695: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sched.h:876: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'process_group'
include/linux/sched.h: In function 'pid_alive':
include/linux/sched.h:891: error: 'struct task_struct' has no member named 'pids'
include/linux/sched.h: In function 'put_task_struct':
include/linux/sched.h:901: warning: implicit declaration of function 'atomic_dec_and_test'
include/linux/sched.h:901: error: 'struct task_struct' has no member named 'usage'
include/linux/sched.h:902: error: 'struct task_struct' has no member named 'rcu'
include/linux/sched.h: In function 'set_cpus_allowed':
include/linux/sched.h:963: error: 'EINVAL' undeclared (first use in this function)
include/linux/sched.h: At top level:
include/linux/sched.h:1004: error: field 'thread_info' has incomplete type
include/linux/sched.h:1005: error: 'THREAD_SIZE' undeclared here (not in a function)
include/linux/sched.h:1025: error: expected ')' before 'session'
include/linux/sched.h:1026: error: expected ')' before 'session'
include/linux/sched.h:1029: warning: parameter names (without types) in function declaration
include/linux/sched.h: In function 'get_uid':
include/linux/sched.h:1032: warning: implicit declaration of function 'atomic_inc'
include/linux/sched.h:1032: error: 'struct user_struct' has no member named '__count'
include/linux/sched.h: At top level:
include/linux/sched.h:1054: warning: parameter names (without types) in function declaration
include/linux/sched.h:1055: warning: parameter names (without types) in function declaration
include/linux/sched.h:1060: error: expected declaration specifiers or '...' before 'sigset_t'
include/linux/sched.h:1060: error: expected declaration specifiers or '...' before 'siginfo_t'
include/linux/sched.h:1062: error: expected declaration specifiers or '...' before 'sigset_t'
include/linux/sched.h:1062: error: expected declaration specifiers or '...' before 'siginfo_t'
include/linux/sched.h: In function 'dequeue_signal_lock':
include/linux/sched.h:1067: warning: implicit declaration of function 'local_irq_save'
include/linux/sched.h:1067: error: invalid type argument of '->'
include/linux/sched.h:1067: error: 'struct task_struct' has no member named 'sighand'
include/linux/sched.h:1068: error: 'mask' undeclared (first use in this function)
include/linux/sched.h:1068: error: 'info' undeclared (first use in this function)
include/linux/sched.h:1068: error: too many arguments to function 'dequeue_signal'
include/linux/sched.h:1069: warning: implicit declaration of function 'local_irq_restore'
include/linux/sched.h:1069: error: invalid type argument of '->'
include/linux/sched.h:1069: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/sched.h:1069: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/sched.h:1069: error: 'struct task_struct' has no member named 'sighand'
include/linux/sched.h: At top level:
include/linux/sched.h:1075: error: expected declaration specifiers or '...' before 'sigset_t'
include/linux/sched.h:1078: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1079: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1081: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1082: error: expected declaration specifiers or '...' before 'pid_t'
include/linux/sched.h:1082: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1083: error: expected declaration specifiers or '...' before 'pid_t'
include/linux/sched.h:1083: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1084: error: expected declaration specifiers or '...' before 'pid_t'
include/linux/sched.h:1084: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1085: error: expected declaration specifiers or '...' before 'pid_t'
include/linux/sched.h:1085: error: expected declaration specifiers or '...' before 'uid_t'
include/linux/sched.h:1085: error: expected declaration specifiers or '...' before 'uid_t'
include/linux/sched.h:1085: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h:1091: error: expected ')' before 'int'
include/linux/sched.h:1092: error: expected ')' before 'int'
include/linux/sched.h:1093: error: expected ')' before 'int'
include/linux/sched.h:1098: warning: 'struct k_sigaction' declared inside parameter list
include/linux/sched.h:1099: warning: type defaults to 'int' in declaration of 'stack_t'
include/linux/sched.h:1099: error: expected ';', ',' or ')' before '*' token
include/linux/sched.h:1106: warning: 'struct siginfo' declared inside parameter list
include/linux/sched.h: In function 'on_sig_stack':
include/linux/sched.h:1115: error: 'current' undeclared (first use in this function)
include/linux/sched.h: In function 'sas_ss_flags':
include/linux/sched.h:1120: error: 'current' undeclared (first use in this function)
include/linux/sched.h:1120: error: 'SS_DISABLE' undeclared (first use in this function)
include/linux/sched.h:1121: error: 'SS_ONSTACK' undeclared (first use in this function)
include/linux/sched.h: In function 'mmdrop':
include/linux/sched.h:1133: error: 'struct mm_struct' has no member named 'mm_count'
include/linux/sched.h: In function 'thread_group_empty':
include/linux/sched.h:1212: error: 'task_t' has no member named 'pids'
include/linux/sched.h: In function 'task_lock':
include/linux/sched.h:1231: error: invalid type argument of '->'
include/linux/sched.h:1231: error: 'struct task_struct' has no member named 'alloc_lock'
include/linux/sched.h: In function 'task_unlock':
include/linux/sched.h:1236: error: invalid type argument of '->'
include/linux/sched.h:1236: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/sched.h:1236: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/sched.h:1236: error: 'struct task_struct' has no member named 'alloc_lock'
include/linux/sched.h: In function 'setup_thread_stack':
include/linux/sched.h:1246: error: dereferencing pointer to incomplete type
include/linux/sched.h:1246: error: dereferencing pointer to incomplete type
include/linux/sched.h:1247: error: dereferencing pointer to incomplete type
include/linux/sched.h: In function 'end_of_stack':
include/linux/sched.h:1252: error: invalid use of undefined type 'struct thread_info'
include/linux/sched.h: In function 'set_tsk_thread_flag':
include/linux/sched.h:1262: warning: passing argument 1 of 'set_ti_thread_flag' from incompatible pointer type
include/linux/sched.h: In function 'clear_tsk_thread_flag':
include/linux/sched.h:1267: warning: passing argument 1 of 'clear_ti_thread_flag' from incompatible pointer type
include/linux/sched.h: In function 'test_and_set_tsk_thread_flag':
include/linux/sched.h:1272: warning: passing argument 1 of 'test_and_set_ti_thread_flag' from incompatible pointer type
include/linux/sched.h: In function 'test_and_clear_tsk_thread_flag':
include/linux/sched.h:1277: warning: passing argument 1 of 'test_and_clear_ti_thread_flag' from incompatible pointer type
include/linux/sched.h: In function 'test_tsk_thread_flag':
include/linux/sched.h:1282: warning: passing argument 1 of 'test_ti_thread_flag' from incompatible pointer type
include/linux/sched.h: In function 'set_tsk_need_resched':
include/linux/sched.h:1287: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/sched.h: In function 'clear_tsk_need_resched':
include/linux/sched.h:1292: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/sched.h: In function 'signal_pending':
include/linux/sched.h:1297: error: 'TIF_SIGPENDING' undeclared (first use in this function)
include/linux/sched.h: In function 'need_resched':
include/linux/sched.h:1302: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/sched.h:1302: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/sched.h: In function 'arch_pick_mmap_layout':
include/linux/sched.h:1379: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function)
include/linux/sched.h: At top level:
include/linux/sched.h:1385: error: expected ')' before 'pid'
include/linux/sched.h:1386: error: expected ')' before 'pid'
include/linux/sched.h: In function 'freeze':
include/linux/sched.h:1452: warning: implicit declaration of function 'BUG'
In file included from include/linux/module.h:13,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/stat.h:6:22: error: asm/stat.h: No such file or directory
In file included from include/linux/module.h:13,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/stat.h: At top level:
include/linux/stat.h:61: error: expected specifier-qualifier-list before 'dev_t'
In file included from include/linux/module.h:17,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/elf.h:6:21: error: asm/elf.h: No such file or directory
In file included from include/linux/module.h:17,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/elf.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Addr'
include/linux/elf.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Half'
include/linux/elf.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Off'
include/linux/elf.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Sword'
include/linux/elf.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf32_Word'
include/linux/elf.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Addr'
include/linux/elf.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Half'
include/linux/elf.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_SHalf'
include/linux/elf.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Off'
include/linux/elf.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Sword'
include/linux/elf.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Word'
include/linux/elf.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Xword'
include/linux/elf.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Elf64_Sxword'
include/linux/elf.h:165: error: expected specifier-qualifier-list before 'Elf32_Sword'
include/linux/elf.h:173: error: expected specifier-qualifier-list before 'Elf64_Sxword'
include/linux/elf.h:188: error: expected specifier-qualifier-list before 'Elf32_Addr'
include/linux/elf.h:193: error: expected specifier-qualifier-list before 'Elf64_Addr'
include/linux/elf.h:198: error: expected specifier-qualifier-list before 'Elf32_Addr'
include/linux/elf.h:204: error: expected specifier-qualifier-list before 'Elf64_Addr'
include/linux/elf.h:210: error: expected specifier-qualifier-list before 'Elf32_Word'
include/linux/elf.h:219: error: expected specifier-qualifier-list before 'Elf64_Word'
include/linux/elf.h:232: error: expected specifier-qualifier-list before 'Elf32_Half'
include/linux/elf.h:249: error: expected specifier-qualifier-list before 'Elf64_Half'
include/linux/elf.h:271: error: expected specifier-qualifier-list before 'Elf32_Word'
include/linux/elf.h:282: error: expected specifier-qualifier-list before 'Elf64_Word'
include/linux/elf.h:327: error: expected specifier-qualifier-list before 'Elf32_Word'
include/linux/elf.h:340: error: expected specifier-qualifier-list before 'Elf64_Word'
include/linux/elf.h:400: error: expected specifier-qualifier-list before 'Elf32_Word'
include/linux/elf.h:407: error: expected specifier-qualifier-list before 'Elf64_Word'
include/linux/elf.h:412:5: warning: "ELF_CLASS" is not defined
In file included from include/linux/kobject.h:22,
from include/linux/module.h:19,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/sysfs.h:21: error: expected specifier-qualifier-list before 'mode_t'
include/linux/sysfs.h:55: error: expected specifier-qualifier-list before 'size_t'
include/linux/sysfs.h:64: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/sysfs.h:69: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/sysfs.h:104: error: expected declaration specifiers or '...' before 'mode_t'
In file included from include/linux/kobject.h:24,
from include/linux/module.h:19,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/rwsem.h:27:65: error: asm/rwsem.h: No such file or directory
In file included from include/linux/kobject.h:24,
from include/linux/module.h:19,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/rwsem.h: In function 'down_read':
include/linux/rwsem.h:45: warning: implicit declaration of function '__down_read'
include/linux/rwsem.h: In function 'down_read_trylock':
include/linux/rwsem.h:56: warning: implicit declaration of function '__down_read_trylock'
include/linux/rwsem.h: In function 'down_write':
include/linux/rwsem.h:68: warning: implicit declaration of function '__down_write'
include/linux/rwsem.h: In function 'down_write_trylock':
include/linux/rwsem.h:79: warning: implicit declaration of function '__down_write_trylock'
include/linux/rwsem.h: In function 'up_read':
include/linux/rwsem.h:90: warning: implicit declaration of function '__up_read'
include/linux/rwsem.h: In function 'up_write':
include/linux/rwsem.h:100: warning: implicit declaration of function '__up_write'
include/linux/rwsem.h: In function 'downgrade_write':
include/linux/rwsem.h:110: warning: implicit declaration of function '__downgrade_write'
In file included from include/linux/kobject.h:25,
from include/linux/module.h:19,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/kref.h: At top level:
include/linux/kref.h:24: error: expected specifier-qualifier-list before 'atomic_t'
In file included from include/linux/module.h:19,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/kobject.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uevent_seqnum'
include/linux/kobject.h:167: error: field 'rwsem' has incomplete type
include/linux/kobject.h:251: error: expected specifier-qualifier-list before 'ssize_t'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/module.h:21:23: error: asm/local.h: No such file or directory
include/linux/module.h:23:24: error: asm/module.h: No such file or directory
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:45:
include/linux/module.h:51: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/module.h:205: error: expected specifier-qualifier-list before 'local_t'
include/linux/module.h:206: error: requested alignment is not a constant
include/linux/module.h:278: error: field 'arch' has incomplete type
include/linux/module.h:302: error: expected specifier-qualifier-list before 'Elf_Sym'
In file included from include/linux/fs.h:11,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/ioctl.h:4:23: error: asm/ioctl.h: No such file or directory
In file included from include/linux/fs.h:210,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/kdev_t.h:21: error: expected ')' before 'dev'
include/linux/kdev_t.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_encode_dev'
include/linux/kdev_t.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_decode_dev'
include/linux/kdev_t.h:36: error: expected ')' before 'dev'
include/linux/kdev_t.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'new_encode_dev'
include/linux/kdev_t.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'new_decode_dev'
include/linux/kdev_t.h:55: error: expected ')' before 'dev'
include/linux/kdev_t.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'huge_encode_dev'
include/linux/kdev_t.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'huge_decode_dev'
include/linux/kdev_t.h:70: error: expected ')' before 'dev'
include/linux/kdev_t.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sysv_encode_dev'
include/linux/kdev_t.h:80: error: expected ')' before 'dev'
include/linux/kdev_t.h:85: error: expected ')' before 'dev'
In file included from include/linux/fs.h:211,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/dcache.h:83: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/dcache.h:123: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h: In function '__d_drop':
include/linux/dcache.h:185: error: 'struct dentry' has no member named 'd_flags'
include/linux/dcache.h:186: error: 'struct dentry' has no member named 'd_flags'
include/linux/dcache.h:187: error: 'struct dentry' has no member named 'd_hash'
include/linux/dcache.h: In function 'd_drop':
include/linux/dcache.h:193: error: invalid type argument of '->'
include/linux/dcache.h:194: error: invalid type argument of '->'
include/linux/dcache.h:194: error: 'struct dentry' has no member named 'd_lock'
include/linux/dcache.h:196: error: invalid type argument of '->'
include/linux/dcache.h:196: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/dcache.h:196: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/dcache.h:196: error: 'struct dentry' has no member named 'd_lock'
include/linux/dcache.h:197: error: invalid type argument of '->'
include/linux/dcache.h:197: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/dcache.h: In function 'dname_external':
include/linux/dcache.h:202: error: 'struct dentry' has no member named 'd_name'
include/linux/dcache.h:202: error: 'struct dentry' has no member named 'd_iname'
include/linux/dcache.h: At top level:
include/linux/dcache.h:208: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:209: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:214: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:215: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:216: warning: 'struct super_block' declared inside parameter list
include/linux/dcache.h:222: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:227: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:228: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h:247: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h: In function 'd_add':
include/linux/dcache.h:249: warning: passing argument 2 of 'd_instantiate' from incompatible pointer type
include/linux/dcache.h: At top level:
include/linux/dcache.h:261: warning: 'struct inode' declared inside parameter list
include/linux/dcache.h: In function 'd_add_unique':
include/linux/dcache.h:265: warning: passing argument 2 of 'd_instantiate_unique' from incompatible pointer type
include/linux/dcache.h: In function 'dget':
include/linux/dcache.h:300: warning: implicit declaration of function 'atomic_read'
include/linux/dcache.h:300: error: 'struct dentry' has no member named 'd_count'
include/linux/dcache.h:301: error: 'struct dentry' has no member named 'd_count'
include/linux/dcache.h: In function 'd_unhashed':
include/linux/dcache.h:317: error: 'struct dentry' has no member named 'd_flags'
include/linux/dcache.h: In function 'dget_parent':
include/linux/dcache.h:324: error: invalid type argument of '->'
include/linux/dcache.h:324: error: 'struct dentry' has no member named 'd_lock'
include/linux/dcache.h:325: error: 'struct dentry' has no member named 'd_parent'
include/linux/dcache.h:326: error: invalid type argument of '->'
include/linux/dcache.h:326: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/dcache.h:326: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
include/linux/dcache.h:326: error: 'struct dentry' has no member named 'd_lock'
include/linux/dcache.h: In function 'd_mountpoint':
include/linux/dcache.h:334: error: 'struct dentry' has no member named 'd_mounted'
In file included from include/linux/fs.h:216,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/radix-tree.h: In function 'radix_tree_preload_end':
include/linux/radix-tree.h:70: error: invalid type argument of '->'
include/linux/radix-tree.h:70: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
include/linux/radix-tree.h:70: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
In file included from include/linux/fs.h:220,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/mutex.h: At top level:
include/linux/mutex.h:48: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/mutex.h: In function 'mutex_is_locked':
include/linux/mutex.h:104: error: 'struct mutex' has no member named 'count'
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h: At top level:
include/linux/fs.h:243: warning: 'struct inode' declared inside parameter list
include/linux/fs.h:246: warning: 'struct inode' declared inside parameter list
include/linux/fs.h:247: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:248: error: expected declaration specifiers or '...' before 'ssize_t'
include/linux/fs.h:280: error: expected specifier-qualifier-list before 'umode_t'
In file included from include/linux/fs.h:299,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/quota.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qid_t'
include/linux/quota.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qsize_t'
include/linux/quota.h:107: error: expected specifier-qualifier-list before '__u64'
include/linux/quota.h:128: error: expected specifier-qualifier-list before '__u64'
In file included from include/linux/quota.h:136,
from include/linux/fs.h:299,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/dqblk_xfs.h:51: error: expected specifier-qualifier-list before '__s8'
include/linux/dqblk_xfs.h:138: error: expected specifier-qualifier-list before '__u64'
include/linux/dqblk_xfs.h:144: error: expected specifier-qualifier-list before '__s8'
In file included from include/linux/fs.h:299,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/quota.h:151: error: expected specifier-qualifier-list before '__u32'
include/linux/quota.h:218: error: field 'dq_lock' has incomplete type
include/linux/quota.h:219: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/quota.h:247: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:248: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:249: error: expected declaration specifiers or '...' before 'qsize_t'
include/linux/quota.h:249: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:250: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:251: error: expected declaration specifiers or '...' before 'qsize_t'
include/linux/quota.h:251: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:252: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:253: warning: 'struct inode' declared inside parameter list
include/linux/quota.h:268: error: expected declaration specifiers or '...' before 'qid_t'
include/linux/quota.h:269: error: expected declaration specifiers or '...' before 'qid_t'
include/linux/quota.h:272: error: expected declaration specifiers or '...' before 'qid_t'
include/linux/quota.h:273: error: expected declaration specifiers or '...' before 'qid_t'
include/linux/quota.h:288: error: field 'dqio_sem' has incomplete type
include/linux/quota.h:289: error: field 'dqonoff_sem' has incomplete type
include/linux/quota.h:290: error: field 'dqptr_sem' has incomplete type
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:363: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/fs.h:397: error: expected specifier-qualifier-list before 'dev_t'
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:455:5: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:469: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/fs.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i_size_read'
include/linux/fs.h:542:5: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:551:7: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:564: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:566:5: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:570:7: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h: In function 'i_size_write':
include/linux/fs.h:575: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:575: error: 'i_size' undeclared (first use in this function)
include/linux/fs.h: In function 'iminor':
include/linux/fs.h:581: error: 'struct inode' has no member named 'i_rdev'
include/linux/fs.h: In function 'imajor':
include/linux/fs.h:586: error: 'struct inode' has no member named 'i_rdev'
include/linux/fs.h: At top level:
include/linux/fs.h:594: error: expected specifier-qualifier-list before 'uid_t'
include/linux/fs.h:629: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/fs.h:661:5: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:663:7: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:684: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:685: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:686: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:687: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:691: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:692: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:693: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:694: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:695: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:696: warning: 'struct file_lock' declared inside parameter list
include/linux/fs.h:697: warning: 'struct file_lock' declared inside parameter list
In file included from include/linux/nfs.h:10,
from include/linux/nfs_fs_i.h:6,
from include/linux/fs.h:701,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/sunrpc/msg_prot.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpc_authflavor_t'
include/linux/sunrpc/msg_prot.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpc_fraghdr'
In file included from include/linux/nfs_fs_i.h:6,
from include/linux/fs.h:701,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/nfs.h: In function 'nfs_compare_fh':
include/linux/nfs.h:148: error: too many arguments to function 'memcmp'
include/linux/nfs.h: In function 'nfs_copy_fh':
include/linux/nfs.h:154: error: too many arguments to function 'memcpy'
In file included from include/linux/fs.h:701,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/nfs_fs_i.h: At top level:
include/linux/nfs_fs_i.h:14: error: expected specifier-qualifier-list before 'u32'
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:713: error: expected specifier-qualifier-list before 'loff_t'
In file included from include/linux/fs.h:736,
from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fcntl.h:4:23: error: asm/fcntl.h: No such file or directory
include/linux/fcntl.h:39:5: warning: "BITS_PER_LONG" is not defined
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:738: warning: 'struct flock' declared inside parameter list
include/linux/fs.h:740: warning: 'struct flock' declared inside parameter list
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:742:5: warning: "BITS_PER_LONG" is not defined
include/linux/fs.h:768: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:769: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:807: error: expected specifier-qualifier-list before 'dev_t'
include/linux/fs.h: In function 'get_fs_excl':
include/linux/fs.h:873: error: 'current' undeclared (first use in this function)
include/linux/fs.h: In function 'put_fs_excl':
include/linux/fs.h:878: warning: implicit declaration of function 'atomic_dec'
include/linux/fs.h:878: error: 'current' undeclared (first use in this function)
include/linux/fs.h: In function 'has_fs_excl':
include/linux/fs.h:883: error: 'current' undeclared (first use in this function)
include/linux/fs.h: In function 'lock_super':
include/linux/fs.h:893: error: 'struct super_block' has no member named 's_lock'
include/linux/fs.h: In function 'unlock_super':
include/linux/fs.h:899: error: 'struct super_block' has no member named 's_lock'
include/linux/fs.h: At top level:
include/linux/fs.h:908: error: expected declaration specifiers or '...' before 'dev_t'
include/linux/fs.h:952: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:952: error: expected declaration specifiers or '...' before 'ino_t'
include/linux/fs.h:961: warning: 'struct gendisk' declared inside parameter list
include/linux/fs.h:962: warning: 'struct gendisk' declared inside parameter list
include/linux/fs.h:977: error: expected specifier-qualifier-list before 'size_t'
include/linux/fs.h:1001: error: expected specifier-qualifier-list before 'loff_t'
include/linux/fs.h:1037: error: expected declaration specifiers or '...' before 'dev_t'
include/linux/fs.h:1047: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h:1048: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/fs.h:1056: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_read'
include/linux/fs.h:1057: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_write'
include/linux/fs.h:1058: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_readv'
include/linux/fs.h:1060: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_writev'
include/linux/fs.h:1090: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/fs.h: In function 'file_accessed':
include/linux/fs.h:1121: error: 'struct file' has no member named 'f_flags'
include/linux/fs.h:1121: error: 'O_NOATIME' undeclared (first use in this function)
include/linux/fs.h: At top level:
include/linux/fs.h:1214: error: expected declaration specifiers or '...' before '__u32'
include/linux/fs.h:1217: error: expected declaration specifiers or '...' before '__u32'
include/linux/fs.h:1303: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1303: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h: In function 'locks_verify_locked':
include/linux/fs.h:1314: error: 'struct inode' has no member named 'i_sb'
include/linux/fs.h:1314: error: 'struct inode' has no member named 'i_mode'
include/linux/fs.h: At top level:
include/linux/fs.h:1319: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1319: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h:1323: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h: In function 'locks_verify_truncate':
include/linux/fs.h:1325: error: 'struct inode' has no member named 'i_flock'
include/linux/fs.h:1325: error: 'struct inode' has no member named 'i_sb'
include/linux/fs.h:1325: error: 'struct inode' has no member named 'i_mode'
include/linux/fs.h:1328: error: 'size' undeclared (first use in this function)
include/linux/fs.h:1328: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:1328: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:1329: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:1329: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:1330: error: 'struct inode' has no member named 'i_size'
include/linux/fs.h:1331: error: too many arguments to function 'locks_mandatory_area'
include/linux/fs.h: In function 'break_lease':
include/linux/fs.h:1337: error: 'struct inode' has no member named 'i_flock'
include/linux/fs.h: At top level:
include/linux/fs.h:1344: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1367: warning: parameter names (without types) in function declaration
include/linux/fs.h:1368: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1371: error: expected ')' before 'unsigned'
include/linux/fs.h:1380: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/fs.h:1387: error: expected ')' before '*' token
include/linux/fs.h:1388: error: expected ')' before 'unsigned'
include/linux/fs.h:1392: error: expected ')' before 'unsigned'
include/linux/fs.h:1394: error: expected declaration specifiers or '...' before 'off_t'
include/linux/fs.h:1399: error: expected ')' before 'char'
include/linux/fs.h:1404: error: expected declaration specifiers or '...' before 'off_t'
include/linux/fs.h:1406: error: expected declaration specifiers or '...' before 'umode_t'
include/linux/fs.h:1406: error: expected declaration specifiers or '...' before 'dev_t'
include/linux/fs.h:1431: warning: 'struct gendisk' declared inside parameter list
include/linux/fs.h: In function 'invalidate_remote_inode':
include/linux/fs.h:1437: error: 'struct inode' has no member named 'i_mode'
include/linux/fs.h:1437: error: 'struct inode' has no member named 'i_mode'
include/linux/fs.h:1438: error: 'struct inode' has no member named 'i_mode'
include/linux/fs.h:1439: error: 'struct inode' has no member named 'i_mapping'
include/linux/fs.h: At top level:
include/linux/fs.h:1450: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1450: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h: In function 'put_write_access':
include/linux/fs.h:1467: error: 'struct inode' has no member named 'i_writecount'
include/linux/fs.h: In function 'allow_write_access':
include/linux/fs.h:1472: error: 'struct dentry' has no member named 'd_inode'
include/linux/fs.h: At top level:
include/linux/fs.h:1484: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_inode_number'
In file included from include/linux/proc_fs.h:6,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/fs.h:1489: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'default_llseek'
include/linux/fs.h:1491: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_llseek'
include/linux/fs.h:1496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iunique'
include/linux/fs.h: In function 'iget':
include/linux/fs.h:1516: error: 'struct inode' has no member named 'i_state'
include/linux/fs.h:1517: error: 'struct super_block' has no member named 's_op'
include/linux/fs.h: At top level:
include/linux/fs.h:1552: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_read'
include/linux/fs.h:1553: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1553: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h:1554: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_write'
include/linux/fs.h:1555: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_aio_read'
include/linux/fs.h:1556: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__generic_file_aio_read'
include/linux/fs.h:1557: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_aio_write'
include/linux/fs.h:1558: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_aio_write_nolock'
include/linux/fs.h:1560: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_direct_write'
include/linux/fs.h:1562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_buffered_write'
include/linux/fs.h:1564: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_sync_read'
include/linux/fs.h:1565: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_sync_write'
include/linux/fs.h:1566: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_write_nolock'
include/linux/fs.h:1568: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_sendfile'
include/linux/fs.h:1571: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_readv'
include/linux/fs.h:1576: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_writev'
include/linux/fs.h:1578: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_llseek'
include/linux/fs.h:1579: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_llseek'
include/linux/fs.h:1580: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'remote_llseek'
include/linux/fs.h:1595: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1601: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h: In function 'do_generic_file_read':
include/linux/fs.h:1605: error: 'struct file' has no member named 'f_mapping'
include/linux/fs.h:1606: error: 'struct file' has no member named 'f_ra'
include/linux/fs.h:1608: error: 'ppos' undeclared (first use in this function)
include/linux/fs.h:1610: warning: passing argument 5 of 'do_generic_mapping_read' from incompatible pointer type
include/linux/fs.h:1610: error: too many arguments to function 'do_generic_mapping_read'
include/linux/fs.h: At top level:
include/linux/fs.h:1613: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__blockdev_direct_IO'
include/linux/fs.h:1624: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blockdev_direct_IO'
include/linux/fs.h:1633: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blockdev_direct_IO_no_locking'
include/linux/fs.h:1642: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blockdev_direct_IO_own_locking'
include/linux/fs.h:1667: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1668: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1669: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inode_get_bytes'
include/linux/fs.h:1670: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/fs.h:1684: warning: parameter names (without types) in function declaration
include/linux/fs.h:1689: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dcache_dir_lseek'
include/linux/fs.h:1706: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_read_dir'
include/linux/fs.h:1715: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_read_from_buffer'
include/linux/fs.h:1728: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parent_ino'
include/linux/fs.h:1748: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/fs.h:1755: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h:1756: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_transaction_read'
include/linux/fs.h:1760: error: expected declaration specifiers or '...' before 'size_t'
include/linux/fs.h: In function 'simple_transaction_set':
include/linux/fs.h:1762: error: 'struct file' has no member named 'private_data'
include/linux/fs.h:1764: error: 'n' undeclared (first use in this function)
include/linux/fs.h:1764: error: 'PAGE_SIZE' undeclared (first use in this function)
include/linux/fs.h:1770: warning: implicit declaration of function 'smp_mb'
include/linux/fs.h:1771: error: 'struct simple_transaction_argresp' has no member named 'size'
include/linux/fs.h: At top level:
include/linux/fs.h:1811: error: expected declaration specifiers or '...' before 'u64'
include/linux/fs.h:1811: error: expected declaration specifiers or '...' before 'u64'
include/linux/fs.h:1814: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_attr_read'
include/linux/fs.h:1816: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_attr_write'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:46:
include/linux/proc_fs.h:44: error: expected declaration specifiers or '...' before 'off_t'
include/linux/proc_fs.h:48: error: expected declaration specifiers or '...' before 'off_t'
include/linux/proc_fs.h:54: error: expected specifier-qualifier-list before 'mode_t'
include/linux/proc_fs.h:75: error: expected specifier-qualifier-list before 'size_t'
include/linux/proc_fs.h:82: error: expected specifier-qualifier-list before 'loff_t'
include/linux/proc_fs.h:108: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h:159: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h:163: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h: In function 'create_proc_read_entry':
include/linux/proc_fs.h:166: error: 'mode' undeclared (first use in this function)
include/linux/proc_fs.h:166: error: too many arguments to function 'create_proc_entry'
include/linux/proc_fs.h:168: error: 'struct proc_dir_entry' has no member named 'read_proc'
include/linux/proc_fs.h:169: error: 'struct proc_dir_entry' has no member named 'data'
include/linux/proc_fs.h: At top level:
include/linux/proc_fs.h:175: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h: In function 'create_proc_info_entry':
include/linux/proc_fs.h:177: error: 'mode' undeclared (first use in this function)
include/linux/proc_fs.h:177: error: too many arguments to function 'create_proc_entry'
include/linux/proc_fs.h:178: error: 'struct proc_dir_entry' has no member named 'get_info'
include/linux/proc_fs.h: At top level:
include/linux/proc_fs.h:183: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h: In function 'proc_net_create':
include/linux/proc_fs.h:185: error: 'mode' undeclared (first use in this function)
include/linux/proc_fs.h:185: warning: passing argument 3 of 'create_proc_info_entry' from incompatible pointer type
include/linux/proc_fs.h:185: error: too many arguments to function 'create_proc_info_entry'
include/linux/proc_fs.h: At top level:
include/linux/proc_fs.h:189: error: expected declaration specifiers or '...' before 'mode_t'
include/linux/proc_fs.h: In function 'proc_net_fops_create':
include/linux/proc_fs.h:191: error: 'mode' undeclared (first use in this function)
include/linux/proc_fs.h:191: error: too many arguments to function 'create_proc_entry'
include/linux/proc_fs.h:193: error: 'struct proc_dir_entry' has no member named 'proc_fops'
include/linux/proc_fs.h: At top level:
include/linux/proc_fs.h:245: error: expected declaration specifiers or '...' before 'size_t'
In file included from include/linux/pci.h:20,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/mod_devicetable.h:18: error: expected specifier-qualifier-list before '__u32'
include/linux/mod_devicetable.h:31: error: expected specifier-qualifier-list before '__u32'
include/linux/mod_devicetable.h:100: error: expected specifier-qualifier-list before '__u16'
include/linux/mod_devicetable.h:136: error: expected specifier-qualifier-list before '__u16'
include/linux/mod_devicetable.h:156: error: expected specifier-qualifier-list before '__u8'
include/linux/mod_devicetable.h:161: error: expected specifier-qualifier-list before '__u8'
include/linux/mod_devicetable.h:172: error: expected specifier-qualifier-list before '__u8'
include/linux/mod_devicetable.h:202: error: expected specifier-qualifier-list before '__u16'
include/linux/mod_devicetable.h:249: error: expected specifier-qualifier-list before '__u16'
In file included from include/linux/pci.h:54,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/device.h:84: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/device.h:125: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/device.h:152: error: field 'sem' has incomplete type
include/linux/device.h:173: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/device.h:185: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/device.h:225: error: expected specifier-qualifier-list before 'dev_t'
include/linux/device.h: In function 'class_get_devdata':
include/linux/device.h:241: error: 'struct class_device' has no member named 'class_data'
include/linux/device.h: In function 'class_set_devdata':
include/linux/device.h:247: error: 'struct class_device' has no member named 'class_data'
include/linux/device.h: At top level:
include/linux/device.h:284: error: expected declaration specifiers or '...' before 'dev_t'
include/linux/device.h:287: error: format string argument not a string type
include/linux/device.h:288: error: expected declaration specifiers or '...' before 'dev_t'
include/linux/device.h:294: error: expected specifier-qualifier-list before 'ssize_t'
include/linux/device.h:316: error: field 'sem' has incomplete type
include/linux/device.h:330: error: expected specifier-qualifier-list before 'u64'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/pci.h:116: error: expected specifier-qualifier-list before 'u8'
include/linux/pci.h:230: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:231: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:236: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:238: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:408: error: expected declaration specifiers or '...' before 'u8'
include/linux/pci.h:419: error: expected declaration specifiers or '...' before 'u8'
include/linux/pci.h:420: error: expected declaration specifiers or '...' before 'u16'
include/linux/pci.h:421: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:422: error: expected declaration specifiers or '...' before 'u8'
include/linux/pci.h:423: error: expected declaration specifiers or '...' before 'u16'
include/linux/pci.h:424: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h:426: error: expected declaration specifiers or '...' before 'u8'
include/linux/pci.h: In function 'pci_read_config_byte':
include/linux/pci.h:428: error: 'val' undeclared (first use in this function)
include/linux/pci.h:428: error: too many arguments to function 'pci_bus_read_config_byte'
include/linux/pci.h: At top level:
include/linux/pci.h:430: error: expected declaration specifiers or '...' before 'u16'
include/linux/pci.h: In function 'pci_read_config_word':
include/linux/pci.h:432: error: 'val' undeclared (first use in this function)
include/linux/pci.h:432: error: too many arguments to function 'pci_bus_read_config_word'
include/linux/pci.h: At top level:
include/linux/pci.h:434: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h: In function 'pci_read_config_dword':
include/linux/pci.h:436: error: 'val' undeclared (first use in this function)
include/linux/pci.h:436: error: too many arguments to function 'pci_bus_read_config_dword'
include/linux/pci.h: At top level:
include/linux/pci.h:438: error: expected declaration specifiers or '...' before 'u8'
include/linux/pci.h: In function 'pci_write_config_byte':
include/linux/pci.h:440: error: 'val' undeclared (first use in this function)
include/linux/pci.h:440: error: too many arguments to function 'pci_bus_write_config_byte'
include/linux/pci.h: At top level:
include/linux/pci.h:442: error: expected declaration specifiers or '...' before 'u16'
include/linux/pci.h: In function 'pci_write_config_word':
include/linux/pci.h:444: error: 'val' undeclared (first use in this function)
include/linux/pci.h:444: error: too many arguments to function 'pci_bus_write_config_word'
include/linux/pci.h: At top level:
include/linux/pci.h:446: error: expected declaration specifiers or '...' before 'u32'
include/linux/pci.h: In function 'pci_write_config_dword':
include/linux/pci.h:448: error: 'val' undeclared (first use in this function)
include/linux/pci.h:448: error: too many arguments to function 'pci_bus_write_config_dword'
include/linux/pci.h: At top level:
include/linux/pci.h:459: error: expected declaration specifiers or '...' before 'u64'
include/linux/pci.h:460: error: expected declaration specifiers or '...' before 'u64'
include/linux/pci.h:466: error: expected declaration specifiers or '...' before 'size_t'
include/linux/pci.h:467: error: expected declaration specifiers or '...' before 'size_t'
include/linux/pci.h:485: error: expected ')' before '(' token
In file included from include/linux/pci.h:522,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/dmapool.h:14:20: error: asm/io.h: No such file or directory
include/linux/dmapool.h:15:29: error: asm/scatterlist.h: No such file or directory
In file included from include/linux/pci.h:522,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/dmapool.h:18: error: expected declaration specifiers or '...' before 'size_t'
include/linux/dmapool.h:18: error: expected declaration specifiers or '...' before 'size_t'
include/linux/dmapool.h:18: error: expected declaration specifiers or '...' before 'size_t'
include/linux/dmapool.h:23: error: expected declaration specifiers or '...' before 'dma_addr_t'
include/linux/dmapool.h:25: error: expected declaration specifiers or '...' before 'dma_addr_t'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/pci.h:545: error: expected specifier-qualifier-list before 'u16'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:47:
include/linux/pci.h:648:21: error: asm/pci.h: No such file or directory
include/linux/pci.h: In function 'pci_get_drvdata':
include/linux/pci.h:669: error: 'struct pci_dev' has no member named 'dev'
include/linux/pci.h: In function 'pci_set_drvdata':
include/linux/pci.h:674: error: 'struct pci_dev' has no member named 'dev'
include/linux/pci.h: In function 'pci_name':
include/linux/pci.h:682: error: 'struct pci_dev' has no member named 'dev'
include/linux/pci.h: At top level:
include/linux/pci.h:691: error: expected declaration specifiers or '...' before 'u64'
include/linux/pci.h:691: error: expected declaration specifiers or '...' before 'u64'
include/linux/pci.h: In function 'pci_resource_to_user':
include/linux/pci.h:693: error: 'start' undeclared (first use in this function)
include/linux/pci.h:694: error: 'end' undeclared (first use in this function)
include/linux/pci.h: At top level:
include/linux/pci.h:707: error: expected specifier-qualifier-list before 'u16'
In file included from include/linux/ppp_defs.h:45,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:57:
include/linux/crc-ccitt.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
include/linux/crc-ccitt.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc_ccitt'
include/linux/crc-ccitt.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc_ccitt_byte'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:57:
include/linux/ppp_defs.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ext_accm'
include/linux/ppp_defs.h:122: error: expected specifier-qualifier-list before '__u32'
include/linux/ppp_defs.h:138: error: expected specifier-qualifier-list before '__u32'
include/linux/ppp_defs.h:149: error: expected specifier-qualifier-list before '__u32'
include/linux/ppp_defs.h:178: error: expected specifier-qualifier-list before 'time_t'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
/sources/asterisk/zaptel-1.2.7/zaptel.h:47:5: warning: "LINUX_VERSION_CODE" is not defined
/sources/asterisk/zaptel-1.2.7/zaptel.h:47:27: warning: "KERNEL_VERSION" is not defined
/sources/asterisk/zaptel-1.2.7/zaptel.h:47:41: error: missing binary operator before token "("
/sources/asterisk/zaptel-1.2.7/zaptel.h:51:5: warning: "LINUX_VERSION_CODE" is not defined
/sources/asterisk/zaptel-1.2.7/zaptel.h:51:27: warning: "KERNEL_VERSION" is not defined
/sources/asterisk/zaptel-1.2.7/zaptel.h:51:41: error: missing binary operator before token "("
In file included from /sources/asterisk/zaptel-1.2.7/ecdis.h:30,
from /sources/asterisk/zaptel-1.2.7/zaptel.h:57,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
/sources/asterisk/zaptel-1.2.7/biquad.h:31: error: expected specifier-qualifier-list before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h:42: error: expected declaration specifiers or '...' before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h:43: error: expected declaration specifiers or '...' before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h:44: error: expected declaration specifiers or '...' before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h:45: error: expected declaration specifiers or '...' before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h:46: error: expected declaration specifiers or '...' before 'int32_t'
/sources/asterisk/zaptel-1.2.7/biquad.h: In function 'biquad2_init':
/sources/asterisk/zaptel-1.2.7/biquad.h:48: error: 'biquad2_state_t' has no member named 'gain'
/sources/asterisk/zaptel-1.2.7/biquad.h:48: error: 'gain' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/biquad.h:49: error: 'biquad2_state_t' has no member named 'a1'
/sources/asterisk/zaptel-1.2.7/biquad.h:49: error: 'a1' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/biquad.h:50: error: 'biquad2_state_t' has no member named 'a2'
/sources/asterisk/zaptel-1.2.7/biquad.h:50: error: 'a2' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/biquad.h:51: error: 'biquad2_state_t' has no member named 'b1'
/sources/asterisk/zaptel-1.2.7/biquad.h:51: error: 'b1' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/biquad.h:52: error: 'biquad2_state_t' has no member named 'b2'
/sources/asterisk/zaptel-1.2.7/biquad.h:52: error: 'b2' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/biquad.h:54: error: 'biquad2_state_t' has no member named 'z1'
/sources/asterisk/zaptel-1.2.7/biquad.h:55: error: 'biquad2_state_t' has no member named 'z2'
/sources/asterisk/zaptel-1.2.7/biquad.h: At top level:
/sources/asterisk/zaptel-1.2.7/biquad.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'biquad2'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.h:57,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
/sources/asterisk/zaptel-1.2.7/ecdis.h: In function 'echo_can_disable_detector_init':
/sources/asterisk/zaptel-1.2.7/ecdis.h:53: error: 'int32_t' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/ecdis.h:57: error: too many arguments to function 'biquad2_init'
/sources/asterisk/zaptel-1.2.7/ecdis.h: At top level:
/sources/asterisk/zaptel-1.2.7/ecdis.h:69: error: expected declaration specifiers or '...' before 'int16_t'
/sources/asterisk/zaptel-1.2.7/ecdis.h: In function 'echo_can_disable_detector_update':
/sources/asterisk/zaptel-1.2.7/ecdis.h:71: error: 'int16_t' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/ecdis.h:71: error: expected ';' before 'notched'
/sources/asterisk/zaptel-1.2.7/ecdis.h:73: error: 'notched' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/ecdis.h:73: warning: implicit declaration of function 'biquad2'
/sources/asterisk/zaptel-1.2.7/ecdis.h:73: error: 'amp' undeclared (first use in this function)
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.h:176,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
/sources/asterisk/zaptel-1.2.7/kb1ec.h: In function 'echo_can_create':
/sources/asterisk/zaptel-1.2.7/kb1ec.h:531: warning: implicit declaration of function 'kmalloc'
/sources/asterisk/zaptel-1.2.7/kb1ec.h:547: error: too many arguments to function 'memset'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/poll.h:4:22: error: asm/poll.h: No such file or directory
In file included from include/linux/poll.h:11,
from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/mm.h:38:25: error: asm/pgtable.h: No such file or directory
In file included from include/linux/poll.h:11,
from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/mm.h: At top level:
include/linux/mm.h:68: error: expected specifier-qualifier-list before 'pgprot_t'
include/linux/mm.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'protection_map'
include/linux/mm.h:202: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h:222: error: expected specifier-qualifier-list before 'atomic_t'
In file included from include/linux/poll.h:11,
from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/mm.h: In function 'page_count':
include/linux/mm.h:323: error: 'struct page' has no member named 'private'
include/linux/mm.h:324: error: 'struct page' has no member named '_count'
include/linux/mm.h: In function 'get_page':
include/linux/mm.h:330: error: 'struct page' has no member named 'private'
include/linux/mm.h:331: error: 'struct page' has no member named '_count'
include/linux/mm.h:412:47: warning: "FLAGS_RESERVED" is not defined
include/linux/mm.h:450:46: warning: "FLAGS_RESERVED" is not defined
include/linux/mm.h:451:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > FLAGS_RESERVED
include/linux/mm.h: In function 'page_to_nid':
include/linux/mm.h:478: error: 'struct zone' has no member named 'zone_pgdat'
include/linux/mm.h: In function 'lowmem_page_address':
include/linux/mm.h:516: warning: implicit declaration of function '__va'
include/linux/mm.h:516: warning: implicit declaration of function 'page_to_pfn'
include/linux/mm.h:516: error: 'PAGE_SHIFT' undeclared (first use in this function)
include/linux/mm.h:516: warning: return makes pointer from integer without a cast
include/linux/mm.h: In function 'page_mapping':
include/linux/mm.h:558: error: 'struct page' has no member named 'mapping'
include/linux/mm.h: In function 'PageAnon':
include/linux/mm.h:569: error: 'struct page' has no member named 'mapping'
include/linux/mm.h: In function 'page_index':
include/linux/mm.h:579: error: 'struct page' has no member named 'private'
include/linux/mm.h:580: error: 'struct page' has no member named 'index'
include/linux/mm.h: In function 'reset_page_mapcount':
include/linux/mm.h:590: warning: implicit declaration of function 'atomic_set'
include/linux/mm.h:590: error: 'struct page' has no member named '_mapcount'
include/linux/mm.h: In function 'page_mapcount':
include/linux/mm.h:595: error: 'struct page' has no member named '_mapcount'
include/linux/mm.h: In function 'page_mapped':
include/linux/mm.h:603: error: 'struct page' has no member named '_mapcount'
include/linux/mm.h: At top level:
include/linux/mm.h:660: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h: In function 'can_do_mlock':
include/linux/mm.h:677: error: 'current' undeclared (first use in this function)
include/linux/mm.h:677: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function)
include/linux/mm.h: At top level:
include/linux/mm.h:681: error: expected ')' before 'struct'
include/linux/mm.h:682: error: expected ')' before 'struct'
include/linux/mm.h:696: error: expected declaration specifiers or '...' before 'pte_t'
include/linux/mm.h:710: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h:712: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:712: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:715: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:715: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h: In function 'unmap_shared_mapping_range':
include/linux/mm.h:717: error: 'holebegin' undeclared (first use in this function)
include/linux/mm.h:717: error: 'holelen' undeclared (first use in this function)
include/linux/mm.h:717: error: too many arguments to function 'unmap_mapping_range'
include/linux/mm.h: At top level:
include/linux/mm.h:720: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:721: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:721: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:722: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h:723: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h:753: error: expected declaration specifiers or '...' before 'pte_t'
include/linux/mm.h:790: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/linux/mm.h:792: error: expected declaration specifiers or '...' before 'pgd_t'
include/linux/mm.h:793: error: expected declaration specifiers or '...' before 'pud_t'
include/linux/mm.h:794: error: expected declaration specifiers or '...' before 'pmd_t'
include/linux/mm.h:795: error: expected ')' before '*' token
include/linux/mm.h:802: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/linux/mm.h:808: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/linux/mm.h: In function 'vma_nonlinear_insert':
include/linux/mm.h:894: error: 'struct vm_area_struct' has no member named 'shared'
include/linux/mm.h:895: error: 'struct vm_area_struct' has no member named 'shared'
include/linux/mm.h: In function 'do_mmap':
include/linux/mm.h:928: error: 'EINVAL' undeclared (first use in this function)
include/linux/mm.h:929: warning: implicit declaration of function 'PAGE_ALIGN'
include/linux/mm.h:931: error: 'PAGE_MASK' undeclared (first use in this function)
include/linux/mm.h:932: error: 'PAGE_SHIFT' undeclared (first use in this function)
include/linux/mm.h: At top level:
include/linux/mm.h:937: error: expected declaration specifiers or '...' before 'size_t'
include/linux/mm.h:943: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:945: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:945: error: expected declaration specifiers or '...' before 'loff_t'
include/linux/mm.h:950: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h: In function 'vma_pages':
include/linux/mm.h:998: error: 'PAGE_SHIFT' undeclared (first use in this function)
include/linux/mm.h: At top level:
include/linux/mm.h:1005: error: expected declaration specifiers or '...' before 'pgprot_t'
include/linux/mm.h:1047: error: expected declaration specifiers or '...' before 'size_t'
include/linux/mm.h:1047: error: expected declaration specifiers or '...' before 'loff_t'
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/poll.h:12:25: error: asm/uaccess.h: No such file or directory
In file included from /sources/asterisk/zaptel-1.2.7/zaptel.h:937,
from /sources/asterisk/zaptel-1.2.7/zaptel.c:83:
include/linux/poll.h: In function 'get_fd_set':
include/linux/poll.h:75: warning: implicit declaration of function 'copy_from_user'
include/linux/poll.h:75: error: 'EFAULT' undeclared (first use in this function)
include/linux/poll.h:77: error: too many arguments to function 'memset'
include/linux/poll.h: In function 'set_fd_set':
include/linux/poll.h:85: warning: implicit declaration of function '__copy_to_user'
include/linux/poll.h: In function 'zero_fd_set':
include/linux/poll.h:92: error: too many arguments to function 'memset'
include/linux/poll.h: At top level:
include/linux/poll.h:97: error: expected declaration specifiers or '...' before 's64'
include/linux/poll.h:99: error: expected declaration specifiers or '...' before 's64'
include/linux/poll.h:99: warning: 'struct pollfd' declared inside parameter list
/sources/asterisk/zaptel-1.2.7/zaptel.c:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fcstab'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'rotate_sums':
/sources/asterisk/zaptel-1.2.7/zaptel.c:404: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c: At top level:
/sources/asterisk/zaptel-1.2.7/zaptel.c:487: error: expected declaration specifiers or '...' before 'off_t'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zaptel_proc_read':
/sources/asterisk/zaptel-1.2.7/zaptel.c:579: error: 'off' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_qevent_lock':
/sources/asterisk/zaptel-1.2.7/zaptel.c:709: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:711: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:711: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:711: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'schluffen':
/sources/asterisk/zaptel-1.2.7/zaptel.c:717: error: 'current' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'calc_fcs':
/sources/asterisk/zaptel-1.2.7/zaptel.c:737: warning: implicit declaration of function 'crc_ccitt_byte'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_reallocbufs':
/sources/asterisk/zaptel-1.2.7/zaptel.c:756: warning: assignment makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:758: error: 'ENOMEM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:763: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:807: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:807: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:807: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__buf_pull':
/sources/asterisk/zaptel-1.2.7/zaptel.c:825: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:829: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__buf_push':
/sources/asterisk/zaptel-1.2.7/zaptel.c:898: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'close_channel':
/sources/asterisk/zaptel-1.2.7/zaptel.c:942: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:994: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:995: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:996: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1003: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1003: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1003: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'free_tone_zone':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1033: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1034: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1037: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1037: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1037: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_register_tone_zone':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1046: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1047: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1054: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1054: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1054: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'start_tone':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1062: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1080: error: 'ENOSYS' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1082: error: 'ENODATA' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'set_tone_zone':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1093: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1095: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1102: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1104: error: 'ENODATA' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1107: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1107: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1107: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_reg':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1188: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1211: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1211: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1211: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_unreg':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1584: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1620: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1620: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:1620: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: At top level:
/sources/asterisk/zaptel-1.2.7/zaptel.c:1623: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zt_chan_read'
/sources/asterisk/zaptel-1.2.7/zaptel.c:1703: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zt_chan_write'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_ctl_open':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1804: error: 'MOD_INC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_open':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1813: error: 'MOD_INC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_ctl_release':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1822: error: 'MOD_DEC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_release':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1831: error: 'MOD_DEC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_hangup':
/sources/asterisk/zaptel-1.2.7/zaptel.c:1971: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'initialize_channel':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2033: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2102: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2103: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2104: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2130: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2133: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2139: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2139: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2139: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_timing_open':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2152: warning: assignment makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2154: error: 'ENOMEM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2156: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2158: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2160: error: 'MOD_INC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2162: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2165: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2165: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2165: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_timer_release':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2173: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2175: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2190: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2190: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2190: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2197: error: 'MOD_DEC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_specchan_open':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2210: error: 'EBUSY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2228: error: 'MOD_INC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2236: error: 'ENXIO' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_specchan_release':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2250: error: 'ENXIO' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2252: error: 'MOD_DEC_USE_COUNT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_alloc_pseudo':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2264: warning: assignment makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2267: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2271: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2277: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2277: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2277: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_free_pseudo':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2285: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2287: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2287: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2287: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_open':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2294: error: 'struct dentry' has no member named 'd_inode'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2303: error: 'ENXIO' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2312: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c: At top level:
/sources/asterisk/zaptel-1.2.7/zaptel.c:2335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zt_read'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2369: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zt_write'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'ioctl_load_zone':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2419: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2421: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2423: error: 'EFAULT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2426: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2431: error: 'E2BIG' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2434: error: 'ENOMEM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2436: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2439: error: too many arguments to function 'strncpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__do_dtmf':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2562: warning: implicit declaration of function 'strlen'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2565: error: too many arguments to function 'memmove'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_release':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2612: error: 'struct dentry' has no member named 'd_inode'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2622: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2629: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_timer_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2714: warning: implicit declaration of function '_IOW'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2714: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2714: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2715: warning: implicit declaration of function 'get_user'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2718: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2720: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2720: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2720: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2722: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2722: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2724: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2728: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2728: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2730: warning: implicit declaration of function '_IOR'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2730: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2730: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2732: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2738: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2738: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2739: warning: implicit declaration of function 'put_user'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2741: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2741: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2742: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2745: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2745: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2747: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2747: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2748: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2750: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2750: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2753: error: 'ENOTTY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_common_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:2775: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2775: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2777: error: 'EFAULT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2790: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2790: error: 'ENXIO' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2842: error: too many arguments to function 'strncpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2849: warning: implicit declaration of function 'copy_to_user'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2852: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2852: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2880: warning: implicit declaration of function '_IOWR'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2880: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2880: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2898: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2898: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2908: warning: assignment makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:2911: error: 'ENOMEM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:2922: error: too many arguments to function 'memcmp'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2923: error: too many arguments to function 'memcmp'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2935: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2935: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:2951: error: too many arguments to function 'strncpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:2952: error: too many arguments to function 'strncpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3023: error: 'ENOTTY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_ctl_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:3082: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3082: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3084: error: 'EFAULT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3085: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3085: error: 'ENXIO' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3087: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3087: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3096: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3096: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3108: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3110: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3110: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3110: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3115: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3115: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3121: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3121: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3142: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3164: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3164: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3166: error: 'ENOSYS' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3297: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3297: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3300: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3310: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3310: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3312: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3312: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3317: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3337: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3337: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3339: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3339: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3343: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3345: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3345: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3347: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3347: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3349: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3349: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3354: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3354: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3370: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3370: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3380: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3380: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3389: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3401: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3401: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3403: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3409: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3409: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3413: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3419: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3419: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3421: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3421: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3422: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3422: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chanandpseudo_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:3451: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3453: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3453: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3454: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3456: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3456: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3456: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3458: error: 'EFAULT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3460: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3460: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3466: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3483: error: 'EBUSY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3486: error: too many arguments to function 'strncpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3496: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3496: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3498: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3498: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3509: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3509: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3523: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3523: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3526: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3526: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3537: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3537: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3539: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3575: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3575: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3577: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3577: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3580: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3583: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3583: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3589: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3589: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3596: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3625: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3625: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3639: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3639: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3642: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3652: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3652: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3655: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3655: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3658: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3660: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3660: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3662: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3662: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3668: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3668: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3670: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3672: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3672: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3674: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3674: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3675: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3680: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3680: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3683: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3683: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3685: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3687: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3687: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3689: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3689: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3704: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3704: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3726: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3727: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3732: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3732: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3733: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3733: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3738: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3739: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3740: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3763: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3763: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3764: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3764: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3768: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3768: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3777: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3778: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3783: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3785: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3785: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3786: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3786: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3805: error: 'EEXIST' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3827: error: 'ENOSPC' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3832: error: 'ENOENT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3836: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3836: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3837: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3837: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3839: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3839: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3872: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3872: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3875: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3875: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3881: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3881: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3892: error: expected expression before 'struct'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3892: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3897: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3911: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3921: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3932: error: 'ENOTTY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:3978: error: 'ENOSYS' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3981: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3981: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3983: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3989: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3989: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:3989: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:3991: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3991: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:3992: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3997: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:3997: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4000: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4000: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4002: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4005: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4008: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4008: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4013: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4024: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4025: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4026: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4042: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4042: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4051: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4051: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4116: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4116: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4126: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4126: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4136: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4136: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4141: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4149: error: 'ENOTTY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4160: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4160: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4163: error: 'ENOMEM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4164: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4173: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4173: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4177: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4187: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4187: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4192: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4192: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4204: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4204: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4211: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4211: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4215: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4215: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4223: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4230: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4230: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4234: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4236: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4236: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4239: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4242: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4242: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4243: error: 'EBUSY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4246: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4246: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4250: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4252: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4252: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4262: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4262: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4263: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4263: error: 'O_NONBLOCK' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4264: error: 'EINPROGRESS' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4272: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4274: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4274: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4278: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4278: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4279: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4285: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4287: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4287: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4291: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4291: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4292: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4298: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4300: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4300: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_prechan_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4335: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4343: error: expected expression before 'int'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4343: error: case label does not reduce to an integer constant
/sources/asterisk/zaptel-1.2.7/zaptel.c:4346: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4353: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4359: error: 'ENOSYS' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_ioctl':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4366: error: 'struct dentry' has no member named 'd_inode'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4373: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4377: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4380: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4387: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_register':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4405: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4408: error: 'EBUSY' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:4441: warning: passing argument 2 of 'create_proc_read_entry' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:4441: error: too many arguments to function 'create_proc_read_entry'
/sources/asterisk/zaptel-1.2.7/zaptel.c: At top level:
/sources/asterisk/zaptel-1.2.7/zaptel.c:4642: error: expected ')' before 'alaw'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_conv_init':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4674: warning: implicit declaration of function 'alaw2linear'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_process_getaudio_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4704: error: too many arguments to function 'echo_can_disable_detector_update'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4764: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4768: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4769: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4775: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4776: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4778: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4780: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4788: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4792: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4796: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4797: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4799: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4818: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4838: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4845: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4855: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4863: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4865: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:4867: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_getbuf_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:4917: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5016: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5018: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5022: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__rbs_otimer_expire':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5119: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5119: error: 'O_NONBLOCK' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:5131: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5146: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5153: error: 'struct file' has no member named 'f_flags'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_hooksig':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5349: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5351: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5351: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:5351: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_rbsbits':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5362: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5407: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5407: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:5407: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_ec_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5415: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5458: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5458: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:5458: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_process_putaudio_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5538: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5548: error: too many arguments to function 'echo_can_disable_detector_update'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5588: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5589: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5643: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5647: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5651: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5653: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5676: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5683: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5687: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5692: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5699: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5705: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5710: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5719: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c:5721: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_putbuf_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:5806: error: too many arguments to function 'memcpy'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'process_timers':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6000: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6013: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6013: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6013: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_timer_poll':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6018: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6023: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6025: error: 'POLLPRI' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6026: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6026: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6026: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6028: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_chan_poll':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6045: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6048: error: 'POLLOUT' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6048: error: 'POLLWRNORM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6051: error: 'POLLIN' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6051: error: 'POLLRDNORM' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6056: error: 'POLLPRI' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6058: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6058: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6058: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6060: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_poll':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6066: error: 'struct dentry' has no member named 'd_inode'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6070: error: 'EINVAL' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6076: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6082: error: 'struct file' has no member named 'private_data'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_getempty':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6161: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function '__zt_receive_chunk':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6174: error: too many arguments to function 'memset'
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_transmit':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6207: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6251: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6251: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6251: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: In function 'zt_receive':
/sources/asterisk/zaptel-1.2.7/zaptel.c:6278: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6343: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6343: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6343: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6350: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6360: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6365: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6365: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6373: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6375: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6375: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6398: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6401: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6401: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6407: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6412: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6412: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c:6415: error: invalid type argument of '->'
/sources/asterisk/zaptel-1.2.7/zaptel.c:6415: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast
/sources/asterisk/zaptel-1.2.7/zaptel.c: At top level:
/sources/asterisk/zaptel-1.2.7/zaptel.c:6440: error: unknown field 'llseek' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6440: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6440: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6441: error: unknown field 'open' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6441: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6441: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6442: error: unknown field 'release' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6442: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6442: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6443: error: unknown field 'ioctl' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6443: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6443: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6444: error: unknown field 'read' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6444: error: 'zt_read' undeclared here (not in a function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6444: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6444: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6445: error: unknown field 'write' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6445: error: 'zt_write' undeclared here (not in a function)
/sources/asterisk/zaptel-1.2.7/zaptel.c:6445: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6445: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6446: error: unknown field 'poll' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6446: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6446: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6447: error: unknown field 'mmap' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6447: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6447: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6448: error: unknown field 'flush' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6448: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6448: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6449: error: unknown field 'fsync' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6449: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6449: warning: (near initialization for 'zt_fops')
/sources/asterisk/zaptel-1.2.7/zaptel.c:6450: error: unknown field 'fasync' specified in initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6450: warning: excess elements in struct initializer
/sources/asterisk/zaptel-1.2.7/zaptel.c:6450: warning: (near initialization for 'zt_fops')
make[2]: *** [/sources/asterisk/zaptel-1.2.7/zaptel.o] Error 1
make[1]: *** [_module_/sources/asterisk/zaptel-1.2.7] Error 2
make[1]: Leaving directory `/sources/linux-2.6.16.27'
make: *** [linux26] Error 2