Skip to contentSkip to conversation

Error compiling 2.4.9 as bzImage

DISCUSSION Android 2 participants 2 messages Sep 20, 2001

lore
Share & tools
lore

Android

author
#0 lore raw

The following errors occured while trying to compile kernel 2.4.9:

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

kmail crashes when I try to attach the configuration file so ....

#1 lore raw

Hi Android,

Quoted 2 lines

The following errors occured while trying to compile kernel 2.4.9:
...

This is a known problem. Simply add the following line to unistr.c

  #include <linux/kernel.h>

Cheers,
FlatCap (Rich).
[email protected]