Hello, I am running a slackware 9.1-2.4.22 server. I installed my
slackware as a full and was able to use samba to share on my network
without any errors, or problems. I decided that I would like to
implement the recycle bin function of samba, and found that in my
/usr/doc/samba-2.2.8/examples/VFS/ folder the required information for
creating the recycling module was included. I RTFMED and used the
command ./configure, this generated successful output, then I used the
command "make". this was not as successful. It outputted this
information

root@garnessengineering:/usr/doc/samba-2.2.8a/examples/VFS# make
Compiling audit.c
rm -f .libs/audit.lo
gcc -Wall -I../../source -I../../source/include -I../../source/ubiqx
-I../../source/smbwrapper -c audit.c -fPIC -DPIC -o .libs/audit.lo
audit.c:22:20: config.h: No such file or directory
audit.c:37:22: includes.h: No such file or directory
audit.c:38:17: vfs.h: No such file or directory
audit.c:50: warning: `struct connection_struct' declared inside
parameter list
audit.c:50: warning: its scope is only this definition or declaration,
which is probably not what you want
audit.c:51: warning: `struct connection_struct' declared inside
parameter list
audit.c:52: syntax error before '*' token
audit.c:52: warning: `struct connection_struct' declared inside
parameter list
audit.c:52: warning: type defaults to `int' in declaration of
`audit_opendir'
audit.c:52: warning: data definition has no type or storage class
audit.c:53: syntax error before "mode_t"
audit.c:53: warning: `struct connection_struct' declared inside
parameter list
audit.c:54: warning: `struct connection_struct' declared inside
parameter list
audit.c:55: syntax error before "mode_t"
audit.c:55: warning: `struct connection_struct' declared inside
parameter list
audit.c:56: warning: `struct files_struct' declared inside parameter
list
audit.c:57: warning: `struct connection_struct' declared inside
parameter list
audit.c:58: warning: `struct connection_struct' declared inside
parameter list
audit.c:59: syntax error before "mode_t"
audit.c:59: warning: `struct connection_struct' declared inside
parameter list
audit.c:60: syntax error before "mode_t"
audit.c:60: warning: `struct connection_struct' declared inside
parameter list
audit.c:61: syntax error before "mode_t"
audit.c:61: warning: `struct files_struct' declared inside parameter
list
audit.c:62: syntax error before "mode_t"
audit.c:62: warning: `struct files_struct' declared inside parameter
list
audit.c:68: variable `audit_ops' has initializer but incomplete type
audit.c:72: warning: excess elements in struct initializer
audit.c:72: warning: (near initialization for `audit_ops')
audit.c:73: warning: excess elements in struct initializer
audit.c:73: warning: (near initialization for `audit_ops')
audit.c:74: warning: excess elements in struct initializer
audit.c:74: warning: (near initialization for `audit_ops')
audit.c:78: warning: excess elements in struct initializer
audit.c:78: warning: (near initialization for `audit_ops')
audit.c:79: warning: excess elements in struct initializer
audit.c:79: warning: (near initialization for `audit_ops')
audit.c:80: warning: excess elements in struct initializer
audit.c:80: warning: (near initialization for `audit_ops')
audit.c:81: warning: excess elements in struct initializer
audit.c:81: warning: (near initialization for `audit_ops')
audit.c:82: warning: excess elements in struct initializer
audit.c:82: warning: (near initialization for `audit_ops')
audit.c:86: warning: excess elements in struct initializer
audit.c:86: warning: (near initialization for `audit_ops')
audit.c:87: warning: excess elements in struct initializer
audit.c:87: warning: (near initialization for `audit_ops')
audit.c:88: warning: excess elements in struct initializer
audit.c:88: warning: (near initialization for `audit_ops')
audit.c:89: warning: excess elements in struct initializer
audit.c:89: warning: (near initialization for `audit_ops')
audit.c:90: warning: excess elements in struct initializer
audit.c:90: warning: (near initialization for `audit_ops')
audit.c:91: warning: excess elements in struct initializer
audit.c:91: warning: (near initialization for `audit_ops')
audit.c:92: warning: excess elements in struct initializer
audit.c:92: warning: (near initialization for `audit_ops')
audit.c:93: warning: excess elements in struct initializer
audit.c:93: warning: (near initialization for `audit_ops')
audit.c:94: warning: excess elements in struct initializer
audit.c:94: warning: (near initialization for `audit_ops')
audit.c:95: warning: excess elements in struct initializer
audit.c:95: warning: (near initialization for `audit_ops')
audit.c:96: warning: excess elements in struct initializer
audit.c:96: warning: (near initialization for `audit_ops')
audit.c:97: warning: excess elements in struct initializer
audit.c:97: warning: (near initialization for `audit_ops')
audit.c:98: warning: excess elements in struct initializer
audit.c:98: warning: (near initialization for `audit_ops')
audit.c:99: warning: excess elements in struct initializer
audit.c:99: warning: (near initialization for `audit_ops')
audit.c:100: warning: excess elements in struct initializer
audit.c:100: warning: (near initialization for `audit_ops')
audit.c:101: warning: excess elements in struct initializer
audit.c:101: warning: (near initialization for `audit_ops')
audit.c:102: warning: excess elements in struct initializer
audit.c:102: warning: (near initialization for `audit_ops')
audit.c:103: warning: excess elements in struct initializer
audit.c:103: warning: (near initialization for `audit_ops')
audit.c:104: warning: excess elements in struct initializer
audit.c:104: warning: (near initialization for `audit_ops')
audit.c:105: warning: excess elements in struct initializer
audit.c:105: warning: (near initialization for `audit_ops')
audit.c:106: warning: excess elements in struct initializer
audit.c:106: warning: (near initialization for `audit_ops')
audit.c:107: warning: excess elements in struct initializer
audit.c:107: warning: (near initialization for `audit_ops')
audit.c:108: warning: excess elements in struct initializer
audit.c:108: warning: (near initialization for `audit_ops')
audit.c:109: warning: excess elements in struct initializer
audit.c:109: warning: (near initialization for `audit_ops')
audit.c:110: warning: excess elements in struct initializer
audit.c:110: warning: (near initialization for `audit_ops')
audit.c:111: warning: excess elements in struct initializer
audit.c:111: warning: (near initialization for `audit_ops')
audit.c:112: warning: excess elements in struct initializer
audit.c:112: warning: (near initialization for `audit_ops')
audit.c:113: warning: excess elements in struct initializer
audit.c:113: warning: (near initialization for `audit_ops')
audit.c:114: warning: excess elements in struct initializer
audit.c:114: warning: (near initialization for `audit_ops')
audit.c:115: warning: excess elements in struct initializer
audit.c:115: warning: (near initialization for `audit_ops')
audit.c:117: warning: excess elements in struct initializer
audit.c:117: warning: (near initialization for `audit_ops')
audit.c:118: warning: excess elements in struct initializer
audit.c:118: warning: (near initialization for `audit_ops')
audit.c:120: warning: excess elements in struct initializer
audit.c:120: warning: (near initialization for `audit_ops')
audit.c:121: warning: excess elements in struct initializer
audit.c:121: warning: (near initialization for `audit_ops')
audit.c:122: warning: excess elements in struct initializer
audit.c:122: warning: (near initialization for `audit_ops')
audit.c:123: warning: excess elements in struct initializer
audit.c:123: warning: (near initialization for `audit_ops')
audit.c:124: warning: excess elements in struct initializer
audit.c:124: warning: (near initialization for `audit_ops')
audit.c:125: warning: excess elements in struct initializer
audit.c:125: warning: (near initialization for `audit_ops')
audit.c:126: warning: excess elements in struct initializer
audit.c:126: warning: (near initialization for `audit_ops')
audit.c:127: warning: excess elements in struct initializer
audit.c:127: warning: (near initialization for `audit_ops')
audit.c:128: warning: excess elements in struct initializer
audit.c:128: warning: (near initialization for `audit_ops')
audit.c:129: warning: excess elements in struct initializer
audit.c:129: warning: (near initialization for `audit_ops')
audit.c:130: warning: excess elements in struct initializer
audit.c:130: warning: (near initialization for `audit_ops')
audit.c:131: warning: excess elements in struct initializer
audit.c:131: warning: (near initialization for `audit_ops')
audit.c:132: warning: excess elements in struct initializer
audit.c:132: warning: (near initialization for `audit_ops')
audit.c:133: warning: excess elements in struct initializer
audit.c:133: warning: (near initialization for `audit_ops')
audit.c:134: warning: excess elements in struct initializer
audit.c:134: warning: (near initialization for `audit_ops')
audit.c:135: warning: excess elements in struct initializer
audit.c:135: warning: (near initialization for `audit_ops')
audit.c:136: warning: excess elements in struct initializer
audit.c:136: warning: (near initialization for `audit_ops')
audit.c:137: warning: excess elements in struct initializer
audit.c:137: warning: (near initialization for `audit_ops')
audit.c:138: warning: excess elements in struct initializer
audit.c:138: warning: (near initialization for `audit_ops')
audit.c:139: warning: excess elements in struct initializer
audit.c:139: warning: (near initialization for `audit_ops')
audit.c:140: warning: excess elements in struct initializer
audit.c:140: warning: (near initialization for `audit_ops')
audit.c:142: warning: excess elements in struct initializer
audit.c:142: warning: (near initialization for `audit_ops')
audit.c: In function `vfs_init':
audit.c:149: storage size of `tmp_ops' isn't known
audit.c:151: `SMB_VFS_INTERFACE_VERSION' undeclared (first use in this
function)
audit.c:151: (Each undeclared identifier is reported only once
audit.c:151: for each function it appears in.)
audit.c:152: sizeof applied to an incomplete type
audit.c:168: sizeof applied to an incomplete type
audit.c:149: warning: unused variable `tmp_ops'
audit.c: At top level:
audit.c:178: warning: `struct connection_struct' declared inside
parameter list
audit.c:179: conflicting types for `audit_connect'
audit.c:50: previous declaration of `audit_connect'
audit.c: In function `audit_connect':
audit.c:183: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:186: warning: `struct connection_struct' declared inside
parameter list
audit.c:187: conflicting types for `audit_disconnect'
audit.c:51: previous declaration of `audit_disconnect'
audit.c: In function `audit_disconnect':
audit.c:189: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:192: syntax error before '*' token
audit.c:192: warning: `struct connection_struct' declared inside
parameter list
audit.c:193: warning: return type defaults to `int'
audit.c:193: conflicting types for `audit_opendir'
audit.c:52: previous declaration of `audit_opendir'
audit.c: In function `audit_opendir':
audit.c:194: `DIR' undeclared (first use in this function)
audit.c:194: `result' undeclared (first use in this function)
audit.c:194: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:204: syntax error before "mode_t"
audit.c:204: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_mkdir':
audit.c:206: invalid use of undefined type `struct vfs_ops'
audit.c:206: `conn' undeclared (first use in this function)
audit.c:206: `path' undeclared (first use in this function)
audit.c:206: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:216: warning: `struct connection_struct' declared inside
parameter list
audit.c:217: conflicting types for `audit_rmdir'
audit.c:54: previous declaration of `audit_rmdir'
audit.c: In function `audit_rmdir':
audit.c:218: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:228: syntax error before "mode_t"
audit.c:228: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_open':
audit.c:230: invalid use of undefined type `struct vfs_ops'
audit.c:230: `conn' undeclared (first use in this function)
audit.c:230: `fname' undeclared (first use in this function)
audit.c:230: `flags' undeclared (first use in this function)
audit.c:230: `mode' undeclared (first use in this function)
audit.c:234: `O_WRONLY' undeclared (first use in this function)
audit.c:234: `O_RDWR' undeclared (first use in this function)
audit.c: At top level:
audit.c:241: warning: `struct files_struct' declared inside parameter
list
audit.c:242: conflicting types for `audit_close'
audit.c:56: previous declaration of `audit_close'
audit.c: In function `audit_close':
audit.c:243: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:253: warning: `struct connection_struct' declared inside
parameter list
audit.c:254: conflicting types for `audit_rename'
audit.c:57: previous declaration of `audit_rename'
audit.c: In function `audit_rename':
audit.c:255: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:265: warning: `struct connection_struct' declared inside
parameter list
audit.c:266: conflicting types for `audit_unlink'
audit.c:58: previous declaration of `audit_unlink'
audit.c: In function `audit_unlink':
audit.c:267: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:277: syntax error before "mode_t"
audit.c:277: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_chmod':
audit.c:279: invalid use of undefined type `struct vfs_ops'
audit.c:279: `conn' undeclared (first use in this function)
audit.c:279: `path' undeclared (first use in this function)
audit.c:279: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:289: syntax error before "mode_t"
audit.c:289: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_chmod_acl':
audit.c:293: invalid use of undefined type `struct vfs_ops'
audit.c:296: invalid use of undefined type `struct vfs_ops'
audit.c:296: `conn' undeclared (first use in this function)
audit.c:296: `path' undeclared (first use in this function)
audit.c:296: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:306: syntax error before "mode_t"
audit.c:306: warning: `struct files_struct' declared inside parameter
list
audit.c: In function `audit_fchmod':
audit.c:308: invalid use of undefined type `struct vfs_ops'
audit.c:308: `fsp' undeclared (first use in this function)
audit.c:308: `fd' undeclared (first use in this function)
audit.c:308: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:318: syntax error before "mode_t"
audit.c:318: warning: `struct files_struct' declared inside parameter
list
audit.c: In function `audit_fchmod_acl':
audit.c:322: invalid use of undefined type `struct vfs_ops'
audit.c:325: invalid use of undefined type `struct vfs_ops'
audit.c:325: `fsp' undeclared (first use in this function)
audit.c:325: `fd' undeclared (first use in this function)
audit.c:325: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:68: storage size of `audit_ops' isn't known
make: *** [audit.lo] Error 1

root@garnessengineering:/usr/doc/samba-2.2.8a/examples/VFS# make
Compiling audit.c
rm -f .libs/audit.lo
gcc -Wall -I../../source -I../../source/include -I../../source/ubiqx
-I../../source/smbwrapper -c audit.c -fPIC -DPIC -o .libs/audit.lo
audit.c:22:20: config.h: No such file or directory
audit.c:37:22: includes.h: No such file or directory
audit.c:38:17: vfs.h: No such file or directory
audit.c:50: warning: `struct connection_struct' declared inside
parameter list
audit.c:50: warning: its scope is only this definition or declaration,
which is probably not what you want
audit.c:51: warning: `struct connection_struct' declared inside
parameter list
audit.c:52: syntax error before '*' token
audit.c:52: warning: `struct connection_struct' declared inside
parameter list
audit.c:52: warning: type defaults to `int' in declaration of
`audit_opendir'
audit.c:52: warning: data definition has no type or storage class
audit.c:53: syntax error before "mode_t"
audit.c:53: warning: `struct connection_struct' declared inside
parameter list
audit.c:54: warning: `struct connection_struct' declared inside
parameter list
audit.c:55: syntax error before "mode_t"
audit.c:55: warning: `struct connection_struct' declared inside
parameter list
audit.c:56: warning: `struct files_struct' declared inside parameter
list
audit.c:57: warning: `struct connection_struct' declared inside
parameter list
audit.c:58: warning: `struct connection_struct' declared inside
parameter list
audit.c:59: syntax error before "mode_t"
audit.c:59: warning: `struct connection_struct' declared inside
parameter list
audit.c:60: syntax error before "mode_t"
audit.c:60: warning: `struct connection_struct' declared inside
parameter list
audit.c:61: syntax error before "mode_t"
audit.c:61: warning: `struct files_struct' declared inside parameter
list
audit.c:62: syntax error before "mode_t"
audit.c:62: warning: `struct files_struct' declared inside parameter
list
audit.c:68: variable `audit_ops' has initializer but incomplete type
audit.c:72: warning: excess elements in struct initializer
audit.c:72: warning: (near initialization for `audit_ops')
audit.c:73: warning: excess elements in struct initializer
audit.c:73: warning: (near initialization for `audit_ops')
audit.c:74: warning: excess elements in struct initializer
audit.c:74: warning: (near initialization for `audit_ops')
audit.c:78: warning: excess elements in struct initializer
audit.c:78: warning: (near initialization for `audit_ops')
audit.c:79: warning: excess elements in struct initializer
audit.c:79: warning: (near initialization for `audit_ops')
audit.c:80: warning: excess elements in struct initializer
audit.c:80: warning: (near initialization for `audit_ops')
audit.c:81: warning: excess elements in struct initializer
audit.c:81: warning: (near initialization for `audit_ops')
audit.c:82: warning: excess elements in struct initializer
audit.c:82: warning: (near initialization for `audit_ops')
audit.c:86: warning: excess elements in struct initializer
audit.c:86: warning: (near initialization for `audit_ops')
audit.c:87: warning: excess elements in struct initializer
audit.c:87: warning: (near initialization for `audit_ops')
audit.c:88: warning: excess elements in struct initializer
audit.c:88: warning: (near initialization for `audit_ops')
audit.c:89: warning: excess elements in struct initializer
audit.c:89: warning: (near initialization for `audit_ops')
audit.c:90: warning: excess elements in struct initializer
audit.c:90: warning: (near initialization for `audit_ops')
audit.c:91: warning: excess elements in struct initializer
audit.c:91: warning: (near initialization for `audit_ops')
audit.c:92: warning: excess elements in struct initializer
audit.c:92: warning: (near initialization for `audit_ops')
audit.c:93: warning: excess elements in struct initializer
audit.c:93: warning: (near initialization for `audit_ops')
audit.c:94: warning: excess elements in struct initializer
audit.c:94: warning: (near initialization for `audit_ops')
audit.c:95: warning: excess elements in struct initializer
audit.c:95: warning: (near initialization for `audit_ops')
audit.c:96: warning: excess elements in struct initializer
audit.c:96: warning: (near initialization for `audit_ops')
audit.c:97: warning: excess elements in struct initializer
audit.c:97: warning: (near initialization for `audit_ops')
audit.c:98: warning: excess elements in struct initializer
audit.c:98: warning: (near initialization for `audit_ops')
audit.c:99: warning: excess elements in struct initializer
audit.c:99: warning: (near initialization for `audit_ops')
audit.c:100: warning: excess elements in struct initializer
audit.c:100: warning: (near initialization for `audit_ops')
audit.c:101: warning: excess elements in struct initializer
audit.c:101: warning: (near initialization for `audit_ops')
audit.c:102: warning: excess elements in struct initializer
audit.c:102: warning: (near initialization for `audit_ops')
audit.c:103: warning: excess elements in struct initializer
audit.c:103: warning: (near initialization for `audit_ops')
audit.c:104: warning: excess elements in struct initializer
audit.c:104: warning: (near initialization for `audit_ops')
audit.c:105: warning: excess elements in struct initializer
audit.c:105: warning: (near initialization for `audit_ops')
audit.c:106: warning: excess elements in struct initializer
audit.c:106: warning: (near initialization for `audit_ops')
audit.c:107: warning: excess elements in struct initializer
audit.c:107: warning: (near initialization for `audit_ops')
audit.c:108: warning: excess elements in struct initializer
audit.c:108: warning: (near initialization for `audit_ops')
audit.c:109: warning: excess elements in struct initializer
audit.c:109: warning: (near initialization for `audit_ops')
audit.c:110: warning: excess elements in struct initializer
audit.c:110: warning: (near initialization for `audit_ops')
audit.c:111: warning: excess elements in struct initializer
audit.c:111: warning: (near initialization for `audit_ops')
audit.c:112: warning: excess elements in struct initializer
audit.c:112: warning: (near initialization for `audit_ops')
audit.c:113: warning: excess elements in struct initializer
audit.c:113: warning: (near initialization for `audit_ops')
audit.c:114: warning: excess elements in struct initializer
audit.c:114: warning: (near initialization for `audit_ops')
audit.c:115: warning: excess elements in struct initializer
audit.c:115: warning: (near initialization for `audit_ops')
audit.c:117: warning: excess elements in struct initializer
audit.c:117: warning: (near initialization for `audit_ops')
audit.c:118: warning: excess elements in struct initializer
audit.c:118: warning: (near initialization for `audit_ops')
audit.c:120: warning: excess elements in struct initializer
audit.c:120: warning: (near initialization for `audit_ops')
audit.c:121: warning: excess elements in struct initializer
audit.c:121: warning: (near initialization for `audit_ops')
audit.c:122: warning: excess elements in struct initializer
audit.c:122: warning: (near initialization for `audit_ops')
audit.c:123: warning: excess elements in struct initializer
audit.c:123: warning: (near initialization for `audit_ops')
audit.c:124: warning: excess elements in struct initializer
audit.c:124: warning: (near initialization for `audit_ops')
audit.c:125: warning: excess elements in struct initializer
audit.c:125: warning: (near initialization for `audit_ops')
audit.c:126: warning: excess elements in struct initializer
audit.c:126: warning: (near initialization for `audit_ops')
audit.c:127: warning: excess elements in struct initializer
audit.c:127: warning: (near initialization for `audit_ops')
audit.c:128: warning: excess elements in struct initializer
audit.c:128: warning: (near initialization for `audit_ops')
audit.c:129: warning: excess elements in struct initializer
audit.c:129: warning: (near initialization for `audit_ops')
audit.c:130: warning: excess elements in struct initializer
audit.c:130: warning: (near initialization for `audit_ops')
audit.c:131: warning: excess elements in struct initializer
audit.c:131: warning: (near initialization for `audit_ops')
audit.c:132: warning: excess elements in struct initializer
audit.c:132: warning: (near initialization for `audit_ops')
audit.c:133: warning: excess elements in struct initializer
audit.c:133: warning: (near initialization for `audit_ops')
audit.c:134: warning: excess elements in struct initializer
audit.c:134: warning: (near initialization for `audit_ops')
audit.c:135: warning: excess elements in struct initializer
audit.c:135: warning: (near initialization for `audit_ops')
audit.c:136: warning: excess elements in struct initializer
audit.c:136: warning: (near initialization for `audit_ops')
audit.c:137: warning: excess elements in struct initializer
audit.c:137: warning: (near initialization for `audit_ops')
audit.c:138: warning: excess elements in struct initializer
audit.c:138: warning: (near initialization for `audit_ops')
audit.c:139: warning: excess elements in struct initializer
audit.c:139: warning: (near initialization for `audit_ops')
audit.c:140: warning: excess elements in struct initializer
audit.c:140: warning: (near initialization for `audit_ops')
audit.c:142: warning: excess elements in struct initializer
audit.c:142: warning: (near initialization for `audit_ops')
audit.c: In function `vfs_init':
audit.c:149: storage size of `tmp_ops' isn't known
audit.c:151: `SMB_VFS_INTERFACE_VERSION' undeclared (first use in this
function)
audit.c:151: (Each undeclared identifier is reported only once
audit.c:151: for each function it appears in.)
audit.c:152: sizeof applied to an incomplete type
audit.c:168: sizeof applied to an incomplete type
audit.c:149: warning: unused variable `tmp_ops'
audit.c: At top level:
audit.c:178: warning: `struct connection_struct' declared inside
parameter list
audit.c:179: conflicting types for `audit_connect'
audit.c:50: previous declaration of `audit_connect'
audit.c: In function `audit_connect':
audit.c:183: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:186: warning: `struct connection_struct' declared inside
parameter list
audit.c:187: conflicting types for `audit_disconnect'
audit.c:51: previous declaration of `audit_disconnect'
audit.c: In function `audit_disconnect':
audit.c:189: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:192: syntax error before '*' token
audit.c:192: warning: `struct connection_struct' declared inside
parameter list
audit.c:193: warning: return type defaults to `int'
audit.c:193: conflicting types for `audit_opendir'
audit.c:52: previous declaration of `audit_opendir'
audit.c: In function `audit_opendir':
audit.c:194: `DIR' undeclared (first use in this function)
audit.c:194: `result' undeclared (first use in this function)
audit.c:194: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:204: syntax error before "mode_t"
audit.c:204: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_mkdir':
audit.c:206: invalid use of undefined type `struct vfs_ops'
audit.c:206: `conn' undeclared (first use in this function)
audit.c:206: `path' undeclared (first use in this function)
audit.c:206: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:216: warning: `struct connection_struct' declared inside
parameter list
audit.c:217: conflicting types for `audit_rmdir'
audit.c:54: previous declaration of `audit_rmdir'
audit.c: In function `audit_rmdir':
audit.c:218: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:228: syntax error before "mode_t"
audit.c:228: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_open':
audit.c:230: invalid use of undefined type `struct vfs_ops'
audit.c:230: `conn' undeclared (first use in this function)
audit.c:230: `fname' undeclared (first use in this function)
audit.c:230: `flags' undeclared (first use in this function)
audit.c:230: `mode' undeclared (first use in this function)
audit.c:234: `O_WRONLY' undeclared (first use in this function)
audit.c:234: `O_RDWR' undeclared (first use in this function)
audit.c: At top level:
audit.c:241: warning: `struct files_struct' declared inside parameter
list
audit.c:242: conflicting types for `audit_close'
audit.c:56: previous declaration of `audit_close'
audit.c: In function `audit_close':
audit.c:243: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:253: warning: `struct connection_struct' declared inside
parameter list
audit.c:254: conflicting types for `audit_rename'
audit.c:57: previous declaration of `audit_rename'
audit.c: In function `audit_rename':
audit.c:255: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:265: warning: `struct connection_struct' declared inside
parameter list
audit.c:266: conflicting types for `audit_unlink'
audit.c:58: previous declaration of `audit_unlink'
audit.c: In function `audit_unlink':
audit.c:267: invalid use of undefined type `struct vfs_ops'
audit.c: At top level:
audit.c:277: syntax error before "mode_t"
audit.c:277: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_chmod':
audit.c:279: invalid use of undefined type `struct vfs_ops'
audit.c:279: `conn' undeclared (first use in this function)
audit.c:279: `path' undeclared (first use in this function)
audit.c:279: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:289: syntax error before "mode_t"
audit.c:289: warning: `struct connection_struct' declared inside
parameter list
audit.c: In function `audit_chmod_acl':
audit.c:293: invalid use of undefined type `struct vfs_ops'
audit.c:296: invalid use of undefined type `struct vfs_ops'
audit.c:296: `conn' undeclared (first use in this function)
audit.c:296: `path' undeclared (first use in this function)
audit.c:296: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:306: syntax error before "mode_t"
audit.c:306: warning: `struct files_struct' declared inside parameter
list
audit.c: In function `audit_fchmod':
audit.c:308: invalid use of undefined type `struct vfs_ops'
audit.c:308: `fsp' undeclared (first use in this function)
audit.c:308: `fd' undeclared (first use in this function)
audit.c:308: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:318: syntax error before "mode_t"
audit.c:318: warning: `struct files_struct' declared inside parameter
list
audit.c: In function `audit_fchmod_acl':
audit.c:322: invalid use of undefined type `struct vfs_ops'
audit.c:325: invalid use of undefined type `struct vfs_ops'
audit.c:325: `fsp' undeclared (first use in this function)
audit.c:325: `fd' undeclared (first use in this function)
audit.c:325: `mode' undeclared (first use in this function)
audit.c: At top level:
audit.c:68: storage size of `audit_ops' isn't known
make: *** [audit.lo] Error 1

I know that it is not able to find the libraries required, but I have
support for kernel headers compiled. Would this work if I was to place
this vfs folder in another directory, if so. Please tell me where I
should place it. I cannot figure it out. I have tried placing it in a
few different locations unsucessfully. I have also tried "make
recycle" with similar errors containing no such file or directory.
Please help me if you are able, I really appreciate it.

Thanks
Brad Garness
Brad@akwwc.com