[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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Build error found when using CONFIG_CMD_UBIFS
Dear Lv Terry-R65388, In message 1ae74f652ecb1440b73dd7c2c20842d1a0c...@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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The bad reputation UNIX has gotten is totally undeserved, laid on by people who don't understand, who have not gotten in there and tried anything. -- Jim Joyce, owner of Jim Joyce's UNIX Bookstore ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot