malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()

Bernhard Priewasser priewasser at gmail.com
Mon Oct 24 06:36:01 EDT 2005


Hello,

when trying to compile latest CVS MTD with JFFS2_FS_DEBUG=2 I get the 
following compiling errors on dbg_memalloc():

>   CC      fs/jffs2/malloc.o
> fs/jffs2/malloc.c: In function `jffs2_alloc_full_dirent':
> fs/jffs2/malloc.c:100: error: dereferencing pointer to incomplete type
> fs/jffs2/malloc.c: In function `jffs2_free_full_dirent':
> fs/jffs2/malloc.c:106: error: dereferencing pointer to incomplete type
> [...]
> fs/jffs2/malloc.c: In function `jffs2_alloc_inode_cache':
> fs/jffs2/malloc.c:199: error: dereferencing pointer to incomplete type
> fs/jffs2/malloc.c: In function `jffs2_free_inode_cache':
> fs/jffs2/malloc.c:205: error: dereferencing pointer to incomplete type
> make[2]: *** [fs/jffs2/malloc.o] Error 1
> make[1]: *** [fs/jffs2] Error 2
> make: *** [fs] Error 2

It's reproducible; with JFFS2_FS_DEBUG!=2 it does compile.
I hope this information helps; I would be grateful if it ran through.

Regards,
Bernhard





More information about the linux-mtd mailing list