[U-Boot] Build error found when using CONFIG_CMD_UBIFS

Hi All,
I have encountered a build error when trying to build ubifs on u-boot v2009.08.
Have anyone met this error before and how to fix it?
In file included from ubifs.c:26: ubifs.h:469: error: conflicting types for '__set_bit' /home/r65388/uboot-v2009.08/uboot-imx/include/asm/bitops.h:29: error: previous definition of '__set_bit' was here ubifs.h:477: error: conflicting types for '__clear_bit' /home/r65388/uboot-v2009.08/uboot-imx/include/asm/bitops.h:36: error: previous definition of '__clear_bit' was here ubifs.c:30:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! make[1]: *** [ubifs.o] Error 1 make[1]: Leaving directory `/home/r65388/uboot-v2009.08/uboot-imx/fs/ubifs' make: *** [fs/ubifs/libubifs.a] Error 2
Thanks~~
Yours Terry
General Business Information Freescale Internal Use Only Freescale Confidential Proprietary

Dear "Lv Terry-R65388",
In message 1AE74F652ECB1440B73DD7C2C20842D1A0CAB7@zch01exm27.fsl.freescale.net you wrote:
I have encountered a build error when trying to build ubifs on
u-boot v2009.08.
And is the error still present when using current code (top of tree in git, or at least v2009.11-rc1) ?
Best regards,
Wolfgang Denk
participants (2)
-
Lv Terry-R65388
-
Wolfgang Denk