public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Bernhard Priewasser <priewasser@gmail.com>
To: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
Date: Mon, 24 Oct 2005 12:36:01 +0200	[thread overview]
Message-ID: <435CB911.4060005@gmail.com> (raw)

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

             reply	other threads:[~2005-10-24 10:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24 10:36 Bernhard Priewasser [this message]
2005-10-24 14:05 ` malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc() 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=435CB911.4060005@gmail.com \
    --to=priewasser@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox