您的位置:首页 > 其它

Larbin learning (1)——How to compile and use larbin

2010-04-05 09:16 531 查看
Ubuntu 8.04

Q&A:

ERROR:

for d in utils interf fetch; do (cd $d; make dep-in); done
make[2]: Entering directory `/home/benbendy/larbin-2.6.3/src/utils'


solution:

the command of makedepend hasn't be used ,so,

sudo apt-get install xutils-dev


sudo ./configure


if compiling still can't go through,then changing
line 569-571 in the file of adns/internal.h :

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);


as
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);


if error still exists,please replace all
"#include <iostream.h>"

with
"#include <iostream>",

and replace "cerr" and "endl" with
"std::cerr" and "std::endl".
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: