Compilation problem on linux-2.4.6 with patch 2.4.6pre3

data data at uniquemodem.com
Wed Oct 24 09:44:58 EDT 2001


Hi David,

Due to the fact that our application is working on kernel 2.4.5 or
2.4.6, I need to re-compile the kernel on these version. I have chosen
to start with 2.4.6 and understood that I need to include 2.4.6pre3
patch. After I have completed that patch and start to compile the
kernel, I encountered the following errors and hope you can help me to
fix it.

During the compilation for jffs_fm, I encountered the error with
completion.h missing and gc_thread_comp with incomplete type. I hope you
can give me a hand to fix my problem.

Thank you very much in deed. I am looking forward to hear from you soon.

Best regards,

Jimmy

 
Build log:

.o inode.o ioctl.o namei.o super.o symlink.o
make[3]: Leaving directory `/home/root/linux-2.4.6/fs/ext2'
make[2]: Leaving directory `/home/root/linux-2.4.6/fs/ext2'
make -C jffs
make[2]: Entering directory `/home/root/linux-2.4.6/fs/jffs'
make all_targets
make[3]: Entering directory `/home/root/linux-2.4.6/fs/jffs'
gcc -D__KERNEL__ -I/home/root/linux-2.4.6/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i486   
-c -o jffs_fm.o jffs_fm.c
In file included from jffs_fm.c:22:
/home/root/linux-2.4.6/include/linux/jffs.h:24:30: linux/completion.h:
No such file or directory
In file included from jffs_fm.c:22:
/home/root/linux-2.4.6/include/linux/jffs.h:191: field `gc_thread_comp'
has incomplete type
make[3]: *** [jffs_fm.o] Error 1
make[3]: Leaving directory `/home/root/linux-2.4.6/fs/jffs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/root/linux-2.4.6/fs/jffs'
make[1]: *** [_subdir_jffs] Error 2
make[1]: Leaving directory `/home/root/linux-2.4.6/fs'
make: *** [_dir_fs] Error 2
[root at localhost linux]#




More information about the linux-mtd mailing list