Skip to contentSkip to conversation

parse error on compiling a 2.4.9 kernel

DISCUSSION james bond 2 participants 2 messages Sep 16, 2001

lore
Share & tools
lore

james bond

author
#0 lore raw

so hello all , and thank's for leeding me to format my windobe :)
the problem is verry simple
when i configure my kernel i select ntfs support and then i launch a compiling process "make dep , make clean , make bzImage " and then i have this message :

----------------------------------------------------------------------

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] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.9/fs/ntfs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.9/fs/ntfs' make[1]: *** [_subdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9/fs'
make: *** [_dir_fs] Error 2

----------------------------------------------------------------------
when i d�s�lect ntfs every thing is ok ,
i m using a slack 8.0
and have gcc version 2.95.3 20010315 (release) i think that there is no need of any cat /proc/cpuinfo

now i m using a linux 2.4.7 and every thing is ok
thank's for answering
sorry for my poor english

electonicaly yours

----------------------------------------------------------------------
i have a dream , that one day every computer gona be under linux

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

#1 lore raw

Hi,

Quoted 5 lines

when i configure my kernel i select ntfs support and then i launch a compiling process "make dep , make clean , make bzImage " and then i have this message :
unistr.c: In function `ntfs_collate_names':
...

Yeah, it's a known problem. Simply add the following line to unistr.c

  #include <linux/kernel.h>

Cheers,
FlatCap (Rich)
[email protected]