在vxWorks5.4升级到vxWorks5.5.1的过程中,可能会遇到下面的错误:
D:\Tornado2.2\target\h\make\rules.x86-win32:35: warning: overriding commands for target `depend.PNSU'
D:\Tornado2.2\target\h\make\rules.x86-win32:35: warning: ignoring old commands for target `depend.PNSU'
D:\Tornado2.2\target\h\make\rules.x86-win32:55: warning: overriding commands for target `target.html'
D:\Tornado2.2\target\h\make\rules.x86-win32:55: warning: ignoring old commands for target `target.html'
D:\Tornado2.2\target\h\make\rules.x86-win32:60: warning: overriding commands for target `docs'
D:\Tornado2.2\target\h\make\rules.x86-win32:60: warning: ignoring old commands for target `docs'
D:\Tornado2.2\target\h\make\rules.x86-win32:80: warning: overriding commands for target `int_target.html'
D:\Tornado2.2\target\h\make\rules.x86-win32:80: warning: ignoring old commands for target `int_target.html'
D:\Tornado2.2\target\h\make\rules.x86-win32:85: warning: overriding commands for target `int_docs'
D:\Tornado2.2\target\h\make\rules.x86-win32:85: warning: ignoring old commands for target `int_docs'
在makefile文件的最后是否有下面的语句
include $(TGT_DIR)/h/make/rules.bsp
include $(TGT_DIR)/h/make/rules.$(WIND_HOST_TYPE)
如果有,请只保留第一句,第二句在vxWorks5.5.1以后已经没有意义,留在makefile中会引起编译错误。另外makefile开始部分的以下两句也可以删除:
include $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)
include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)
阅读(1255) | 评论(0) | 转发(0) |