larbin编译和配置

./configure

sudo apt-get install xutils-dev

make

出现错误

parse.c:113: error: conflicting types for ‘adns__parse_domain’
internal.h:569: note: previous declaration of ‘adns__parse_domain’ was here

把adns下internal.h中第568—571行

adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
         vbuf *vb, parsedomain_flags flags,
          const byte *dgram, int dglen, int *cbyte_io, int max);
修改为:
adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
         vbuf *vb, adns_queryflags flags,
          const byte *dgram, int dglen, int *cbyte_io, int max);

make

出现错误

修改iostream错误

 

修改larbin.conf

修改option.h

make

 

posted @ 2013-03-15 21:35  scige  阅读(226)  评论(0编辑  收藏  举报