public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
@ 2005-10-24 10:36 Bernhard Priewasser
  2005-10-24 14:05 ` Bernhard Priewasser
  2005-10-24 16:21 ` Artem B. Bityutskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Bernhard Priewasser @ 2005-10-24 10:36 UTC (permalink / raw)
  To: MTD mailing list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-21 15:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 10:36 malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc() Bernhard Priewasser
2005-10-24 14:05 ` Bernhard Priewasser
2005-10-24 16:21 ` Artem B. Bityutskiy
2005-11-21 15:22   ` Bernhard Priewasser
2005-11-21 15:42     ` Artem B. Bityutskiy
2005-11-21 15:47       ` Bernhard Priewasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox