免费注册 查看新帖 |

Chinaunix

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

编译vsftp出现错误,请帮助!非常感谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-28 01:04 |只看该作者 |倒序浏览
我在solaris10 10/08下面编译vsftp,修改builddefs.h,更改了tcp_wrappers为define,编译后得到如下输出:\r\n\r\nbash-3.00# make\r\ngcc -c tcpwrap.c -O2 -Wall -W -Wshadow  -idirafter dummyinc\r\ntcpwrap.c:15:20: tcpd.h: 无此文件或目录\r\ntcpwrap.c: In function `vsf_tcp_wrapper_ok\':\r\ntcpwrap.c:28: error: storage size of \'req\' isn\'t known\r\ntcpwrap.c:29: warning: implicit declaration of function `request_init\'\r\ntcpwrap.c:29: error: `RQ_DAEMON\' undeclared (first use in this function)\r\ntcpwrap.c:29: error: (Each undeclared identifier is reported only once\r\ntcpwrap.c:29: error: for each function it appears in.)\r\ntcpwrap.c:29: error: `RQ_FILE\' undeclared (first use in this function)\r\ntcpwrap.c:30: warning: implicit declaration of function `fromhost\'\r\ntcpwrap.c:31: warning: implicit declaration of function `hosts_access\'\r\ntcpwrap.c:28: warning: unused variable `req\'\r\nmake: *** [tcpwrap.o] Error 1\r\n\r\n\r\ntcpd.h是个什么文件?要怎么得到?请问这是怎么回事啊?非常感谢!

论坛徽章:
0
2 [报告]
发表于 2009-02-28 21:10 |只看该作者
版本不匹配,没办法编译

论坛徽章:
0
3 [报告]
发表于 2009-03-02 22:56 |只看该作者
这个问题我绝对不是第一个遇到的,还望有能力的朋友帮帮忙,非常感谢!

论坛徽章:
0
4 [报告]
发表于 2009-03-03 00:29 |只看该作者
有现成的不用\r\n\r\n只能说楼主有时间有闲心

论坛徽章:
0
5 [报告]
发表于 2009-03-03 16:02 |只看该作者
ls的话怎解?\r\n现成的vsftp?还是现成的ftp?\r\n\r\n问题已经解决了。谢谢大家的关注!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP