笨笨猫 发表于 2007-3-5 13:41:07

我想做个VSftpd服务器make就出错了~~~~

俺 下了VSFTPD代码包后 make就出现了:
tcpwrap.c:15:20: error: tcpd.h: 没有那个文件或目录
tcpwrap.c: In function 'vsf_tcp_wrapper_ok':
tcpwrap.c:28: error: storage size of 'req' isn't known
tcpwrap.c:29: warning: implicit declaration of function 'request_init'
tcpwrap.c:29: error: 'RQ_DAEMON' undeclared (first use in this function)
tcpwrap.c:29: error: (Each undeclared identifier is reported only once
tcpwrap.c:29: error: for each function it appears in.)
tcpwrap.c:29: error: 'RQ_FILE' undeclared (first use in this function)
tcpwrap.c:30: warning: implicit declaration of function 'fromhost'
tcpwrap.c:31: warning: implicit declaration of function 'hosts_access'
tcpwrap.c:28: warning: unused variable 'req'
make: *** 错误 1
我在网上查了下是没装 tcp_wrappers 这个东东但我机上好像有这个:tcp_wrappers-7.6-28mdk (我用的Mandirva2007在控制中心查的 )
了一个 就在咱们公社下的   又不会装      给 小菜指点指点吧      谢谢了

hohoxu_hao115 发表于 2007-3-5 16:29:05

tcpd.h这个头文件是谁提供的?

日月迁 发表于 2007-3-6 14:27:45

看起来好象和Tcp_wrapper有关,TCPD.H头文件好象是Tcp_wrapper编译出来的!

笨笨猫 发表于 2007-3-7 00:45:10

不知怎么解决为好

hohoxu_hao115 发表于 2007-3-7 11:41:04

应该是tcp_wraaper开发包提供的。
页: [1]
查看完整版本: 我想做个VSftpd服务器make就出错了~~~~