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>,加入之后就编译通过了!