工具/软件:Code Composer Studio
你(们)好
e2e.ti.com/.../2748404
我查看了此帖子并尝试调用 RtGetGateIP、但它会出现错误消息"未解析符号 RtGetGateIP、首先在./tcpEcho.obj 中引用"。 即使我包含#include 并添加了 include 搜索路径。
请帮我解决。
非常感谢!
艾伦
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
你(们)好
e2e.ti.com/.../2748404
我查看了此帖子并尝试调用 RtGetGateIP、但它会出现错误消息"未解析符号 RtGetGateIP、首先在./tcpEcho.obj 中引用"。 即使我包含#include 并添加了 include 搜索路径。
请帮我解决。
非常感谢!
艾伦
您好、Brandon
感谢您的回答。
我的包含如下内容。
#include #include #include #include #include #include #include #include /* NDK BSD 支持*//#include #include //http 网络服务器 #include //#include //#include #include #include //#include /*示例/板头文件*/ #include "Board.h"
和文件搜索路径。
错误消息
请帮我解决问题、非常感谢!
艾伦
您好、Allen、
您好像发现了一个错误! 很抱歉你遇到这个。 有两种快速的方法可以在有人遇到此错误之前解决此问题(这可能需要一些时间)。 我假设您需要启用强检查、但如果您可以不启用它、禁用 _STRONG_CHECKING 符号应能让您继续工作。 另一个保持 启用_Strong_checking 的选项是将 routeif.h 中的_Strong_checking 的#define 值复制并粘贴到您的代码中。
#define RtGetGateIP (h) (((RT *)(h)->IPGate)
第三个选项是为 RtGetGateIP()定义自己的函数主体。
在进一步的研究中、我可以(希望)为您提供更好的答案。 在 NDK 用户指南的第(1.2)节中、它讨论 了_STRONG_CHECKING 的使用。 如果要启用强检查、则需要重新编译 NDK 并将此宏作为编译器选项传递。 如果您需要进一步的帮助、请告知我们。
此致、
Brandon