各位高手,本人在编译u-boot-2010.12时提示以下错误,请问该如何解决
/home/Dvsdk/DM365/psp/u-boot-2010.12/include/configs/davinci_dm365evm.h:199:1: warning: this is the location of the previous definition
env_common.c:48: error: missing terminating " character
env_common.c:48: error: expected '}' before string constant
env_common.c:157: error: conflicting types for 'env_get_addr'
/home/Dvsdk/DM365/psp/u-boot-2010.12/include/environment.h:156: error: previous declaration of 'env_get_addr' was here
env_common.c: In function 'env_relocate':
env_common.c:231: warning: implicit declaration of function 'bootstage_error'
env_common.c:231: error: 'BOOTSTAGE_ID_NET_CHECKSUM' undeclared (first use in this function)
env_common.c:231: error: (Each undeclared identifier is reported only once
env_common.c:231: error: for each function it appears in.)
env_common.c:235: warning: implicit declaration of function 'env_relocate_spec'
make[2]: *** [env_common.o] 错误 1
make[2]:正在离开目录 `/home/Dvsdk/DM365/psp/u-boot-2010.12/common'
make[1]: *** [common/libcommon.o] 错误 2
make[1]:正在离开目录 `/home/Dvsdk/DM365/psp/u-boot-2010.12'
make: *** [u-boot] 错误 2
chmod: 无法访问"/home/Dvsdk/dm365/psp/u-boot-2010.12/u-boot.img": 没有那个文件或目录
Chris Meng:
你好,
编译前是否有做make clean或者make dstclean?
工具路径在PATH里面是否配置正确?