A13 uboot:undefined reference to 'i2c_read'
Created by: Any012
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- A13-Lichee_config time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log
error: arch/arm/mach-sunxi/built-in.o: In function pmic_bus_read: /home/any/ilichee/u-boot-sunxi/arch/arm/mach-sunxi/pmic_bus.c:64:undefined reference to i2c_read' arch/arm/mach-sunxi/built-in.o: In function pmic_bus_read: /home/any/ilichee/u-boot-sunxi/arch/arm/mach-sunxi/pmic_bus.c:64:undefined reference to 'i2c_write' make[1]: *** [spl/u-boot-spl] Error 1 make: *** [spl/u-boot-spl] Error 2
the 'arm-linux-gnueabihf- A13-Lichee_config' file was downlaod from https://github.com/Zepan/ilichee/tree/master/ConfigFiles
the operationsystem is Ubuntu 14.04. the version of GCC is 4.7.