日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

安装ipvsadm 用make编译出现错误解决方法

發布時間:2025/5/22 17 豆豆
生活随笔 收集整理的這篇文章主要介紹了 安装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编译出现错误解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。