Hi,
Add:
#include <linux/kernel.h>
to fs/ntfs/unistr.c and all is fine.
Anton
On Tue, 28 Aug 2001, Jean-bernard JACQUET wrote:
> Good afternoon,
> I use linux since few years and I have one problem with kernel 2.4.9, for=
the=20
> moment I have MDK 8.0. I use NTFS and when I compile with make bzImage I=
=20
> obtain :
>=20
> rred-stack-boundary=3D2 -march=3Di686 -DNTFS_VERSION=3D\"1.1.16\" -c -=
o unistr.o=20
> unistr.c
> unistr.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] Erreur 1
> make[3]: Quitte le r=E9pertoire `/usr/src/linux-2.4.9/fs/ntfs'
> make[2]: *** [first_rule] Erreur 2
> make[2]: Quitte le r=E9pertoire `/usr/src/linux-2.4.9/fs/ntfs'
> make[1]: *** [_subdir_ntfs] Erreur 2
> make[1]: Quitte le r=E9pertoire `/usr/src/linux-2.4.9/fs'
> make: *** [_dir_fs] Erreur 2
>=20
> I try with a patch 2.4.8 -> 2.4.9 and with a dowload of kernel 2.4.9. th=
e=20
> problem is the same. Do you know it ? Is an error from me ?=20
>=20
> Faithfully.
> --=20
> JB JACQUET
> jea...@wa...
>=20
> _______________________________________________
> Linux-NTFS-Dev mailing list
> Lin...@li...
> http://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev
>=20
Best regards,
=09Anton
--=20
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/
|