[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile error



Hi, 
    I use the linuxppc2_5(kernel 2.4.2) and the lastest code ,but can not compile correctlly with "Jffs support "option.
    Please give me some advice~

____________________________________________________________________________________
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f
rame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float -pipe
 -ffixed-r2 -Wno-uninitialized -mmultiple -mstring    -c -o jffs_fm.o jffs_fm.c
jffs_fm.c: In function `jffs_build_begin':
jffs_fm.c:53: structure has no member named `flash_start'
jffs_fm.c:55: structure has no member named `flash_start'
jffs_fm.c: In function `jffs_free_size1':
jffs_fm.c:135: structure has no member named `flash_start'
jffs_fm.c:146: structure has no member named `flash_start'
jffs_fm.c:150: structure has no member named `flash_start'
jffs_fm.c: In function `jffs_free_size2':
jffs_fm.c:178: structure has no member named `flash_start'
jffs_fm.c:179: structure has no member named `flash_start'
jffs_fm.c:183: structure has no member named `flash_start'
jffs_fm.c: In function `jffs_fmalloc':
jffs_fm.c:240: structure has no member named `flash_start'
jffs_fm.c:241: structure has no member named `flash_start'
jffs_fm.c:244: structure has no member named `flash_start'
jffs_fm.c:248: structure has no member named `flash_start'
jffs_fm.c:254: structure has no member named `flash_start'
jffs_fm.c: In function `jffs_flash_erasable_size':
jffs_fm.c:631: warning: long unsigned int format, u_int32_t arg (arg 3)
jffs_fm.c:635: warning: long unsigned int format, u_int32_t arg (arg 5)
jffs_fm.c: In function `jffs_erasable_size':
jffs_fm.c: In function `jffs_erasable_size':
jffs_fm.c:664: structure has no member named `flash_start'
jffs_fm.c:675: structure has no member named `flash_start'
jffs_fm.c:681: structure has no member named `flash_start'
jffs_fm.c: In function `jffs_print_fmcontrol':
jffs_fm.c:719: structure has no member named `flash_start'
make[3]: *** [jffs_fm.o] Error 1
make[3]: Leaving directory `/usr/src/linuxppc_2_5/fs/jffs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linuxppc_2_5/fs/jffs'
make[1]: *** [_subdir_jffs] Error 2
make[1]: Leaving directory `/usr/src/linuxppc_2_5/fs'
make: *** [_dir_fs] Error 2

________________________________________________________________________________________

Best Regards
Shoudong

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com