一,编译
这也好说,whahahaha,那是!因为从官方网站下下来的代码不能编译通过(linux gcc下)
./configure
make
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
gmake[1]: *** [parse.o] 错误 1
gmake[1]: Leaving directory `/home/leo/leo/larbin-2.6.3/adns'
make: *** [all] 错误 2
函数原型和定义不一致这个好改:
打开./adns/internal.h文件,把568-571行直接注释掉就行了。
阅读(401) | 评论(0) | 转发(0) |