Compiling kernel 2.4.20 with the latest snapshot of mtd

Matthias Gorjup mgorjup at norik.com
Mon Mar 8 12:52:07 EST 2004


Hello,

I have troubles crosscompiling compiling kernel 2.4.20 with the latest
snapshot of mtd,
taken
from the mtd CVS repository. I apply the patch by invoking script
sh patchin.sh /home/gorjup/temp/linux but I get errors when compiling.
Here are the errors:

compr_zlib.c:64: parse error before `jffs2_zlib_init'
compr_zlib.c:65: warning: return-type defaults to `int'
compr_zlib.c: In function `jffs2_zlib_init':
compr_zlib.c:66: warning: implicit declaration of function `vmalloc'
compr_zlib.c:66: warning: assignment makes pointer from integer without a
cast
compr_zlib.c:72: warning: assignment makes pointer from integer without a
cast
compr_zlib.c:75: warning: implicit declaration of function `vfree'
make[3]: *** [compr_zlib.o] Error 1
make[3]: Leaving directory
`/home/gorjup/temp/linux-2.4.20/fs/jffs2'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory
`/home/gorjup/temp/linux-2.4.20/fs/jffs2'
make[1]: *** [_subdir_jffs2] Error 2
make[1]: Leaving directory
`/home/gorjup/tempB/linux-2.4.20/fs'
make: *** [_dir_fs] Error 2


Any suggestion welcome...

Matthias Gorjup
Norik Systems
www.norik.com






More information about the linux-mtd mailing list