zyj9527 发表于 2016-3-31 10:38

uboot下make env单独编译fw_printenv报错

我在yocto中的u-boot-imx/2014.04-r0/git目录下想编译出fw_printenv工具,在设置ARCH和CROSS_COMPILE后进行make env操作,报如下错误:
HOSTCCtools/env/crc32.o
In file included from tools/env/crc32.c:1:0:
tools/env/../../lib/crc32.c:12:23: fatal error: arpa/inet.h: No such file or directory
#include <arpa/inet.h>
                     ^
compilation terminated.
make: *** 错误 1
make: *** 错误 2

跪求指导!!
页: [1]
查看完整版本: uboot下make env单独编译fw_printenv报错