- 论坛徽章:
- 0
|
fc6下装不上arpd,
./configure:
ok..
fedora# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include -c arpd.c
arpd.c: In function ‘arpd_send’:
arpd.c:268: error: syntax error before string constant
arpd.c: In function ‘arpd_lookup’:
arpd.c:285: error: syntax error before string constant
arpd.c:294: error: syntax error before string constant
arpd.c:297: error: syntax error before string constant
arpd.c: In function ‘arpd_recv_cb’:
arpd.c:426: error: syntax error before string constant
make: ** [arpd.o] Erro 1
我试过修改arpd.c,并在arpd.c中加上一句:
#define __FUNCTION__ ""
还是不行,
我又把arpd.c中的所有“_FUNCTION__ ”都删除,也不行。
我去Honeyd Discussion Forums(([url]http://www.honeyd.org/phpBB2/viewtopic.php?t=400[/url])上找了一下,按照他们的办法还是行不通,
也试过安装rpm格式的arpd,但是提示少了一个libdnet.1. 伤心!
有个人用打patch的方法解决(http://www.honeyd.org/phpBB2/viewtopic.php?t=367&highlight=arpd)。但是我不知道如何打patch.
高手请帮帮我。谢谢!
[ 本帖最后由 fklk 于 2007-3-19 21:59 编辑 ] |
|