It only miscompiles on 2.4.9. Your fix of adding the include linux/kernel.h
to unistr.c is correct.
I do not understand your report about earlier than 2.4.9 though... Both
2.4.9-preXYZ and 2.4.10-preXYZ compile fine, it is ONLY 2.4.9 which is broken.
Anyway, just add the include and be happy or download a more recent kernel
and also be happy. (-:
Anton
At 15:18 07/09/01, Jonathan M. Manning wrote:
>[Please reply directly, I'm not currently subscribed to the list.]
>
>Maybe it's just me and an old set of header files, but the ntfs module
>won't compile correctly on recent kernels. I first noticed with 2.4.5,
>and it's still true today compiling 2.4.9. It aborts the make modules with
>errors in unistr.c.
>
>Simple problem, easily fixed with #include <linux/kernel.h> in either
>unistr.c or unistr.h.
>
>Question is - is this me and my configuration, or is this just an
>oversight? I'm not usually a kernel hacker, so I'm not sure if that line
>really belongs. Should kernel.h be included from some other header file?
>
>Anyone else with similar problems on the latest kernels?
>
>Thanks,
>~Jonathan
>
>PS - Currently running 2.4.5, standard RH7.1 system with updates.
>
>
>_______________________________________________
>Linux-NTFS-Dev mailing list
>Lin...@li...
>https://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev
--
"Nothing succeeds like success." - Alexandre Dumas
--
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/
|