免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3416 | 回复: 2
打印 上一主题 下一主题

请教arpd的安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-18 22:22 |只看该作者 |倒序浏览
各位看官!有谁在fc6下装过,arpd.请帮下忙,谢谢了!
我在http://www.honeyd.org/tools.php上下载了arpd 的压缩包,但就是装不上!
在make 的时候提示:

arpd.c: 在函数 ‘arpd_send’ 中:
arpd.c:268: 错误:expected ‘)’ before string constant
arpd.c: 在函数 ‘arpd_lookup’ 中:
arpd.c:285: 错误:expected ‘)’ before string constant
arpd.c:294: 错误:expected ‘)’ before string constant
arpd.c:297: 错误:expected ‘)’ before string constant
arpd.c: 在函数 ‘arpd_recv_cb’ 中:
arpd.c:426: 错误:expected ‘)’ before string constant
make: *** [arpd.o] 错误 1

论坛徽章:
0
2 [报告]
发表于 2007-03-18 23:42 |只看该作者
原帖由 fklk 于 2007-3-18 22:22 发表于 1楼  
各位看官!有谁在fc6下装过,arpd.请帮下忙,谢谢了!
我在http://www.honeyd.org/tools.php上下载了arpd 的压缩包,但就是装不上!
在make 的时候提示:

arpd.c: 在函数 ‘arpd_send’ 中:
arpd.c:268 ...


改一下 arpd.c 內容,加上 :

  1. #define __FUNCTION__ ""
复制代码


然後重新編譯。

--

论坛徽章:
0
3 [报告]
发表于 2007-03-19 08:55 |只看该作者

回复 #2 kenduest 的帖子

多谢大侠指点!我太菜了,还是没有搞定。修改了arpd.c后,
还是编译不成功:

autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
configure.in:5: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [stamp-h.in] 错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP