keo[fatx]$ make cc -D__KERNEL__ -Iinclude -I/usr/src/linux/include -c -o namei.o namei.c namei.c:12:27: linux/fatx_fs.h: No such file or directory namei.c: In function `fatx_format_name': namei.c:31: error: `FATX_MAX_NAME_LENGTH' undeclared (first use in this function) namei.c:31: error: (Each undeclared identifier is reported only once namei.c:31: error: for each function it appears in.) namei.c: At top level: namei.c:53: warning: "struct fatx_dir_entry" declared inside parameter list namei.c:53: warning: its scope is only this definition or declaration, which is probably not what you want namei.c: In function `fatx_find': namei.c:58: error: `fatx_debug' undeclared (first use in this function) namei.c: In function `fatx_lookup': namei.c:77: error: `fatx_debug' undeclared (first use in this function) namei.c:80: warning: passing arg 5 of `fatx_find' from incompatible pointer typenamei.c:86: warning: assignment makes pointer from integer without a cast namei.c: At top level: namei.c:108: warning: "struct fatx_dir_entry" declared inside parameter list namei.c: In function `fatx_add_entry': namei.c:116: error: `FATX_MAX_NAME_LENGTH' undeclared (first use in this function) namei.c:116: error: dereferencing pointer to incomplete type namei.c:116: error: dereferencing pointer to incomplete type namei.c:116: error: dereferencing pointer to incomplete type namei.c:116: error: dereferencing pointer to incomplete type namei.c:117: error: dereferencing pointer to incomplete type namei.c:117: error: dereferencing pointer to incomplete type namei.c:118: error: dereferencing pointer to incomplete type namei.c:119: error: dereferencing pointer to incomplete type namei.c:119: error: `ATTR_DIR' undeclared (first use in this function) namei.c:119: error: `ATTR_ARCH' undeclared (first use in this function) namei.c:120: error: dereferencing pointer to incomplete type namei.c:121: error: dereferencing pointer to incomplete type namei.c:121: error: dereferencing pointer to incomplete type namei.c:122: error: dereferencing pointer to incomplete type namei.c: In function `fatx_create': namei.c:139: error: `FATX_MAX_NAME_LENGTH' undeclared (first use in this function) namei.c:150: warning: passing arg 5 of `fatx_add_entry' from incompatible pointer type namei.c:153: warning: assignment makes pointer from integer without a cast namei.c: In function `fatx_rmdir': namei.c:176: warning: passing arg 5 of `fatx_find' from incompatible pointer type namei.c:187: error: dereferencing pointer to incomplete type namei.c:187: error: `DELETED_FLAG' undeclared (first use in this function) namei.c: In function `fatx_mkdir': namei.c:215: error: `FATX_MAX_NAME_LENGTH' undeclared (first use in this function) namei.c:223: warning: passing arg 5 of `fatx_add_entry' from incompatible pointer type namei.c:226: warning: assignment makes pointer from integer without a cast namei.c:254: error: dereferencing pointer to incomplete type namei.c:254: error: `DELETED_FLAG' undeclared (first use in this function) namei.c: In function `fatx_unlink': namei.c:280: warning: passing arg 5 of `fatx_find' from incompatible pointer type namei.c:284: error: dereferencing pointer to incomplete type namei.c:284: error: `DELETED_FLAG' undeclared (first use in this function) namei.c: At top level: namei.c:300: warning: "struct fatx_dir_entry" declared inside parameter list namei.c: In function `do_fatx_rename': namei.c:311: error: `fatx_debug' undeclared (first use in this function) namei.c:333: error: dereferencing pointer to incomplete type namei.c:333: error: `DELETED_FLAG' undeclared (first use in this function) namei.c:337: error: invalid type argument of `->' namei.c:337: error: `ATTR_HIDDEN' undeclared (first use in this function) namei.c:348: error: dereferencing pointer to incomplete type namei.c:348: error: invalid type argument of `->' namei.c:372: error: invalid type argument of `->' namei.c: In function `fatx_rename': namei.c:404: warning: passing arg 6 of `do_fatx_rename' from incompatible pointer type make: *** [namei.o] Error 1 keo[fatx]$