The error found below is linked from http://www.jedge.com/wordpress/compiling-wireless-tools-for-nokia-n810 make -C src all make[1]: Entering directory `/home/maemo/source/aircrack-ng.svn/src' make -C osdep make[2]: Entering directory `/home/maemo/source/aircrack-ng.svn/src/osdep' Building for Linux make[3]: Entering directory `/home/maemo/source/aircrack-ng.svn/src/osdep' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o osdep.o osdep.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o network.o network.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o file.o file.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o linux.o linux.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o linux_tap.o linux_tap.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -fPIC -I.. -c -o common.o common.c ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o ranlib libosdep.a touch .os.Linux make[3]: Leaving directory `/home/maemo/source/aircrack-ng.svn/src/osdep' make[2]: Leaving directory `/home/maemo/source/aircrack-ng.svn/src/osdep' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o aircrack-ng.o aircrack-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o crypto.o crypto.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o common.o common.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o uniqueiv.o uniqueiv.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o airdecap-ng.o airdecap-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude airdecap-ng.o crypto.o common.o -o airdecap-ng -lssl -lcrypto gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o packetforge-ng.o packetforge-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude packetforge-ng.o common.o crypto.o -o packetforge-ng -lssl -lcrypto gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o ivstools.o ivstools.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude ivstools.o common.o crypto.o uniqueiv.o -o ivstools -lssl -lcrypto gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o kstats.o kstats.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude kstats.o -o kstats gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o makeivs-ng.o makeivs-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude makeivs-ng.o common.o uniqueiv.o -o makeivs-ng gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o airdecloak-ng.o airdecloak-ng.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude airdecloak-ng.o common.o osdep/radiotap/radiotap-parser.o -o airdecloak-ng gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o wpaclean.o wpaclean.c gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude wpaclean.o -o wpaclean -Losdep -losdep gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=-1 -Iinclude -c -o aireplay-ng.o aireplay-ng.c In file included from /usr/include/linux/cpumask.h:86, from /usr/include/linux/interrupt.h:10, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/bitmap.h: In function `bitmap_zero': /usr/include/linux/bitmap.h:125: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h:125: error: (Each undeclared identifier is reported only once /usr/include/linux/bitmap.h:125: error: for each function it appears in.) /usr/include/linux/bitmap.h: In function `bitmap_fill': /usr/include/linux/bitmap.h:135: error: `size_t' undeclared (first use in this function) /usr/include/linux/bitmap.h:135: error: syntax error before "nlongs" /usr/include/linux/bitmap.h:136: error: `nlongs' undeclared (first use in this function) /usr/include/linux/bitmap.h:140: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_copy': /usr/include/linux/bitmap.h:146: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_and': /usr/include/linux/bitmap.h:157: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_or': /usr/include/linux/bitmap.h:166: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_xor': /usr/include/linux/bitmap.h:175: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_andnot': /usr/include/linux/bitmap.h:184: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_complement': /usr/include/linux/bitmap.h:193: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_equal': /usr/include/linux/bitmap.h:202: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_intersects': /usr/include/linux/bitmap.h:211: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_subset': /usr/include/linux/bitmap.h:220: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_empty': /usr/include/linux/bitmap.h:228: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_full': /usr/include/linux/bitmap.h:236: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_shift_right': /usr/include/linux/bitmap.h:250: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In function `bitmap_shift_left': /usr/include/linux/bitmap.h:259: error: `BITS_PER_LONG' undeclared (first use in this function) In file included from /usr/include/linux/interrupt.h:10, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:88: error: syntax error before "DECLARE_BITMAP" /usr/include/linux/cpumask.h:89: error: syntax error before "_unused_cpumask_arg_" /usr/include/linux/cpumask.h:92: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpu_set': /usr/include/linux/cpumask.h:94: error: `cpu' undeclared (first use in this function) /usr/include/linux/cpumask.h:94: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:98: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpu_clear': /usr/include/linux/cpumask.h:100: error: `cpu' undeclared (first use in this function) /usr/include/linux/cpumask.h:100: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:104: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_setall': /usr/include/linux/cpumask.h:106: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:106: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:110: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_clear': /usr/include/linux/cpumask.h:112: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:112: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:119: error: syntax error before "cpumask_t" /usr/include/linux/cpumask.h: In function `__cpu_test_and_set': /usr/include/linux/cpumask.h:121: error: `cpu' undeclared (first use in this function) /usr/include/linux/cpumask.h:121: error: `addr' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:125: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_and': /usr/include/linux/cpumask.h:128: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:128: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:128: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:128: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:132: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_or': /usr/include/linux/cpumask.h:135: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:135: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:135: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:135: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:139: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_xor': /usr/include/linux/cpumask.h:142: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:142: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:142: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:142: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:147: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_andnot': /usr/include/linux/cpumask.h:150: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:150: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:150: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:150: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:154: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_complement': /usr/include/linux/cpumask.h:157: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:157: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:157: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:161: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_equal': /usr/include/linux/cpumask.h:164: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:164: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:164: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:168: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_intersects': /usr/include/linux/cpumask.h:171: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:171: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:171: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:175: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_subset': /usr/include/linux/cpumask.h:178: error: `src1p' undeclared (first use in this function) /usr/include/linux/cpumask.h:178: error: `src2p' undeclared (first use in this function) /usr/include/linux/cpumask.h:178: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:182: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_empty': /usr/include/linux/cpumask.h:184: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:184: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:188: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_full': /usr/include/linux/cpumask.h:190: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:190: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:194: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_weight': /usr/include/linux/cpumask.h:196: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:196: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:201: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_shift_right': /usr/include/linux/cpumask.h:204: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:204: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:204: error: `n' undeclared (first use in this function) /usr/include/linux/cpumask.h:204: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:209: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_shift_left': /usr/include/linux/cpumask.h:212: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:212: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:212: error: `n' undeclared (first use in this function) /usr/include/linux/cpumask.h:212: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:216: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__first_cpu': /usr/include/linux/cpumask.h:218: error: syntax error before "int" /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:222: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__next_cpu': /usr/include/linux/cpumask.h:224: error: syntax error before "int" /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:273: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpumask_scnprintf': /usr/include/linux/cpumask.h:275: error: `buf' undeclared (first use in this function) /usr/include/linux/cpumask.h:275: error: `len' undeclared (first use in this function) /usr/include/linux/cpumask.h:275: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:275: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:281: error: syntax error before "cpumask_t" /usr/include/linux/cpumask.h: In function `__cpumask_parse': /usr/include/linux/cpumask.h:283: error: `buf' undeclared (first use in this function) /usr/include/linux/cpumask.h:283: error: `len' undeclared (first use in this function) /usr/include/linux/cpumask.h:283: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:283: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:289: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpulist_scnprintf': /usr/include/linux/cpumask.h:291: error: `buf' undeclared (first use in this function) /usr/include/linux/cpumask.h:291: error: `len' undeclared (first use in this function) /usr/include/linux/cpumask.h:291: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:291: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:295: error: syntax error before "cpumask_t" /usr/include/linux/cpumask.h: In function `__cpulist_parse': /usr/include/linux/cpumask.h:297: error: `buf' undeclared (first use in this function) /usr/include/linux/cpumask.h:297: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:297: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:303: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpu_remap': /usr/include/linux/cpumask.h:305: error: `oldbit' undeclared (first use in this function) /usr/include/linux/cpumask.h:305: error: `oldp' undeclared (first use in this function) /usr/include/linux/cpumask.h:305: error: `newp' undeclared (first use in this function) /usr/include/linux/cpumask.h:305: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:310: error: syntax error before '*' token /usr/include/linux/cpumask.h: In function `__cpus_remap': /usr/include/linux/cpumask.h:313: error: `dstp' undeclared (first use in this function) /usr/include/linux/cpumask.h:313: error: `srcp' undeclared (first use in this function) /usr/include/linux/cpumask.h:313: error: `oldp' undeclared (first use in this function) /usr/include/linux/cpumask.h:313: error: `newp' undeclared (first use in this function) /usr/include/linux/cpumask.h:313: error: `nbits' undeclared (first use in this function) /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h:381: error: syntax error before "cpu_possible_map" /usr/include/linux/cpumask.h:382: error: syntax error before "cpu_online_map" /usr/include/linux/cpumask.h:383: error: syntax error before "cpu_present_map" In file included from /usr/include/linux/timex.h:58, from /usr/include/linux/sched.h:11, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/time.h:13: error: syntax error before "time_t" /usr/include/linux/time.h:15: error: syntax error before '}' token /usr/include/linux/time.h:19: error: syntax error before "time_t" /usr/include/linux/time.h:169: error: field `it_interval' has incomplete type /usr/include/linux/time.h:170: error: field `it_value' has incomplete type /usr/include/linux/time.h:174: error: field `it_interval' has incomplete type /usr/include/linux/time.h:175: error: field `it_value' has incomplete type In file included from /usr/include/linux/sched.h:11, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/timex.h:147: error: field `time' has incomplete type In file included from /usr/include/linux/jiffies.h:4, from /usr/include/linux/sched.h:12, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/calc64.h: In function `do_div_llr': /usr/include/linux/calc64.h:23: error: `u64' undeclared (first use in this function) /usr/include/linux/calc64.h:23: error: syntax error before "result" /usr/include/linux/calc64.h:25: error: `result' undeclared (first use in this function) /usr/include/linux/calc64.h:25: error: syntax error before "__asmeq" In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/jiffies.h: At top level: /usr/include/linux/jiffies.h:75: error: syntax error before "jiffies_64" /usr/include/linux/jiffies.h:79: error: syntax error before "get_jiffies_64" In file included from /usr/include/linux/sched.h:12, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/jiffies.h:250:47: division by zero in #if /usr/include/linux/jiffies.h: In function `jiffies_to_msecs': /usr/include/linux/jiffies.h:253: error: `MSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:261:47: division by zero in #if /usr/include/linux/jiffies.h: In function `jiffies_to_usecs': /usr/include/linux/jiffies.h:264: error: `USEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:274:47: division by zero in #if /usr/include/linux/jiffies.h: In function `msecs_to_jiffies': /usr/include/linux/jiffies.h:277: error: `MSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:287:47: division by zero in #if /usr/include/linux/jiffies.h: In function `usecs_to_jiffies': /usr/include/linux/jiffies.h:290: error: `USEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h: In function `timespec_to_jiffies': /usr/include/linux/jiffies.h:308: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:309: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:311: error: called object is not a function /usr/include/linux/jiffies.h:311: error: called object is not a function /usr/include/linux/jiffies.h:311: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:312: error: called object is not a function /usr/include/linux/jiffies.h:312: error: called object is not a function /usr/include/linux/jiffies.h:315: error: syntax error before "sec" /usr/include/linux/jiffies.h:315: error: syntax error before "NSEC_PER_SEC" /usr/include/linux/jiffies.h:315: error: called object is not a function /usr/include/linux/jiffies.h:315: error: syntax error before ')' token /usr/include/linux/jiffies.h: In function `jiffies_to_timespec': /usr/include/linux/jiffies.h:328: error: syntax error before "nsec" /usr/include/linux/jiffies.h:329: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:329: error: `nsec' undeclared (first use in this function) /usr/include/linux/jiffies.h:329: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:329: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h: In function `timeval_to_jiffies': /usr/include/linux/jiffies.h:347: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:348: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:350: error: called object is not a function /usr/include/linux/jiffies.h:350: error: called object is not a function /usr/include/linux/jiffies.h:350: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:351: error: called object is not a function /usr/include/linux/jiffies.h:351: error: called object is not a function /usr/include/linux/jiffies.h:354: error: syntax error before "sec" /usr/include/linux/jiffies.h:354: error: syntax error before "NSEC_PER_SEC" /usr/include/linux/jiffies.h:354: error: called object is not a function /usr/include/linux/jiffies.h:354: error: syntax error before ')' token /usr/include/linux/jiffies.h: In function `jiffies_to_timeval': /usr/include/linux/jiffies.h:366: error: syntax error before "nsec" /usr/include/linux/jiffies.h:369: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h:369: error: `nsec' undeclared (first use in this function) /usr/include/linux/jiffies.h:369: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:370: error: `NSEC_PER_USEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:371: error: dereferencing pointer to incomplete type /usr/include/linux/jiffies.h: At top level: /usr/include/linux/jiffies.h:377: error: syntax error before "jiffies_to_clock_t" /usr/include/linux/jiffies.h:379:41: division by zero in #if /usr/include/linux/jiffies.h:379:42: division by zero in #if /usr/include/linux/jiffies.h: In function `jiffies_to_clock_t': /usr/include/linux/jiffies.h:382: error: syntax error before "tmp" /usr/include/linux/jiffies.h:383: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:383: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:383: error: `tmp' undeclared (first use in this function) /usr/include/linux/jiffies.h:383: error: syntax error before "__asmeq" /usr/include/linux/jiffies.h:390:18: division by zero in #if /usr/include/linux/jiffies.h: In function `clock_t_to_jiffies': /usr/include/linux/jiffies.h:395: error: syntax error before "jif" /usr/include/linux/jiffies.h:398: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:402: error: `jif' undeclared (first use in this function) /usr/include/linux/jiffies.h:402: error: syntax error before numeric constant /usr/include/linux/jiffies.h:403: error: syntax error before "__asmeq" /usr/include/linux/jiffies.h: At top level: /usr/include/linux/jiffies.h:408: error: syntax error before "jiffies_64_to_clock_t" /usr/include/linux/jiffies.h:408: error: syntax error before "x" /usr/include/linux/jiffies.h:410:41: division by zero in #if /usr/include/linux/jiffies.h:410:42: division by zero in #if /usr/include/linux/jiffies.h: In function `jiffies_64_to_clock_t': /usr/include/linux/jiffies.h:418: error: `x' undeclared (first use in this function) /usr/include/linux/jiffies.h:419: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:419: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:419: error: syntax error before "__asmeq" /usr/include/linux/jiffies.h: At top level: /usr/include/linux/jiffies.h:424: error: syntax error before "nsec_to_clock_t" /usr/include/linux/jiffies.h:424: error: syntax error before "x" /usr/include/linux/jiffies.h:426:28: division by zero in #if /usr/include/linux/jiffies.h: In function `nsec_to_clock_t': /usr/include/linux/jiffies.h:427: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/jiffies.h:427: error: `USER_HZ' undeclared (first use in this function) /usr/include/linux/jiffies.h:427: error: `x' undeclared (first use in this function) /usr/include/linux/jiffies.h:427: error: syntax error before "__asmeq" In file included from /usr/include/linux/sched.h:17, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:88: error: syntax error before "DECLARE_BITMAP" /usr/include/linux/nodemask.h:89: error: syntax error before "_unused_nodemask_arg_" /usr/include/linux/nodemask.h:92: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__node_set': /usr/include/linux/nodemask.h:94: error: `node' undeclared (first use in this function) /usr/include/linux/nodemask.h:94: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:98: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__node_clear': /usr/include/linux/nodemask.h:100: error: `node' undeclared (first use in this function) /usr/include/linux/nodemask.h:100: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:104: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_setall': /usr/include/linux/nodemask.h:106: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:106: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:110: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_clear': /usr/include/linux/nodemask.h:112: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:112: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:120: error: syntax error before "nodemask_t" /usr/include/linux/nodemask.h: In function `__node_test_and_set': /usr/include/linux/nodemask.h:122: error: `node' undeclared (first use in this function) /usr/include/linux/nodemask.h:122: error: `addr' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:127: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_and': /usr/include/linux/nodemask.h:130: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:130: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:130: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:130: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:135: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_or': /usr/include/linux/nodemask.h:138: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:138: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:138: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:138: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:143: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_xor': /usr/include/linux/nodemask.h:146: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:146: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:146: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:146: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:151: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_andnot': /usr/include/linux/nodemask.h:154: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:154: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:154: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:154: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:159: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_complement': /usr/include/linux/nodemask.h:162: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:162: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:162: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:167: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_equal': /usr/include/linux/nodemask.h:170: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:170: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:170: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:175: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_intersects': /usr/include/linux/nodemask.h:178: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:178: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:178: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:183: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_subset': /usr/include/linux/nodemask.h:186: error: `src1p' undeclared (first use in this function) /usr/include/linux/nodemask.h:186: error: `src2p' undeclared (first use in this function) /usr/include/linux/nodemask.h:186: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:190: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_empty': /usr/include/linux/nodemask.h:192: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:192: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:196: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_full': /usr/include/linux/nodemask.h:198: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:198: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:202: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_weight': /usr/include/linux/nodemask.h:204: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:204: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:209: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_shift_right': /usr/include/linux/nodemask.h:212: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:212: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:212: error: `n' undeclared (first use in this function) /usr/include/linux/nodemask.h:212: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:217: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_shift_left': /usr/include/linux/nodemask.h:220: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:220: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:220: error: `n' undeclared (first use in this function) /usr/include/linux/nodemask.h:220: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:227: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__first_node': /usr/include/linux/nodemask.h:229: error: syntax error before "int" /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:233: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__next_node': /usr/include/linux/nodemask.h:235: error: syntax error before "int" /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:251: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__first_unset_node': /usr/include/linux/nodemask.h:253: error: syntax error before "int" /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:286: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodemask_scnprintf': /usr/include/linux/nodemask.h:288: error: `buf' undeclared (first use in this function) /usr/include/linux/nodemask.h:288: error: `len' undeclared (first use in this function) /usr/include/linux/nodemask.h:288: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:288: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:294: error: syntax error before "nodemask_t" /usr/include/linux/nodemask.h: In function `__nodemask_parse': /usr/include/linux/nodemask.h:296: error: `buf' undeclared (first use in this function) /usr/include/linux/nodemask.h:296: error: `len' undeclared (first use in this function) /usr/include/linux/nodemask.h:296: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:296: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:302: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodelist_scnprintf': /usr/include/linux/nodemask.h:304: error: `buf' undeclared (first use in this function) /usr/include/linux/nodemask.h:304: error: `len' undeclared (first use in this function) /usr/include/linux/nodemask.h:304: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:304: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:308: error: syntax error before "nodemask_t" /usr/include/linux/nodemask.h: In function `__nodelist_parse': /usr/include/linux/nodemask.h:310: error: `buf' undeclared (first use in this function) /usr/include/linux/nodemask.h:310: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:310: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:316: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__node_remap': /usr/include/linux/nodemask.h:318: error: `oldbit' undeclared (first use in this function) /usr/include/linux/nodemask.h:318: error: `oldp' undeclared (first use in this function) /usr/include/linux/nodemask.h:318: error: `newp' undeclared (first use in this function) /usr/include/linux/nodemask.h:318: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:323: error: syntax error before '*' token /usr/include/linux/nodemask.h: In function `__nodes_remap': /usr/include/linux/nodemask.h:326: error: `dstp' undeclared (first use in this function) /usr/include/linux/nodemask.h:326: error: `srcp' undeclared (first use in this function) /usr/include/linux/nodemask.h:326: error: `oldp' undeclared (first use in this function) /usr/include/linux/nodemask.h:326: error: `newp' undeclared (first use in this function) /usr/include/linux/nodemask.h:326: error: `nbits' undeclared (first use in this function) /usr/include/linux/nodemask.h: At top level: /usr/include/linux/nodemask.h:345: error: syntax error before "node_online_map" /usr/include/linux/nodemask.h:346: error: syntax error before "node_possible_map" In file included from /usr/include/linux/sched.h:20, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/asm/semaphore.h:18: error: syntax error before "wait_queue_head_t" /usr/include/asm/semaphore.h: In function `sema_init': /usr/include/asm/semaphore.h:35: error: dereferencing pointer to incomplete type /usr/include/asm/semaphore.h:36: error: dereferencing pointer to incomplete type /usr/include/asm/semaphore.h:37: error: dereferencing pointer to incomplete type In file included from /usr/include/asm/cputime.h:4, from /usr/include/linux/sched.h:24, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/asm-generic/cputime.h: At top level: /usr/include/asm-generic/cputime.h:23: error: syntax error before "cputime64_t" In file included from /usr/include/linux/signal.h:6, from /usr/include/linux/sched.h:28, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/asm/signal.h:162: error: syntax error before "size_t" In file included from /usr/include/asm/siginfo.h:4, from /usr/include/linux/signal.h:7, from /usr/include/linux/sched.h:28, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/asm-generic/siginfo.h:50: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:56: error: syntax error before "timer_t" /usr/include/asm-generic/siginfo.h:58: error: `uid_t' undeclared here (not in a function) /usr/include/asm-generic/siginfo.h:58: error: size of array `_pad' is too large /usr/include/asm-generic/siginfo.h:61: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:65: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:68: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:72: error: syntax error before "pid_t" /usr/include/asm-generic/siginfo.h:75: error: syntax error before "_utime" /usr/include/asm-generic/siginfo.h:76: error: syntax error before "_stime" /usr/include/asm-generic/siginfo.h:92: error: syntax error before '}' token /usr/include/asm-generic/siginfo.h:93: error: syntax error before '}' token In file included from /usr/include/linux/sched.h:32, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/completion.h:15: error: syntax error before "wait_queue_head_t" /usr/include/linux/completion.h: In function `init_completion': /usr/include/linux/completion.h:26: error: dereferencing pointer to incomplete type /usr/include/linux/completion.h:27: error: dereferencing pointer to incomplete type In file included from /usr/include/linux/sched.h:33, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/pid.h: At top level: /usr/include/linux/pid.h:17: error: field `pid_chain' has incomplete type /usr/include/linux/pid.h:19: error: field `pid_list' has incomplete type In file included from /usr/include/linux/sched.h:34, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/percpu.h:42: error: syntax error before "size" /usr/include/linux/percpu.h: In function `__alloc_percpu': /usr/include/linux/percpu.h:44: error: `size' undeclared (first use in this function) /usr/include/linux/percpu.h:44: error: `GFP_KERNEL' undeclared (first use in this function) In file included from /usr/include/linux/sched.h:106, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/resource.h: At top level: /usr/include/linux/resource.h:22: error: field `ru_utime' has incomplete type /usr/include/linux/resource.h:23: error: field `ru_stime' has incomplete type In file included from /usr/include/linux/sched.h:107, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/timer.h:12: error: field `entry' has incomplete type In file included from /usr/include/linux/hrtimer.h:19, from /usr/include/linux/sched.h:108, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/ktime.h:47: error: syntax error before "s64" /usr/include/linux/ktime.h:53: error: syntax error before "s32" /usr/include/linux/ktime.h:57: error: syntax error before '}' token /usr/include/linux/ktime.h:143: error: syntax error before "ktime_set" /usr/include/linux/ktime.h: In function `ktime_set': /usr/include/linux/ktime.h:145: error: syntax error before '{' token /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:156: error: syntax error before "ktime_sub" /usr/include/linux/ktime.h:156: error: syntax error before "lhs" /usr/include/linux/ktime.h: In function `ktime_sub': /usr/include/linux/ktime.h:158: error: syntax error before "res" /usr/include/linux/ktime.h:160: error: `res' undeclared (first use in this function) /usr/include/linux/ktime.h:160: error: `lhs' undeclared (first use in this function) /usr/include/linux/ktime.h:160: error: `rhs' undeclared (first use in this function) /usr/include/linux/ktime.h:162: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:175: error: syntax error before "ktime_add" /usr/include/linux/ktime.h:175: error: syntax error before "add1" /usr/include/linux/ktime.h: In function `ktime_add': /usr/include/linux/ktime.h:177: error: syntax error before "res" /usr/include/linux/ktime.h:179: error: `res' undeclared (first use in this function) /usr/include/linux/ktime.h:179: error: `add1' undeclared (first use in this function) /usr/include/linux/ktime.h:179: error: `add2' undeclared (first use in this function) /usr/include/linux/ktime.h:188: error: `NSEC_PER_SEC' undeclared (first use in this function) /usr/include/linux/ktime.h:189: error: `u32' undeclared (first use in this function) /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:202: error: syntax error before "ktime_add_ns" /usr/include/linux/ktime.h:202: error: syntax error before "kt" /usr/include/linux/ktime.h:211: error: syntax error before "timespec_to_ktime" /usr/include/linux/ktime.h:212: error: parameter `ts' has incomplete type /usr/include/linux/ktime.h: In function `timespec_to_ktime': /usr/include/linux/ktime.h:213: error: syntax error before '{' token /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:224: error: syntax error before "timeval_to_ktime" /usr/include/linux/ktime.h:225: error: parameter `tv' has incomplete type /usr/include/linux/ktime.h: In function `timeval_to_ktime': /usr/include/linux/ktime.h:226: error: syntax error before '{' token /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:237: error: syntax error before "kt" /usr/include/linux/ktime.h:238: error: return type is an incomplete type /usr/include/linux/ktime.h: In function `ktime_to_timespec': /usr/include/linux/ktime.h:239: error: unknown field `tv_sec' specified in initializer /usr/include/linux/ktime.h:239: error: `time_t' undeclared (first use in this function) /usr/include/linux/ktime.h:239: error: syntax error before "kt" /usr/include/linux/ktime.h:240: error: unknown field `tv_nsec' specified in initializer /usr/include/linux/ktime.h:240: error: `kt' undeclared (first use in this function) /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:250: error: syntax error before "kt" /usr/include/linux/ktime.h:251: error: return type is an incomplete type /usr/include/linux/ktime.h: In function `ktime_to_timeval': /usr/include/linux/ktime.h:253: error: unknown field `tv_sec' specified in initializer /usr/include/linux/ktime.h:253: error: `time_t' undeclared (first use in this function) /usr/include/linux/ktime.h:253: error: syntax error before "kt" /usr/include/linux/ktime.h:254: error: unknown field `tv_usec' specified in initializer /usr/include/linux/ktime.h:254: error: `suseconds_t' undeclared (first use in this function) /usr/include/linux/ktime.h:254: error: `kt' undeclared (first use in this function) /usr/include/linux/ktime.h:254: error: `NSEC_PER_USEC' undeclared (first use in this function) /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:263: error: syntax error before "ktime_to_clock_t" /usr/include/linux/ktime.h:263: error: syntax error before "kt" /usr/include/linux/ktime.h: In function `ktime_to_clock_t': /usr/include/linux/ktime.h:265: error: syntax error before "kt" /usr/include/linux/ktime.h: At top level: /usr/include/linux/ktime.h:274: error: syntax error before "ktime_to_ns" /usr/include/linux/ktime.h:274: error: syntax error before "kt" /usr/include/linux/ktime.h: In function `ktime_to_ns': /usr/include/linux/ktime.h:276: error: syntax error before "kt" In file included from /usr/include/linux/sched.h:108, from /usr/include/linux/smp_lock.h:6, from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/hrtimer.h: At top level: /usr/include/linux/hrtimer.h:65: error: syntax error before "ktime_t" /usr/include/linux/hrtimer.h:70: error: syntax error before '}' token /usr/include/linux/hrtimer.h:85: error: syntax error before "clockid_t" /usr/include/linux/hrtimer.h:89: error: syntax error before "resolution" /usr/include/linux/hrtimer.h:90: error: syntax error before '*' token /usr/include/linux/hrtimer.h:90: error: `ktime_t' declared as function returning a function /usr/include/linux/hrtimer.h:90: error: 'ktime_t' redeclared as different kind of symbol /usr/include/linux/ktime.h:57: error: previous declaration of 'ktime_t' was here /usr/include/linux/hrtimer.h:92: error: syntax error before '}' token /usr/include/linux/hrtimer.h:104: error: syntax error before "clockid_t" /usr/include/linux/hrtimer.h:108: error: syntax error before "ktime_t" /usr/include/linux/hrtimer.h:116: error: syntax error before "hrtimer_get_remaining" /usr/include/linux/hrtimer.h:117: error: syntax error before "which_clock" /usr/include/linux/hrtimer.h:120: error: syntax error before "hrtimer_get_next_event" /usr/include/linux/hrtimer.h: In function `hrtimer_active': /usr/include/linux/hrtimer.h:125: error: dereferencing pointer to incomplete type /usr/include/linux/hrtimer.h: At top level: /usr/include/linux/hrtimer.h:129: error: syntax error before "ktime_t" /usr/include/linux/hrtimer.h:135: error: syntax error before "clockid" In file included from /usr/include/linux/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/smp_lock.h:11: error: syntax error before "__reacquire_kernel_lock" /usr/include/linux/smp_lock.h:12: error: syntax error before "__release_kernel_lock" /usr/include/linux/smp_lock.h: In function `reacquire_kernel_lock': /usr/include/linux/smp_lock.h:36: error: dereferencing pointer to incomplete type /usr/include/linux/smp_lock.h: At top level: /usr/include/linux/smp_lock.h:41: error: syntax error before "lock_kernel" /usr/include/linux/smp_lock.h:42: error: syntax error before "unlock_kernel" In file included from /usr/include/asm/irq.h:4, from /usr/include/asm/hardirq.h:7, from /usr/include/linux/hardirq.h:7, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/asm/arch/irqs.h:11:28: asm/mach-types.h: No such file or directory In file included from /usr/include/linux/interrupt.h:11, from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/hardirq.h:55:2: #error PREEMPT_ACTIVE is too low! In file included from /usr/include/linux/rtc.h:14, from aireplay-ng.c:39: /usr/include/linux/interrupt.h:40: error: syntax error before "cpumask_t" /usr/include/linux/interrupt.h:46: error: syntax error before '}' token In file included from /usr/include/sys/types.h:220, from aireplay-ng.c:42: /usr/include/sys/select.h:38: error: conflicting types for 'sigset_t' /usr/include/asm/signal.h:27: error: previous declaration of 'sigset_t' was here In file included from /usr/include/signal.h:212, from /usr/include/sys/wait.h:31, from aireplay-ng.c:45: /usr/include/bits/siginfo.h:34: error: redefinition of `union sigval' /usr/include/bits/siginfo.h:65: error: syntax error before '.' token /usr/include/bits/siginfo.h:66: error: syntax error before '.' token /usr/include/bits/siginfo.h:72: error: syntax error before '.' token /usr/include/bits/siginfo.h:73: error: syntax error before '.' token /usr/include/bits/siginfo.h:75: error: syntax error before '}' token /usr/include/bits/siginfo.h:80: error: syntax error before '.' token /usr/include/bits/siginfo.h:81: error: syntax error before '.' token /usr/include/bits/siginfo.h:83: error: syntax error before '}' token /usr/include/bits/siginfo.h:88: error: syntax error before '.' token /usr/include/bits/siginfo.h:89: error: syntax error before '.' token /usr/include/bits/siginfo.h:90: error: syntax error before '.' token /usr/include/bits/siginfo.h:91: error: syntax error before '.' token /usr/include/bits/siginfo.h:92: error: syntax error before '.' token /usr/include/bits/siginfo.h:98: error: syntax error before '.' token /usr/include/bits/siginfo.h:99: error: conflicting types for '_sigfault' /usr/include/asm-generic/siginfo.h:85: error: previous declaration of '_sigfault' was here /usr/include/bits/siginfo.h:104: error: syntax error before '.' token /usr/include/bits/siginfo.h:105: error: syntax error before '.' token /usr/include/bits/siginfo.h:106: error: conflicting types for '_sigpoll' /usr/include/asm-generic/siginfo.h:91: error: previous declaration of '_sigpoll' was here /usr/include/bits/siginfo.h:107: error: syntax error before '}' token /usr/include/bits/siginfo.h:108: error: syntax error before '}' token /usr/include/bits/siginfo.h:133: error: syntax error before '-' token /usr/include/bits/siginfo.h:155: error: syntax error before '(' token /usr/include/bits/siginfo.h:176: error: syntax error before '(' token /usr/include/bits/siginfo.h:197: error: syntax error before '(' token /usr/include/bits/siginfo.h:206: error: syntax error before '(' token /usr/include/bits/siginfo.h:217: error: syntax error before '(' token /usr/include/bits/siginfo.h:226: error: syntax error before '(' token /usr/include/bits/siginfo.h:243: error: syntax error before '(' token /usr/include/bits/siginfo.h:274: error: redefinition of `struct sigevent' /usr/include/bits/siginfo.h:302: error: syntax error before numeric constant In file included from /usr/include/signal.h:246, from /usr/include/sys/wait.h:31, from aireplay-ng.c:45: /usr/include/bits/sigaction.h:26: error: redefinition of `struct sigaction' /usr/include/bits/sigaction.h:32: error: syntax error before '.' token /usr/include/bits/sigaction.h:34: error: syntax error before '.' token /usr/include/bits/sigaction.h:51: error: syntax error before '}' token In file included from /usr/include/sys/wait.h:31, from aireplay-ng.c:45: /usr/include/signal.h:280: error: syntax error before "siginfo_t" /usr/include/signal.h:288: error: syntax error before "siginfo_t" In file included from /usr/include/signal.h:348, from /usr/include/sys/wait.h:31, from aireplay-ng.c:45: /usr/include/bits/sigstack.h:36: error: syntax error before numeric constant /usr/include/bits/sigstack.h:55: error: 'stack_t' redeclared as different kind of symbol /usr/include/asm/signal.h:163: error: previous declaration of 'stack_t' was here In file included from /usr/include/sys/resource.h:25, from /usr/include/sys/wait.h:32, from aireplay-ng.c:45: /usr/include/bits/resource.h:36: error: syntax error before numeric constant /usr/include/bits/resource.h:63: error: syntax error before numeric constant /usr/include/bits/resource.h:69: error: syntax error before numeric constant /usr/include/bits/resource.h:136: error: redefinition of `struct rlimit' /usr/include/bits/resource.h:157: error: syntax error before numeric constant In file included from /usr/include/sys/resource.h:25, from /usr/include/sys/wait.h:32, from aireplay-ng.c:45: /usr/include/bits/resource.h:170: error: redefinition of `struct rusage' /usr/include/bits/resource.h:219: error: syntax error before numeric constant In file included from aireplay-ng.c:45: /usr/include/sys/wait.h:104: error: syntax error before numeric constant In file included from aireplay-ng.c:45: /usr/include/sys/wait.h:155: error: syntax error before "siginfo_t" In file included from aireplay-ng.c:46: /usr/include/sys/time.h:58: error: redefinition of `struct timezone' /usr/include/sys/time.h:96: error: syntax error before numeric constant /usr/include/sys/time.h:110: error: redefinition of `struct itimerval' In file included from aireplay-ng.c:57: /usr/include/time.h:163: error: redefinition of `struct itimerspec' /usr/include/linux/ktime.h:224: warning: unused parameter 'tv' /usr/include/linux/ktime.h:211: warning: unused parameter 'ts' /usr/include/linux/ktime.h:143: warning: unused parameter 'secs' /usr/include/linux/ktime.h:143: warning: unused parameter 'nsecs' /usr/include/linux/jiffies.h:377: warning: unused parameter 'x' /usr/include/asm-generic/siginfo.h:58: error: storage size of `_pad' isn't known make[1]: *** [aireplay-ng.o] Error 1 make[1]: Leaving directory `/home/maemo/source/aircrack-ng.svn/src' make: *** [all] Error 2