Skip to contentSkip to conversation

not able to build linux image

DISCUSSION Skumar 1 participant 1 message Feb 4, 2003 Memory technology devices (MTD)

lore
Share & tools
lore

Skumar

author
#0 lore raw

Hi,
i am working on linux 2.4.18 kernel
i have patched it with mtd-snapshot-20030121. by running sp patchin.sh -j (path to linux kernel)

when i run bzImage i ma getting following error

make zImage
scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/home/skumar/remove/linux/include -Wall -Wstrict-prototyp es -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -
o init/main.o init/main.c
In file included from /home/skumar/remove/linux/include/linux/fs.h:317,
from
/home/skumar/remove/linux/include/linux/capability.h:17,

                 from /home/skumar/remove/linux/include/linux/binfmts.h:5,
                 from /home/skumar/remove/linux/include/linux/sched.h:9,
                 from /home/skumar/remove/linux/include/linux/mm.h:4,
                 from /home/skumar/remove/linux/include/linux/slab.h:14,
                 from /home/skumar/remove/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:

/home/skumar/remove/linux/include/linux/jffs2_fs_i.h:22: field `fragtree' has incomplete type
In file included from /home/skumar/remove/linux/include/linux/fs.h:693,
from
/home/skumar/remove/linux/include/linux/capability.h:17,

                 from /home/skumar/remove/linux/include/linux/binfmts.h:5,
                 from /home/skumar/remove/linux/include/linux/sched.h:9,
                 from /home/skumar/remove/linux/include/linux/mm.h:4,
                 from /home/skumar/remove/linux/include/linux/slab.h:14,
                 from /home/skumar/remove/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:

/home/skumar/remove/linux/include/linux/jffs2_fs_sb.h:8:29:
linux/workqueue.h: No such file or directory
In file included from /home/skumar/remove/linux/include/linux/fs.h:693,
from
/home/skumar/remove/linux/include/linux/capability.h:17,

                 from /home/skumar/remove/linux/include/linux/binfmts.h:5,
                 from /home/skumar/remove/linux/include/linux/sched.h:9,
                 from /home/skumar/remove/linux/include/linux/mm.h:4,
                 from /home/skumar/remove/linux/include/linux/slab.h:14,
                 from /home/skumar/remove/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:

/home/skumar/remove/linux/include/linux/jffs2_fs_sb.h:92: field `wbuf_task' has incomplete type
make: *** [init/main.o] Error 1

why?

regards
sharath