当前位置: 技术问答>linux和unix
Linux 安装ftp时出错
来源: 互联网 发布时间:2016-07-11
本文导语: sysutil.c: In function `vsf_sysutil_set_iptos_throughput': sysutil.c:678: error: `IPTOS_THROUGHPUT' undeclared (first use in this function) sysutil.c:680: error: `IPPROTO_IP' undeclared (first use in this function) sysutil.c:680: error: `IP_TOS' undeclared (firs...
sysutil.c: In function `vsf_sysutil_set_iptos_throughput':
sysutil.c:678: error: `IPTOS_THROUGHPUT' undeclared (first use in this function)
sysutil.c:680: error: `IPPROTO_IP' undeclared (first use in this function)
sysutil.c:680: error: `IP_TOS' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_activate_linger':
sysutil.c:687: error: storage size of 'the_linger' isn't known
sysutil.c:691: error: `SOL_SOCKET' undeclared (first use in this function)
sysutil.c:691: error: `SO_LINGER' undeclared (first use in this function)
sysutil.c:687: warning: unused variable `the_linger'
sysutil.c: In function `vsf_sysutil_deactivate_linger_failok':
sysutil.c:702: error: storage size of 'the_linger' isn't known
sysutil.c:705: error: `SOL_SOCKET' undeclared (first use in this function)
sysutil.c:705: error: `SO_LINGER' undeclared (first use in this function)
sysutil.c:702: warning: unused variable `the_linger'
sysutil.c: In function `vsf_sysutil_activate_noblock':
sysutil.c:712: error: `F_GETFL' undeclared (first use in this function)
sysutil.c:717: error: `O_NONBLOCK' undeclared (first use in this function)
sysutil.c:718: error: `F_SETFL' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_deactivate_noblock':
sysutil.c:729: error: `F_GETFL' undeclared (first use in this function)
sysutil.c:734: error: `O_NONBLOCK' undeclared (first use in this function)
sysutil.c:735: error: `F_SETFL' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_recv_peek':sysutil.c:747: warning: implicit declaration of function `recv'
sysutil.c:747: error: `MSG_PEEK' undeclared (first use in this function)
sysutil.c:748: error: `errno' undeclared (first use in this function)
sysutil.c:750: error: `EINTR' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_atoi':
sysutil.c:761: warning: implicit declaration of function `atoi'
sysutil.c: In function `vsf_sysutil_ulong_to_str':
sysutil.c:799: warning: implicit declaration of function `snprintf'
sysutil.c: In function `vsf_sysutil_octal_to_uint':
sysutil.c:853: warning: implicit declaration of function `isdigit'
sysutil.c: In function `vsf_sysutil_toupper':
sysutil.c:874: warning: implicit declaration of function `toupper'
sysutil.c: In function `vsf_sysutil_isspace':
sysutil.c:880: warning: implicit declaration of function `isspace'
sysutil.c: In function `vsf_sysutil_isprint':
sysutil.c:902: warning: implicit declaration of function `isprint'
sysutil.c:956: warning: unused parameter 'p_dir'
sysutil.c:61: error: storage size of `s_current_time' isn't known
……
……
……
sysutil.c:76: error: storage size of `s_sig_details' isn't known
sysutil.c:76: warning: 's_sig_details' defined but not used
make: *** [sysutil.o] 错误 1
找了好久都不知道到底是哪里出错了,请各位大虾帮帮忙,分不够再加,拜托了……
sysutil.c:678: error: `IPTOS_THROUGHPUT' undeclared (first use in this function)
sysutil.c:680: error: `IPPROTO_IP' undeclared (first use in this function)
sysutil.c:680: error: `IP_TOS' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_activate_linger':
sysutil.c:687: error: storage size of 'the_linger' isn't known
sysutil.c:691: error: `SOL_SOCKET' undeclared (first use in this function)
sysutil.c:691: error: `SO_LINGER' undeclared (first use in this function)
sysutil.c:687: warning: unused variable `the_linger'
sysutil.c: In function `vsf_sysutil_deactivate_linger_failok':
sysutil.c:702: error: storage size of 'the_linger' isn't known
sysutil.c:705: error: `SOL_SOCKET' undeclared (first use in this function)
sysutil.c:705: error: `SO_LINGER' undeclared (first use in this function)
sysutil.c:702: warning: unused variable `the_linger'
sysutil.c: In function `vsf_sysutil_activate_noblock':
sysutil.c:712: error: `F_GETFL' undeclared (first use in this function)
sysutil.c:717: error: `O_NONBLOCK' undeclared (first use in this function)
sysutil.c:718: error: `F_SETFL' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_deactivate_noblock':
sysutil.c:729: error: `F_GETFL' undeclared (first use in this function)
sysutil.c:734: error: `O_NONBLOCK' undeclared (first use in this function)
sysutil.c:735: error: `F_SETFL' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_recv_peek':sysutil.c:747: warning: implicit declaration of function `recv'
sysutil.c:747: error: `MSG_PEEK' undeclared (first use in this function)
sysutil.c:748: error: `errno' undeclared (first use in this function)
sysutil.c:750: error: `EINTR' undeclared (first use in this function)
sysutil.c: In function `vsf_sysutil_atoi':
sysutil.c:761: warning: implicit declaration of function `atoi'
sysutil.c: In function `vsf_sysutil_ulong_to_str':
sysutil.c:799: warning: implicit declaration of function `snprintf'
sysutil.c: In function `vsf_sysutil_octal_to_uint':
sysutil.c:853: warning: implicit declaration of function `isdigit'
sysutil.c: In function `vsf_sysutil_toupper':
sysutil.c:874: warning: implicit declaration of function `toupper'
sysutil.c: In function `vsf_sysutil_isspace':
sysutil.c:880: warning: implicit declaration of function `isspace'
sysutil.c: In function `vsf_sysutil_isprint':
sysutil.c:902: warning: implicit declaration of function `isprint'
sysutil.c:956: warning: unused parameter 'p_dir'
sysutil.c:61: error: storage size of `s_current_time' isn't known
……
……
……
sysutil.c:76: error: storage size of `s_sig_details' isn't known
sysutil.c:76: warning: 's_sig_details' defined but not used
make: *** [sysutil.o] 错误 1
找了好久都不知道到底是哪里出错了,请各位大虾帮帮忙,分不够再加,拜托了……
|
你系统中缺少了某些头文件...
|
这是make执行的结果,能不能把问题描述清楚一点。
|
缺少ftp需要的库
|
什么系统,试用yum等工具呢
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。