You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
问题:执行
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 text was updated successfully, but these errors were encountered:
----------------以下是群主传的u-boot-sunxi编译遇到的问题的解决过程-----------
遇到的问题是:
错误提示:arch/arm/dtc/include/dt-bindings (中间忘记了) dt-bindings/clock4i-a10-pll2.h: No such file or directory
arch/arm/dtc/include/dt-bindings这里应该是个软连接,可能从git上下载时出错了,成了个类似于文本的内容。打开后可以看到是:../../../../include/dt-bindings.
将这个文件删掉,重新将include/dt-bindings文件夹软链接至此位置。
然后,编译,可通过。
环境: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
The text was updated successfully, but these errors were encountered: