malloc.c:100: error: dereferencing pointer to incomplete type / dbg_memalloc()
Hello,
when trying to compile latest CVS MTD with JFFS2_FS_DEBUG=2 I get the following compiling errors on dbg_memalloc():
Quoted 5 lines
CC
fs/jffs2/malloc.ofs/jffs2/malloc.c: In function `jffs2_alloc_full_dirent':fs/jffs2/malloc.c:100: error: dereferencing pointer to incomplete typefs/jffs2/malloc.c: In function `jffs2_free_full_dirent':fs/jffs2/malloc.c:106: error: dereferencing pointer to incomplete type
Quoted 8 lines
[...]
fs/jffs2/malloc.c: In function `jffs2_alloc_inode_cache':fs/jffs2/malloc.c:199: error: dereferencing pointer to incomplete typefs/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
Kernel version is 2.6.11.
Bernhard
Quoted 4 lines · Bernhard Priewasser
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.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
Quoted 8 lines · Artem B. Bityutskiy
Quoted 4 lines · Bernhard Priewasser
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
Quoted 2 lines · Bernhard Priewasser
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.
Signature · 3 lines
Best Regards, Artem B. Bityutskiy, St.-Petersburg, Russia.
Quoted 1 line
Could you please double-check this? I've just compiled JFFS2 with DBGLVL=2 and saw only one warning, no errors.
OK we'll check this. Our kernel is partially a bit weird... Seems it's our fault then.
Thanks,
Bernhard