[U-Boot] Build error found when using CONFIG_CMD_UBIFS

Lv Terry-R65388 r65388 at freescale.com
Mon Nov 9 09:14:45 CET 2009


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
 


More information about the U-Boot mailing list