环境:VMware虚拟机,Ubuntu14.04,64位,GCC4.8(后改为4.7,问题依旧)。
问题:执行
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
环境:VMware虚拟机,Ubuntu14.04,64位,GCC4.8(后改为4.7,问题依旧)。
问题:执行
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