problem compiling the ntfs fs in kernel
While compling kernel version 2.4.9 with the NTFS in the kernel we got the following errors, would appreciate some info on what happen.
make[2]: Entering directory `/usr/src/linux-2.4.9/linux/fs/ntfs' make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.9/linux/fs/ntfs' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DNTFS_VERSION=\"1.1.16\" -c -o unistr.o unistr.cunistr.c: In function `ntfs_collate_names':
unistr.c:99: warning: implicit declaration of function min' unistr.c:99: parse error before unsigned'
unistr.c:99: parse error before `)'
unistr.c:97: warning: `c1' might be used uninitialized in this function unistr.c: At top level:
unistr.c:118: parse error before `if'
unistr.c:123: warning: type defaults to int' in declaration of c1' unistr.c:123: name1' undeclared here (not in a function) unistr.c:123: warning: data definition has no type or storage class unistr.c:124: parse error before if'
make[3]: *** [unistr.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.9/linux/fs/ntfs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.9/linux/fs/ntfs' make[1]: *** [_subdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9/linux/fs'
make: *** [_dir_fs] Error 2