Hi yaffsers, How do i compile the yaffs utils ? I have tried building them against a 2.4.19 kernel and a 2.6.12 kernel but both end up in errors.Am using the cvs version of yaffs the 2.4.19 kernel [root@kongo utils]# make gcc -c -I/kernel/iad/linux-2.4.19/include -I.. -O2 -Wall -DCONFIG_YAFFS_UTIL -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline mkyaffs.c -o mkyaffs.o mkyaffs.c:73: error: variable `yaffs_oobinfo' has initializer but incomplete type mkyaffs.c:74: error: unknown field `useecc' specified in initializer mkyaffs.c:74: warning: excess elements in struct initializer mkyaffs.c:74: warning: (near initialization for `yaffs_oobinfo') mkyaffs.c:75: error: unknown field `eccpos' specified in initializer mkyaffs.c:75: error: extra brace group at end of initializer mkyaffs.c:75: error: (near initialization for `yaffs_oobinfo') mkyaffs.c:75: warning: excess elements in struct initializer mkyaffs.c:75: warning: (near initialization for `yaffs_oobinfo') mkyaffs.c:78: error: variable `yaffs_noeccinfo' has initializer but incomplete type mkyaffs.c:79: error: unknown field `useecc' specified in initializer mkyaffs.c:79: warning: excess elements in struct initializer mkyaffs.c:79: warning: (near initialization for `yaffs_noeccinfo') mkyaffs.c: In function `main': mkyaffs.c:99: error: storage size of `oobsel' isn't known mkyaffs.c:101: warning: implicit declaration of function `strcmp' mkyaffs.c:159: error: `MEMSETOOBSEL' undeclared (first use in this function) mkyaffs.c:159: error: (Each undeclared identifier is reported only once mkyaffs.c:159: error: for each function it appears in.) mkyaffs.c:99: warning: unused variable `oobsel' mkyaffs.c: At top level: mkyaffs.c:73: error: storage size of `yaffs_oobinfo' isn't known mkyaffs.c:78: error: storage size of `yaffs_noeccinfo' isn't known make: *** [mkyaffs.o] Error 1 with a 2.6.12 kernel i get [root@kongo utils]# make gcc -c -I/kernel/linux-2.6.12.1/include -I.. -O2 -Wall -DCONFIG_YAFFS_UTIL -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline mkyaffs.c -o mkyaffs.o In file included from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:13:2: #error This is a kernel header. Perhaps include mtd-user.h instead? In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:12: error: redefinition of `struct timespec' /kernel/linux-2.6.12.1/include/linux/time.h:18: error: redefinition of `struct timeval' In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:129:1: warning: "FD_SET" redefined In file included from /usr/include/sys/types.h:216, from /usr/include/bits/fcntl.h:26, from /usr/include/fcntl.h:33, from mkyaffs.c:25: /usr/include/sys/select.h:93:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:130:1: warning: "FD_CLR" redefined In file included from /usr/include/sys/types.h:216, from /usr/include/bits/fcntl.h:26, from /usr/include/fcntl.h:33, from mkyaffs.c:25: /usr/include/sys/select.h:94:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:131:1: warning: "FD_ISSET" redefined In file included from /usr/include/sys/types.h:216, from /usr/include/bits/fcntl.h:26, from /usr/include/fcntl.h:33, from mkyaffs.c:25: /usr/include/sys/select.h:95:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:132:1: warning: "FD_ZERO" redefined In file included from /usr/include/sys/types.h:216, from /usr/include/bits/fcntl.h:26, from /usr/include/fcntl.h:33, from mkyaffs.c:25: /usr/include/sys/select.h:96:1: warning: this is the location of the previous definition /kernel/linux-2.6.12.1/include/linux/time.h:142: error: redefinition of `struct itimerspec' In file included from /kernel/linux-2.6.12.1/include/linux/timex.h:58 , from /kernel/linux-2.6.12.1/include/linux/sched.h:11 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/time.h:178:1: warning: "TIMER_ABSTIME" redefined In file included from /usr/include/time.h:42, from mkyaffs.c:28: /usr/include/bits/time.h:55:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:12 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/jiffies.h:84: warning: type defaults to `int' in declaration of `u64' /kernel/linux-2.6.12.1/include/linux/jiffies.h:84: error: syntax error before "jiffies_64" /kernel/linux-2.6.12.1/include/linux/jiffies.h:88: error: syntax error before "get_jiffies_64" /kernel/linux-2.6.12.1/include/linux/jiffies.h:88: warning: type defaults to `int' in declaration of `get_jiffies_64' /kernel/linux-2.6.12.1/include/linux/jiffies.h:88: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `timespec_to_jiffies': /kernel/linux-2.6.12.1/include/linux/jiffies.h:320: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:320: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:320: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:320: error: (Each undeclared identifier is reported only once /kernel/linux-2.6.12.1/include/linux/jiffies.h:320: error: for each function it appears in.) /kernel/linux-2.6.12.1/include/linux/jiffies.h:321: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:321: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:324: error: syntax error before "sec" /kernel/linux-2.6.12.1/include/linux/jiffies.h:324: error: syntax error before "NSEC_PER_SEC" /kernel/linux-2.6.12.1/include/linux/jiffies.h:324: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:324: error: syntax error before ')' token /kernel/linux-2.6.12.1/include/linux/jiffies.h: At top level: /kernel/linux-2.6.12.1/include/linux/jiffies.h:331: warning: declaration of `jiffies' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/jiffies.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `jiffies_to_timespec': /kernel/linux-2.6.12.1/include/linux/jiffies.h:337: error: syntax error before "nsec" /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: error: syntax error before "result" /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: error: `result' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: warning: implicit declaration of function `__asmeq' /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:338: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `timeval_to_jiffies': /kernel/linux-2.6.12.1/include/linux/jiffies.h:359: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:359: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:359: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:360: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:360: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:363: error: syntax error before "sec" /kernel/linux-2.6.12.1/include/linux/jiffies.h:363: error: syntax error before "NSEC_PER_SEC" /kernel/linux-2.6.12.1/include/linux/jiffies.h:363: error: called object is not a function /kernel/linux-2.6.12.1/include/linux/jiffies.h:363: error: syntax error before ')' token /kernel/linux-2.6.12.1/include/linux/jiffies.h: At top level: /kernel/linux-2.6.12.1/include/linux/jiffies.h:369: warning: declaration of `jiffies' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/jiffies.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `jiffies_to_timeval': /kernel/linux-2.6.12.1/include/linux/jiffies.h:375: error: syntax error before "nsec" /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: error: syntax error before "result" /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: error: `result' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:376: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h:377: error: `NSEC_PER_USEC' undeclared (first use in this function) In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:12 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/jiffies.h:385:41: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h:385:42: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `jiffies_to_clock_t': /kernel/linux-2.6.12.1/include/linux/jiffies.h:388: error: syntax error before "tmp" /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: `USER_HZ' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: `tmp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h:396:18: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `clock_t_to_jiffies': /kernel/linux-2.6.12.1/include/linux/jiffies.h:401: error: syntax error before "jif" /kernel/linux-2.6.12.1/include/linux/jiffies.h:404: error: `USER_HZ' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:408: error: `jif' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:408: error: syntax error before numeric constant /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h: At top level: /kernel/linux-2.6.12.1/include/linux/jiffies.h:414: error: syntax error before "jiffies_64_to_clock_t" /kernel/linux-2.6.12.1/include/linux/jiffies.h:414: error: syntax error before "x" /kernel/linux-2.6.12.1/include/linux/jiffies.h:415: warning: return type defaults to `int' /kernel/linux-2.6.12.1/include/linux/jiffies.h:415: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/jiffies.h:416:41: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h:416:42: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `jiffies_64_to_clock_t': /kernel/linux-2.6.12.1/include/linux/jiffies.h:424: error: `x' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: `USER_HZ' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: invalid register name `r4' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: invalid register name `r0' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: invalid register name `r2' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:425: error: invalid register name `r1' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h: At top level: /kernel/linux-2.6.12.1/include/linux/jiffies.h:430: error: syntax error before "nsec_to_clock_t" /kernel/linux-2.6.12.1/include/linux/jiffies.h:430: error: syntax error before "x" /kernel/linux-2.6.12.1/include/linux/jiffies.h:431: warning: return type defaults to `int' /kernel/linux-2.6.12.1/include/linux/jiffies.h:431: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/jiffies.h:432:28: division by zero in #if /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `nsec_to_clock_t': /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: `NSEC_PER_SEC' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: `USER_HZ' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: `x' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: syntax error before "__asmeq" /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: warning: unused variable `__base' /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: warning: unused variable `__n' /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: invalid register name `r4' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: invalid register name `r0' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: invalid register name `r2' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:433: error: invalid register name `r1' for register variable In file included from /kernel/linux-2.6.12.1/include/linux/thread_info.h:20 , from /kernel/linux-2.6.12.1/include/linux/sched.h:14 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/bitops.h: In function `get_bitmask_order': /kernel/linux-2.6.12.1/include/linux/bitops.h:83: warning: implicit declaration of function `fls' In file included from /kernel/linux-2.6.12.1/include/linux/cpumask.h:82 , from /kernel/linux-2.6.12.1/include/linux/sched.h:15 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_zero': /kernel/linux-2.6.12.1/include/linux/bitmap.h:119: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h:122: warning: implicit declaration of function `BITS_TO_LONGS' /kernel/linux-2.6.12.1/include/linux/bitmap.h:123: warning: implicit declaration of function `memset' /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_fill': /kernel/linux-2.6.12.1/include/linux/bitmap.h:134: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_copy': /kernel/linux-2.6.12.1/include/linux/bitmap.h:140: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h:144: warning: implicit declaration of function `memcpy' /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_and': /kernel/linux-2.6.12.1/include/linux/bitmap.h:151: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_or': /kernel/linux-2.6.12.1/include/linux/bitmap.h:160: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_xor': /kernel/linux-2.6.12.1/include/linux/bitmap.h:169: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_andnot': /kernel/linux-2.6.12.1/include/linux/bitmap.h:178: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_complement': /kernel/linux-2.6.12.1/include/linux/bitmap.h:187: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_equal': /kernel/linux-2.6.12.1/include/linux/bitmap.h:196: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_intersects': /kernel/linux-2.6.12.1/include/linux/bitmap.h:205: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_subset': /kernel/linux-2.6.12.1/include/linux/bitmap.h:214: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_empty': /kernel/linux-2.6.12.1/include/linux/bitmap.h:222: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_full': /kernel/linux-2.6.12.1/include/linux/bitmap.h:230: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_shift_right': /kernel/linux-2.6.12.1/include/linux/bitmap.h:244: error: `BITS_PER_LONG' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/bitmap.h: In function `bitmap_shift_left': /kernel/linux-2.6.12.1/include/linux/bitmap.h:253: error: `BITS_PER_LONG' undeclared (first use in this function) In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:15 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: error: syntax error before "DECLARE_BITMAP" /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/cpumask.h:86: error: syntax error before "_unused_cpumask_arg_" /kernel/linux-2.6.12.1/include/linux/cpumask.h:86: warning: type defaults to `int' in declaration of `_unused_cpumask_arg_' /kernel/linux-2.6.12.1/include/linux/cpumask.h:86: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/cpumask.h:89: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:89: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:89: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:90: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpu_set': /kernel/linux-2.6.12.1/include/linux/cpumask.h:91: warning: implicit declaration of function `set_bit' /kernel/linux-2.6.12.1/include/linux/cpumask.h:91: error: `cpu' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:91: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:95: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:95: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:95: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:96: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpu_clear': /kernel/linux-2.6.12.1/include/linux/cpumask.h:97: warning: implicit declaration of function `clear_bit' /kernel/linux-2.6.12.1/include/linux/cpumask.h:97: error: `cpu' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:97: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:101: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:102: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_setall': /kernel/linux-2.6.12.1/include/linux/cpumask.h:103: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:103: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:107: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:108: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_clear': /kernel/linux-2.6.12.1/include/linux/cpumask.h:109: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:109: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:116: error: syntax error before "cpumask_t" /kernel/linux-2.6.12.1/include/linux/cpumask.h:117: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpu_test_and_set': /kernel/linux-2.6.12.1/include/linux/cpumask.h:118: warning: implicit declaration of function `test_and_set_bit' /kernel/linux-2.6.12.1/include/linux/cpumask.h:118: error: `cpu' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:118: error: `addr' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:122: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:124: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_and': /kernel/linux-2.6.12.1/include/linux/cpumask.h:125: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:125: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:125: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:125: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:129: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:131: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_or': /kernel/linux-2.6.12.1/include/linux/cpumask.h:132: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:132: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:132: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:132: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:136: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:138: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_xor': /kernel/linux-2.6.12.1/include/linux/cpumask.h:139: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:139: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:139: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:139: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:144: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:146: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_andnot': /kernel/linux-2.6.12.1/include/linux/cpumask.h:147: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:147: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:147: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:147: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:151: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:153: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_complement': /kernel/linux-2.6.12.1/include/linux/cpumask.h:154: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:154: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:154: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:158: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:158: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:158: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:160: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_equal': /kernel/linux-2.6.12.1/include/linux/cpumask.h:161: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:161: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:161: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:165: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:165: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:165: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:167: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_intersects': /kernel/linux-2.6.12.1/include/linux/cpumask.h:168: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:168: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:168: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:172: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:172: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:172: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:174: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_subset': /kernel/linux-2.6.12.1/include/linux/cpumask.h:175: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:175: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:175: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:179: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:179: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:179: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:180: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_empty': /kernel/linux-2.6.12.1/include/linux/cpumask.h:181: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:181: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:185: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:185: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:185: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:186: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_full': /kernel/linux-2.6.12.1/include/linux/cpumask.h:187: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:187: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:191: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:191: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:191: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:192: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_weight': /kernel/linux-2.6.12.1/include/linux/cpumask.h:193: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:193: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:198: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:200: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_shift_right': /kernel/linux-2.6.12.1/include/linux/cpumask.h:201: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:201: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:201: error: `n' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:201: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:206: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:208: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpus_shift_left': /kernel/linux-2.6.12.1/include/linux/cpumask.h:209: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:209: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:209: error: `n' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:209: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:213: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:213: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:213: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:214: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__first_cpu': /kernel/linux-2.6.12.1/include/linux/cpumask.h:215: warning: implicit declaration of function `min_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:215: error: syntax error before "int" /kernel/linux-2.6.12.1/include/linux/cpumask.h:216: warning: no return statement in function returning non-void /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:219: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:219: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:219: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:220: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__next_cpu': /kernel/linux-2.6.12.1/include/linux/cpumask.h:221: error: syntax error before "int" /kernel/linux-2.6.12.1/include/linux/cpumask.h:222: warning: no return statement in function returning non-void /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:270: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:270: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:270: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:271: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpumask_scnprintf': /kernel/linux-2.6.12.1/include/linux/cpumask.h:272: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:272: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:272: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:272: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:278: error: syntax error before "cpumask_t" /kernel/linux-2.6.12.1/include/linux/cpumask.h:279: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpumask_parse': /kernel/linux-2.6.12.1/include/linux/cpumask.h:280: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:280: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:280: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:280: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:286: warning: type defaults to `int' in declaration of `cpumask_t' /kernel/linux-2.6.12.1/include/linux/cpumask.h:286: warning: declaration of `cpumask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/cpumask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/cpumask.h:286: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/cpumask.h:287: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpulist_scnprintf': /kernel/linux-2.6.12.1/include/linux/cpumask.h:288: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:288: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:288: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:288: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:292: error: syntax error before "cpumask_t" /kernel/linux-2.6.12.1/include/linux/cpumask.h:293: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/cpumask.h: In function `__cpulist_parse': /kernel/linux-2.6.12.1/include/linux/cpumask.h:294: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:294: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h:294: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/cpumask.h: At top level: /kernel/linux-2.6.12.1/include/linux/cpumask.h:362: error: syntax error before "cpu_possible_map" /kernel/linux-2.6.12.1/include/linux/cpumask.h:362: warning: type defaults to `int' in declaration of `cpu_possible_map' /kernel/linux-2.6.12.1/include/linux/cpumask.h:362: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/cpumask.h:363: error: syntax error before "cpu_online_map" /kernel/linux-2.6.12.1/include/linux/cpumask.h:363: warning: type defaults to `int' in declaration of `cpu_online_map' /kernel/linux-2.6.12.1/include/linux/cpumask.h:363: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/cpumask.h:364: error: syntax error before "cpu_present_map" /kernel/linux-2.6.12.1/include/linux/cpumask.h:364: warning: type defaults to `int' in declaration of `cpu_present_map' /kernel/linux-2.6.12.1/include/linux/cpumask.h:364: warning: data definition has no type or storage class In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:17 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: error: syntax error before "DECLARE_BITMAP" /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/nodemask.h:86: error: syntax error before "_unused_nodemask_arg_" /kernel/linux-2.6.12.1/include/linux/nodemask.h:86: warning: type defaults to `int' in declaration of `_unused_nodemask_arg_' /kernel/linux-2.6.12.1/include/linux/nodemask.h:86: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/nodemask.h:89: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:89: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:89: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:90: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__node_set': /kernel/linux-2.6.12.1/include/linux/nodemask.h:91: error: `node' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:91: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:95: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:95: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:95: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:96: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__node_clear': /kernel/linux-2.6.12.1/include/linux/nodemask.h:97: error: `node' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:97: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:101: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:102: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_setall': /kernel/linux-2.6.12.1/include/linux/nodemask.h:103: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:103: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:107: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:108: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_clear': /kernel/linux-2.6.12.1/include/linux/nodemask.h:109: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:109: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:117: error: syntax error before "nodemask_t" /kernel/linux-2.6.12.1/include/linux/nodemask.h:118: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__node_test_and_set': /kernel/linux-2.6.12.1/include/linux/nodemask.h:119: error: `node' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:119: error: `addr' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:124: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:126: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_and': /kernel/linux-2.6.12.1/include/linux/nodemask.h:127: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:127: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:127: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:127: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:132: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:134: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_or': /kernel/linux-2.6.12.1/include/linux/nodemask.h:135: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:135: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:135: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:135: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:140: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:142: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_xor': /kernel/linux-2.6.12.1/include/linux/nodemask.h:143: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:143: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:143: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:143: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:148: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:150: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_andnot': /kernel/linux-2.6.12.1/include/linux/nodemask.h:151: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:151: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:151: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:151: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:156: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:158: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_complement': /kernel/linux-2.6.12.1/include/linux/nodemask.h:159: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:159: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:159: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:164: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:164: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:164: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:166: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_equal': /kernel/linux-2.6.12.1/include/linux/nodemask.h:167: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:167: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:167: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:172: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:172: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:172: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:174: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_intersects': /kernel/linux-2.6.12.1/include/linux/nodemask.h:175: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:175: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:175: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:180: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:180: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:180: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:182: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_subset': /kernel/linux-2.6.12.1/include/linux/nodemask.h:183: error: `src1p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:183: error: `src2p' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:183: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:187: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:187: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:187: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:188: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_empty': /kernel/linux-2.6.12.1/include/linux/nodemask.h:189: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:189: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:193: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:193: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:193: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:194: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_full': /kernel/linux-2.6.12.1/include/linux/nodemask.h:195: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:195: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:199: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:199: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:199: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:200: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_weight': /kernel/linux-2.6.12.1/include/linux/nodemask.h:201: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:201: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:206: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:208: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_shift_right': /kernel/linux-2.6.12.1/include/linux/nodemask.h:209: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:209: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:209: error: `n' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:209: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:214: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:216: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodes_shift_left': /kernel/linux-2.6.12.1/include/linux/nodemask.h:217: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:217: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:217: error: `n' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:217: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:224: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:224: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:224: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:225: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__first_node': /kernel/linux-2.6.12.1/include/linux/nodemask.h:226: error: syntax error before "int" /kernel/linux-2.6.12.1/include/linux/nodemask.h:227: warning: no return statement in function returning non-void /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:230: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:230: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:230: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:231: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__next_node': /kernel/linux-2.6.12.1/include/linux/nodemask.h:232: error: syntax error before "int" /kernel/linux-2.6.12.1/include/linux/nodemask.h:233: warning: no return statement in function returning non-void /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:248: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:248: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:248: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:249: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__first_unset_node': /kernel/linux-2.6.12.1/include/linux/nodemask.h:250: error: syntax error before "int" /kernel/linux-2.6.12.1/include/linux/nodemask.h:252: warning: no return statement in function returning non-void /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:283: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:283: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:283: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:284: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodemask_scnprintf': /kernel/linux-2.6.12.1/include/linux/nodemask.h:285: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:285: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:285: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:285: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:291: error: syntax error before "nodemask_t" /kernel/linux-2.6.12.1/include/linux/nodemask.h:292: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodemask_parse': /kernel/linux-2.6.12.1/include/linux/nodemask.h:293: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:293: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:293: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:293: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:299: warning: type defaults to `int' in declaration of `nodemask_t' /kernel/linux-2.6.12.1/include/linux/nodemask.h:299: warning: declaration of `nodemask_t' shadows a global declaration /kernel/linux-2.6.12.1/include/linux/nodemask.h:85: warning: shadowed declaration is here /kernel/linux-2.6.12.1/include/linux/nodemask.h:299: error: syntax error before '*' token /kernel/linux-2.6.12.1/include/linux/nodemask.h:300: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodelist_scnprintf': /kernel/linux-2.6.12.1/include/linux/nodemask.h:301: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:301: error: `len' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:301: error: `srcp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:301: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:305: error: syntax error before "nodemask_t" /kernel/linux-2.6.12.1/include/linux/nodemask.h:306: warning: function declaration isn't a prototype /kernel/linux-2.6.12.1/include/linux/nodemask.h: In function `__nodelist_parse': /kernel/linux-2.6.12.1/include/linux/nodemask.h:307: error: `buf' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:307: error: `dstp' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h:307: error: `nbits' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/nodemask.h: At top level: /kernel/linux-2.6.12.1/include/linux/nodemask.h:326: error: syntax error before "node_online_map" /kernel/linux-2.6.12.1/include/linux/nodemask.h:326: warning: type defaults to `int' in declaration of `node_online_map' /kernel/linux-2.6.12.1/include/linux/nodemask.h:326: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/linux/nodemask.h:327: error: syntax error before "node_possible_map" /kernel/linux-2.6.12.1/include/linux/nodemask.h:327: warning: type defaults to `int' in declaration of `node_possible_map' /kernel/linux-2.6.12.1/include/linux/nodemask.h:327: warning: data definition has no type or storage class In file included from /kernel/linux-2.6.12.1/include/asm/semaphore.h:9 , from /kernel/linux-2.6.12.1/include/linux/sched.h:20 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/wait.h:4:1: warning: "WNOHANG" redefined In file included from /usr/include/stdlib.h:42, from mkyaffs.c:27: /usr/include/bits/waitflags.h:26:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/asm/semaphore.h:9 , from /kernel/linux-2.6.12.1/include/linux/sched.h:20 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/wait.h:5:1: warning: "WUNTRACED" redefined In file included from /usr/include/stdlib.h:42, from mkyaffs.c:27: /usr/include/bits/waitflags.h:27:1: warning: this is the location of the previous definition In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:20 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/asm/semaphore.h:18: error: syntax error before "wait_queue_head_t" /kernel/linux-2.6.12.1/include/asm/semaphore.h:18: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `sema_init': /kernel/linux-2.6.12.1/include/asm/semaphore.h:37: warning: implicit declaration of function `atomic_set' /kernel/linux-2.6.12.1/include/asm/semaphore.h:37: error: dereferencing pointer to incomplete type /kernel/linux-2.6.12.1/include/asm/semaphore.h:38: error: dereferencing pointer to incomplete type /kernel/linux-2.6.12.1/include/asm/semaphore.h:39: warning: implicit declaration of function `init_waitqueue_head' /kernel/linux-2.6.12.1/include/asm/semaphore.h:39: error: dereferencing pointer to incomplete type /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `sema_count': /kernel/linux-2.6.12.1/include/asm/semaphore.h:54: warning: implicit declaration of function `atomic_read' /kernel/linux-2.6.12.1/include/asm/semaphore.h:54: error: dereferencing pointer to incomplete type /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `down': /kernel/linux-2.6.12.1/include/asm/semaphore.h:76: warning: implicit declaration of function `might_sleep' In file included from /kernel/linux-2.6.12.1/include/asm/cputime.h:4 , from /kernel/linux-2.6.12.1/include/linux/sched.h:24 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/asm-generic/cputime.h: At top level: /kernel/linux-2.6.12.1/include/asm-generic/cputime.h:23: error: syntax error before "cputime64_t" /kernel/linux-2.6.12.1/include/asm-generic/cputime.h:23: warning: type defaults to `int' in declaration of `cputime64_t' /kernel/linux-2.6.12.1/include/asm-generic/cputime.h:23: warning: data definition has no type or storage class In file included from /kernel/linux-2.6.12.1/include/linux/signal.h:4 , from /kernel/linux-2.6.12.1/include/linux/sched.h:28 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/list.h:705:2: warning: #warning "don't include kernel headers in userspace" In file included from /kernel/linux-2.6.12.1/include/linux/signal.h:6 , from /kernel/linux-2.6.12.1/include/linux/sched.h:28 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/asm/signal.h:27: error: conflicting types for `sigset_t' /usr/include/sys/select.h:38: error: previous declaration of `sigset_t' /kernel/linux-2.6.12.1/include/asm/signal.h:27: warning: redundant redeclaration of `sigset_t' in same scope /usr/include/sys/select.h:38: warning: previous declaration of `sigset_t' In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:30 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/fs_struct.h:21: warning: `struct task_struct' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/fs_struct.h:21: warning: its scope is only this definition or declaration, which is probably not what you want In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:32 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/completion.h:15: error: syntax error before "wait_queue_head_t" /kernel/linux-2.6.12.1/include/linux/completion.h:15: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/linux/completion.h: In function `init_completion': /kernel/linux-2.6.12.1/include/linux/completion.h:26: error: dereferencing pointer to incomplete type /kernel/linux-2.6.12.1/include/linux/completion.h:27: error: dereferencing pointer to incomplete type In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:33 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/pid.h: At top level: /kernel/linux-2.6.12.1/include/linux/pid.h:17: error: field `pid_chain' has incomplete type /kernel/linux-2.6.12.1/include/linux/pid.h:19: error: field `pid_list' has incomplete type /kernel/linux-2.6.12.1/include/linux/pid.h:29: warning: `struct task_struct' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/pid.h:31: warning: `struct task_struct' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/pid.h:41: warning: `struct task_struct' declared inside parameter list In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:34 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/percpu.h: In function `__alloc_percpu': /kernel/linux-2.6.12.1/include/linux/percpu.h:45: warning: implicit declaration of function `kmalloc' /kernel/linux-2.6.12.1/include/linux/percpu.h:45: error: `GFP_KERNEL' undeclared (first use in this function) /kernel/linux-2.6.12.1/include/linux/percpu.h:45: warning: initialization makes pointer from integer without a cast /kernel/linux-2.6.12.1/include/linux/percpu.h: In function `free_percpu': /kernel/linux-2.6.12.1/include/linux/percpu.h:52: warning: implicit declaration of function `kfree' In file included from /kernel/linux-2.6.12.1/include/linux/sched.h:104 , from /kernel/linux-2.6.12.1/include/linux/module.h:10 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/timer.h: At top level: /kernel/linux-2.6.12.1/include/linux/timer.h:12: error: field `entry' has incomplete type In file included from /kernel/linux-2.6.12.1/include/asm-generic/local.h:6 , from /kernel/linux-2.6.12.1/include/asm/local.h:1 , from /kernel/linux-2.6.12.1/include/linux/module.h:21 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/hardirq.h:54:2: #error PREEMPT_ACTIVE is too low! In file included from /kernel/linux-2.6.12.1/include/asm-generic/local.h:6 , from /kernel/linux-2.6.12.1/include/asm/local.h:1 , from /kernel/linux-2.6.12.1/include/linux/module.h:21 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/hardirq.h:93: warning: `struct task_struct' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/hardirq.h:97: warning: `struct task_struct' declared inside parameter list In file included from /kernel/linux-2.6.12.1/include/asm/local.h:1 , from /kernel/linux-2.6.12.1/include/linux/module.h:21 , from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/asm-generic/local.h: In function `local_inc': /kernel/linux-2.6.12.1/include/asm-generic/local.h:65: warning: implicit declaration of function `current_thread_info' /kernel/linux-2.6.12.1/include/asm-generic/local.h:65: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h:65: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h: In function `local_dec': /kernel/linux-2.6.12.1/include/asm-generic/local.h:72: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h:72: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h: In function `local_add': /kernel/linux-2.6.12.1/include/asm-generic/local.h:79: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h:79: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h: In function `local_sub': /kernel/linux-2.6.12.1/include/asm-generic/local.h:86: error: invalid type argument of `->' /kernel/linux-2.6.12.1/include/asm-generic/local.h:86: error: invalid type argument of `->' In file included from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:19 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/module.h: At top level: /kernel/linux-2.6.12.1/include/linux/module.h:50: error: field `attr' has incomplete type /kernel/linux-2.6.12.1/include/linux/module.h:58: error: field `kobj' has incomplete type /kernel/linux-2.6.12.1/include/linux/module.h:223: error: field `grp' has incomplete type /kernel/linux-2.6.12.1/include/linux/module.h:234: error: field `list' has incomplete type In file included from /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:23 , from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:16: error: syntax error before "uint32_t" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:16: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:17: warning: type defaults to `int' in declaration of `length' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:17: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:21: error: syntax error before "uint32_t" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:21: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:22: warning: type defaults to `int' in declaration of `length' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:22: warning: redundant redeclaration of `length' in same scope /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:17: warning: previous declaration of `length' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:22: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:24: error: syntax error before '}' token /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:65: error: syntax error before "uint8_t" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:65: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:66: warning: type defaults to `int' in declaration of `flags' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:66: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:67: error: syntax error before "size" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:67: warning: type defaults to `int' in declaration of `size' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:67: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:68: error: syntax error before "erasesize" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:68: warning: type defaults to `int' in declaration of `erasesize' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:68: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:69: error: syntax error before "oobblock" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:69: warning: type defaults to `int' in declaration of `oobblock' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:69: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:70: error: syntax error before "oobsize" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:70: warning: type defaults to `int' in declaration of `oobsize' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:70: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:71: error: syntax error before "ecctype" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:71: warning: type defaults to `int' in declaration of `ecctype' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:71: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:72: error: syntax error before "eccsize" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:72: warning: type defaults to `int' in declaration of `eccsize' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:72: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:76: error: syntax error before "uint32_t" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:76: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:78: warning: type defaults to `int' in declaration of `erasesize' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:78: warning: redundant redeclaration of `erasesize' in same scope /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:68: warning: previous declaration of `erasesize' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:78: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:79: error: syntax error before "numblocks" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:79: warning: type defaults to `int' in declaration of `numblocks' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:79: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:80: error: syntax error before "regionindex" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:80: warning: type defaults to `int' in declaration of `regionindex' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:80: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:97: error: syntax error before "uint32_t" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:97: warning: no semicolon at end of struct or union /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:98: warning: type defaults to `int' in declaration of `eccbytes' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:98: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:99: error: syntax error before "oobfree" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:99: warning: type defaults to `int' in declaration of `oobfree' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:99: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:100: error: syntax error before "eccpos" /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:100: warning: type defaults to `int' in declaration of `eccpos' /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:100: warning: data definition has no type or storage class /kernel/linux-2.6.12.1/include/mtd/mtd-abi.h:101: error: syntax error before '}' token In file included from mkyaffs.c:35: /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:82: error: field `oobinfo' has incomplete type /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:128: warning: `struct kvec' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:130: warning: `struct kvec' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:131: warning: `struct kvec' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:133: warning: `struct kvec' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:170: error: field `list' has incomplete type /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:178: warning: `struct kvec' declared inside parameter list /kernel/linux-2.6.12.1/include/linux/mtd/mtd.h:181: warning: `struct kvec' declared inside parameter list mkyaffs.c:73: error: variable `yaffs_oobinfo' has initializer but incomplete type mkyaffs.c:74: error: unknown field `useecc' specified in initializer mkyaffs.c:74: warning: excess elements in struct initializer mkyaffs.c:74: warning: (near initialization for `yaffs_oobinfo') mkyaffs.c:75: error: unknown field `eccpos' specified in initializer mkyaffs.c:75: error: extra brace group at end of initializer mkyaffs.c:75: error: (near initialization for `yaffs_oobinfo') mkyaffs.c:75: warning: excess elements in struct initializer mkyaffs.c:75: warning: (near initialization for `yaffs_oobinfo') mkyaffs.c:78: error: variable `yaffs_noeccinfo' has initializer but incomplete type mkyaffs.c:79: error: unknown field `useecc' specified in initializer mkyaffs.c:79: warning: excess elements in struct initializer mkyaffs.c:79: warning: (near initialization for `yaffs_noeccinfo') mkyaffs.c: In function `main': mkyaffs.c:96: error: variable `oob' has initializer but incomplete type mkyaffs.c:96: warning: excess elements in struct initializer mkyaffs.c:96: warning: (near initialization for `oob') mkyaffs.c:96: warning: excess elements in struct initializer mkyaffs.c:96: warning: (near initialization for `oob') mkyaffs.c:96: warning: excess elements in struct initializer mkyaffs.c:96: warning: (near initialization for `oob') mkyaffs.c:96: error: storage size of `oob' isn't known mkyaffs.c:97: error: `mtd_info_t' undeclared (first use in this function) mkyaffs.c:97: error: syntax error before "meminfo" mkyaffs.c:98: error: `erase_info_t' undeclared (first use in this function) mkyaffs.c:99: error: storage size of `oobsel' isn't known mkyaffs.c:101: warning: implicit declaration of function `strcmp' mkyaffs.c:151: error: invalid application of `sizeof' to an incomplete type mkyaffs.c:151: error: `meminfo' undeclared (first use in this function) mkyaffs.c:159: error: invalid application of `sizeof' to an incomplete type mkyaffs.c:190: error: invalid application of `sizeof' to an incomplete type mkyaffs.c:204: error: `erase' undeclared (first use in this function) mkyaffs.c:207: error: invalid application of `sizeof' to an incomplete type mkyaffs.c:231: error: invalid application of `sizeof' to an incomplete type mkyaffs.c:96: warning: unused variable `oob' mkyaffs.c:99: warning: unused variable `oobsel' /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `jiffies_to_clock_t': /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: invalid register name `r4' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: invalid register name `r0' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: invalid register name `r2' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:389: error: invalid register name `r1' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h: In function `clock_t_to_jiffies': /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: error: invalid register name `r4' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: error: invalid register name `r0' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: error: invalid register name `r2' for register variable /kernel/linux-2.6.12.1/include/linux/jiffies.h:409: error: invalid register name `r1' for register variable /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `down': /kernel/linux-2.6.12.1/include/asm/semaphore.h:77: error: unknown register name `lr' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h:77: error: unknown register name `ip' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `down_interruptible': /kernel/linux-2.6.12.1/include/asm/semaphore.h:87: error: unknown register name `lr' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h:87: error: unknown register name `ip' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `down_trylock': /kernel/linux-2.6.12.1/include/asm/semaphore.h:92: error: unknown register name `lr' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h:92: error: unknown register name `ip' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h: In function `up': /kernel/linux-2.6.12.1/include/asm/semaphore.h:103: error: unknown register name `lr' in `asm' /kernel/linux-2.6.12.1/include/asm/semaphore.h:103: error: unknown register name `ip' in `asm' mkyaffs.c: At top level: mkyaffs.c:73: error: storage size of `yaffs_oobinfo' isn't known mkyaffs.c:78: error: storage size of `yaffs_noeccinfo' isn't known make: *** [mkyaffs.o] Error 1 [root@kongo utils]# What is the right kernel version to build the utils against ? thanks yonathana