compile errors - missing .h?
I updated via CVS my linux source tree today. When I compile I get the following errors:
================
intrep.o intrep.cintrep.c: In function `jffs_create_control':
intrep.c:443: structure has no member named delete_list' intrep.c: In function jffs_cleanup_control':
intrep.c:470: structure has no member named delete_list' intrep.c:472: structure has no member named delete_list' intrep.c:473: structure has no member named delete_list' intrep.c:473: structure has no member named delete_list' intrep.c: In function `jffs_build_fs':
intrep.c:556: structure has no member named delete_list' intrep.c:560: structure has no member named delete_list' intrep.c:563: structure has no member named delete_list' intrep.c:564: structure has no member named delete_list' intrep.c:564: structure has no member named delete_list' intrep.c: In function jffs_scan_flash':
intrep.c:891: sizeof applied to an incomplete type intrep.c:900: dereferencing pointer to incomplete type intrep.c:901: dereferencing pointer to incomplete type intrep.c:901: structure has no member named delete_list' intrep.c:902: structure has no member named delete_list' intrep.c: In function `thread_should_wake':
intrep.c:2769: MIN_FREE_BYTES' undeclared (first use in this function) intrep.c:2769: (Each undeclared identifier is reported only once intrep.c:2769: for each function it appears in.) intrep.c:2770: MAX_DIRTY_BYTES' undeclared (first use in this function)
intrep.c:2771: warning: control reaches end of non-void function make[3]: *** [intrep.o] Error 1
make[3]: Leaving directory `/home/kelly/armbuild/jinux/fs/jffs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/kelly/armbuild/jinux/fs/jffs' make[1]: *** [_subdir_jffs] Error 2
make[1]: Leaving directory `/home/kelly/armbuild/jinux/fs'
make: *** [_dir_fs] Error 2
=================
I remember a while back David saying that a person might miss updates to include/linux/jffs.h using CVS cause he uses a symlink farm for this file. I suspect this is why my compile is failing.
If this is the case, how can someone get 'jffs.h'?
Thanks,
-- kelly
_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 9 lines · Juan Gonzo
I updated via CVS my linux source tree today. When I compile I get the following errors:
I remember a while back David saying that a person might miss updates to
include/linux/jffs.husing CVS cause he uses a symlink farm for this file. I suspect this is why my compile is failing.If this is the case, how can someone get '
jffs.h'?
The most reliable way to build JFFS is outside the kernel tree. Make sure you don't have a 'jffs.h' in /usr/src/linux/include/linux.
Then go into the MTD CVS tree, in the 'fs/jffs/' directory, and type:
make -C /usr/src/linux SUBDIRS=pwd modules
You may need to swap the comments on the following two lines in the Makefile, depending on which kernel you're building against:
#INODE_O := inode-v22.o INODE_O := inode-v23.o
Signature · 6 lines
dwmw2 To unsubscribe, send "unsubscribe mtd" to [email protected]