@
kdrx @
LazyZhu @
XiaoxiaoPu 您好!我交叉编译也遇到一些错误!是编译 tomato mips 平台的
参考:
https://github.com/shadowsocks/ChinaDNS交叉编译 ChinaDNS 出现以下错误:
make[1]: 正在进入目录 `/home/houzi/ChinaDNS'
Making all in src
make[2]: 正在进入目录 `/home/houzi/ChinaDNS/src'
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT local_ns_parser.o -MD -MP -MF .deps/local_ns_parser.Tpo -c -o local_ns_parser.o local_ns_parser.c
local_ns_parser.c: In function `local_ns_parserr':
local_ns_parser.c:92: structure has no member named `_msg_ptr'
local_ns_parser.c:97: structure has no member named `_msg_ptr'
local_ns_parser.c:103: structure has no member named `_msg_ptr'
local_ns_parser.c:106: structure has no member named `_msg_ptr'
local_ns_parser.c:107: structure has no member named `_msg_ptr'
local_ns_parser.c:111: structure has no member named `_msg_ptr'
local_ns_parser.c:111: structure has no member named `_msg_ptr'
local_ns_parser.c:112: structure has no member named `_msg_ptr'
local_ns_parser.c:112: structure has no member named `_msg_ptr'
local_ns_parser.c:118: structure has no member named `_msg_ptr'
local_ns_parser.c:122: structure has no member named `_msg_ptr'
local_ns_parser.c:122: structure has no member named `_msg_ptr'
local_ns_parser.c:123: structure has no member named `_msg_ptr'
local_ns_parser.c:123: structure has no member named `_msg_ptr'
local_ns_parser.c:124: structure has no member named `_msg_ptr'
local_ns_parser.c:128: structure has no member named `_msg_ptr'
local_ns_parser.c:129: structure has no member named `_msg_ptr'
local_ns_parser.c: In function `local_ns_setsection':
local_ns_parser.c:141: structure has no member named `_msg_ptr'
local_ns_parser.c:144: structure has no member named `_msg_ptr'
make[2]: *** [local_ns_parser.o] 错误 1
make[2]:正在离开目录 `/home/houzi/ChinaDNS/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/houzi/ChinaDNS'
make: *** [all] 错误 2