* 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
* Re: malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
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
1 sibling, 0 replies; 6+ messages in thread
From: Bernhard Priewasser @ 2005-10-24 14:05 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: MTD mailing list
Kernel version is 2.6.11.
Bernhard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
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
1 sibling, 1 reply; 6+ messages in thread
From: Artem B. Bityutskiy @ 2005-10-24 16:21 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: MTD mailing list
Bernhard Priewasser wrote:
> Hello,
>
> when trying to compile latest CVS MTD with JFFS2_FS_DEBUG=2 I get the
> following compiling errors on dbg_memalloc():
>
Fixed in CVS, thanks.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
2005-10-24 16:21 ` Artem B. Bityutskiy
@ 2005-11-21 15:22 ` Bernhard Priewasser
2005-11-21 15:42 ` Artem B. Bityutskiy
0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Priewasser @ 2005-11-21 15:22 UTC (permalink / raw)
To: Artem B. Bityutskiy; +Cc: MTD mailing list
Artem B. Bityutskiy schrieb:
> Bernhard Priewasser wrote:
>
>> Hello,
>>
>> when trying to compile latest CVS MTD with JFFS2_FS_DEBUG=2 I get the
>> following compiling errors on dbg_memalloc():
>>
> Fixed in CVS, thanks.
>
It's there again... in MTD CVS 2005-11-21.
If you can't reproduce it, perhaps we have screwed something. But it's
reproducible here.
Regards,
Bernhard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
2005-11-21 15:22 ` Bernhard Priewasser
@ 2005-11-21 15:42 ` Artem B. Bityutskiy
2005-11-21 15:47 ` Bernhard Priewasser
0 siblings, 1 reply; 6+ messages in thread
From: Artem B. Bityutskiy @ 2005-11-21 15:42 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: MTD mailing list
Bernhard Priewasser wrote:
> It's there again... in MTD CVS 2005-11-21.
> If you can't reproduce it, perhaps we have screwed something. But it's
> reproducible here.
Could you please double-check this? I've just compiled JFFS2 with
DBGLVL=2 and saw only one warning, no errors.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ 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