安装ipvsadm 用make编译出现错误解决方法
make 编译错误如下:
libipvs.c: In function ?.pvs_get_dests?.
libipvs.c:809: error: ?.LM_F_DUMP?.undeclared (first use in this function)
libipvs.c:813: warning: assignment makes pointer from integer without a cast
libipvs.c:829: error: too many arguments to function ?.pvs_nl_send_message?
libipvs.c: In function ?.pvs_get_service?.
libipvs.c:939: error: too many arguments to function ?.pvs_nl_send_message?
libipvs.c: In function ?.pvs_timeout_parse_cb?.
libipvs.c:972: warning: initialization makes pointer from integer without a cast
libipvs.c:986: error: ?.L_OK?.undeclared (first use in this function)
libipvs.c: In function ?.pvs_get_timeout?.
libipvs.c:1005: error: too many arguments to function ?.pvs_nl_send_message?
libipvs.c: In function ?.pvs_daemon_parse_cb?.
libipvs.c:1023: warning: initialization makes pointer from integer without a cast
libipvs.c:1048: warning: passing argument 2 of ?.trncpy?.makes pointer from integer without a cast
/usr/include/string.h:131: note: expected ?.onst char * __restrict__?.but argument is of type ?.nt?
libipvs.c:1051: error: ?.L_OK?.undeclared (first use in this function)
libipvs.c: In function ?.pvs_get_daemon?.
libipvs.c:1071: error: ?.LM_F_DUMP?.undeclared (first use in this function)
libipvs.c:1072: error: too many arguments to function ?.pvs_nl_send_message?
make[1]: *** [libipvs.o] Error 1
make[1]: Leaving directory `/usr/local/src/ipvsadm-1.26/libipvs'
make: *** [libs] Error 2
[root@centos1 ipvsadm-1.26]# yum install libn|* libpopt*
-bash: config_stream.c: command not found
Error: Nothing to do
解决方法1:yum install libnl* libpopt*
2.yum install popt-static
问题解决
转载于:https://blog.51cto.com/vqiao/1571200
安装ipvsadm 用make编译出现错误解决方法相关推荐
- 安装程序出现2502、2503错误解决方法
安装程序出现2502.2503错误解决方法 听语音 | 浏览:45460 | 更新:2014-03-20 19:32 | 标签:win8 1 2 3 4 5 6 7 分步阅读 在Win8中,在安装ms ...
- PS和AI安装后报代码为16的错误解决方法
PS和AI安装后报代码为16的错误解决方法 参考文章: (1)PS和AI安装后报代码为16的错误解决方法 (2)https://www.cnblogs.com/lotuses/p/10144397.h ...
- Win8安装程序出现2502、2503错误解决方法
在Win8中,在安装msi安装包的时候常常会出现代码为2502.2503的错误.其实这种错误是由于安装权限不足造成的,可以这种msi的安装包不像其他exe的安装程序,在安装包上点击"右键&q ...
- 全志A64内核编译一些错误解决方法
1. awk: line 2: function strtonum never defined 解决方法: $ sudo apt-get install gawk 2. /tools/pack/pct ...
- win10系统下安装Navicat for MySql 连接出现错误解决方法
在安装Navicat for Mysql完成后,连接时出现"1045-Acess denied for user:'root'@'localhost'(Using password:YES) ...
- 压缩包安装fitter库,gbk编码错误解决方法
安装fitter库 直接pip和conda install都安装不了(不知道为什么,反正找不到 在https://pypi.tuna.tsinghua.edu.cn/simple/fitter下载压缩 ...
- 安装程序时出现2502 2503错误解决方法
上次安装SVN客户端的时候用兼容模式成功搞定就没有折腾了, 这次安装python的时候又遇到的,其他设置都没有问题呀, 捣鼓折腾查到这错误主要是由于权限不足导致的,还以为是电脑问题. 解决办法: 1. ...
- [深度学习][原创]yolact编译DCNv2错误解决方法
项目地址:https://github.com/dbolya/yolact 使用yolact编译DCNv2提示 /media/howso/f/lu/myproj/yolact-master/exter ...
- AntiARP安装时出现windows installer package错误解决方法
今天给服务器安装,ARP防火墙(AntiARP)V4.2 破解版,快结束的时候,弹出错误:there is a problem with this windows installer package. ...
最新文章
- C++ 判断字符串是否为空
- Java单元测试之JUnit4详解
- PyTorch中模型的可复现性
- mysql pdo 获取最后一条sql_一条SQL如何在MYSQL中执行的
- Elasticsearch学习记录
- Javascript面向对象编程(二):构造函数的继承
- audio h5 src 变了之后_我在叩丁狼学H5
- pHp中文网零基础,零基础编程
- PE文件感染和内存驻留
- 40029错误{“errcode“:40029,“errmsg“:“invalid code, rid: 623bbdcd-3c97f4af-5a2c06d6“}
- lunix 安装python3
- Sparrow - Distributed, Low Latency Scheduling
- Binary Tree Right Side View 二叉树右视图
- HD2做Windows Phone 7开发机小记(上)
- docker镜像命令
- Part I. S1. 模糊集及其运算
- Macbook安装pkg
- Phyton Socket发送接收Modbus数组
- 字节跳动问我计算机网络,我一口气全答对!
- matlab土方计算,土方量计算的MATLAB工具箱研制