Hi,
 
    I'm trying to build a u-boot image for our arm board with ubifs
support.
 
    I have defined 
 
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
#define CONFIG_LZO
 
    When building fs/ubifs/lpt.c, I encountered "undefined reference"
errors.
 
    /home/r65388/uboot-v2009.08/uboot-imx/fs/ubifs/lpt.c:81: undefined
reference to `fls'
    /home/r65388/uboot-v2009.08/uboot-imx/fs/ubifs/lpt.c:82: undefined
reference to `fls'
    /home/r65388/uboot-v2009.08/uboot-imx/fs/ubifs/lpt.c:83: undefined
reference to `fls'
    /home/r65388/uboot-v2009.08/uboot-imx/fs/ubifs/lpt.c:84: undefined
reference to `fls'
 
fs/ubifs/libubifs.a(lpt.o):/home/r65388/uboot-v2009.08/uboot-imx/fs/ubif
s/lpt.c:87: more undefined references to `fls' follow
 
    The function fls is defined in include/asm-ppc and there's no such
functions in include/asm-arm.
 
    Is ubifs a common code or specified for ppc?
 
    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

Reply via email to