报错信息,如下:
Undefined symbols for architecture i386:
"_res_9_getservers", referenced from:
getdnssvraddrs(xpstl::vector&) in QAVSDK(xpnet.o)
"_res_9_ninit", referenced from:
getdnssvraddrs(xpstl::vector&) in QAVSDK(xpnet.o)
"_res_9_ndestroy", referenced from:
getdnssvraddrs(xpstl::vector&) in QAVSDK(xpnet.o)
ld: symbol(s) not found for architecture i386
此种报错,需要导入libresolv.9.tbd或者libresolv.tbd。必要时两种均导入
PS:黑体信息为关键信息,带有删除线的信息根据导入的第三方类库不同,提示信息不同。