TI中文支持网
TI专业的中文技术问题搜集分享网站

在CCS5.2上运行C6678的client程序时报错?

Description Resource Path Location Type
#20 identifier "SOCK_RAWETH" is undefined client.c /client_evmc6678l line 961 C/C++ Problem
#20 identifier "SOCK_RAWETH" is undefined client.c /client_evmc6678l line 822 C/C++ Problem
#20 identifier "AF_RAWETH" is undefined client.c /client_evmc6678l line 961 C/C++ Problem
#20 identifier "AF_RAWETH" is undefined client.c /client_evmc6678l line 822 C/C++ Problem

Wei Liu8:

源程序

#undef TEST_RAW_NC#undef TEST_RAW_SEND#undef TEST_RAW_RECV

现在放开了

#define TEST_RAW_NC#define TEST_RAW_SEND#define TEST_RAW_RECV

Description Resource Path Location Type#20 identifier "SOCK_RAWETH" is undefined client.c /client_evmc6678l line 961 C/C++ Problem#20 identifier "SOCK_RAWETH" is undefined client.c /client_evmc6678l line 822 C/C++ Problem#20 identifier "AF_RAWETH" is undefined client.c /client_evmc6678l line 961 C/C++ Problem#20 identifier "AF_RAWETH" is undefined client.c /client_evmc6678l line 822 C/C++ Problem

Wei Liu8:

回复 Andy Yin1:

谢谢!已经解决了,不知道为什么程序里没有包含#include <socket.h>,加入之后就编译通过了!

赞(0)
未经允许不得转载:TI中文支持网 » 在CCS5.2上运行C6678的client程序时报错?
分享到: 更多 (0)