the latest MTD code from CVS has compilation errors

Xiaogeng (Shawn) Jin xjin at redswitch.com
Wed Aug 28 22:49:42 EDT 2002


Hi,

I tried to compile the latest MTD code got from CVS tree on linux 2.4.4 
(from DENX). When fs/jffs2/background.c is compiled, it complains that
   background.c:108: arguments given to macro 'recalc_sigpending'
   background.c:155: arguments given to macro 'recalc_sigpending'
errors. I looked into the code and included header file. In 
linux/mtd/compatmac.h the macro is re-defined to have no arguments at 
all if kernel version < 2.5.5. So in my case 108 and 155 should be 
changed to have no arguments.

Anybody reported this "bug" before?

- Shawn.

PS: compatmac.h's modification date is 2002/08/07, version v1.39.





More information about the linux-mtd mailing list