亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: keepalived make報錯 [打印本頁]

作者: 東風伴侶    時間: 2014-12-07 15:29
標題: keepalived make報錯
[root@web keepalived-1.1.6]# make
make -C lib || exit 1;
make[1]: Entering directory `/ftp/keepalived-1.1.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/ftp/keepalived-1.1.6/lib'
make -C keepalived
make[1]: Entering directory `/ftp/keepalived-1.1.6/keepalived'
make[2]: Entering directory `/ftp/keepalived-1.1.6/keepalived/core'
gcc -g -O2  -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Wstrict-prototypes -D_KRNL_2_2_ -D_WITH_LVS_ -D_WITH_VRRP_  -c layer4.c
In file included from ../include/check_api.h:29,
                 from layer4.c:27:
../include/check_data.h:38:27: error: linux/ip_masq.h: No such file or directory
../include/check_data.h:39:25: error: net/ip_masq.h: No such file or directory
In file included from ../include/check_api.h:29,
                 from layer4.c:27:
../include/check_data.h:113: error: ?.P_MASQ_TNAME_MAX?.undeclared here (not in a function)
layer4.c: In function ?.cp_socket_state?.
layer4.c:111: warning: pointer targets in passing argument 5 of ?.etsockopt?.differ in signedness
/usr/include/sys/socket.h:190: note: expected ?.ocklen_t * __restrict__?.but argument is of type ?.nt *?
make[2]: *** [layer4.o] Error 1
make[2]: Leaving directory `/ftp/keepalived-1.1.6/keepalived/core'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/ftp/keepalived-1.1.6/keepalived'
make: *** [all] Error 2
[root@web keepalived-1.1.6]#
作者: lbseraph    時間: 2014-12-08 11:47
本帖最后由 lbseraph 于 2014-12-08 11:48 編輯

回復 1# 東風伴侶

你系統(tǒng)安裝了對應的內(nèi)核開發(fā)包么?
   
作者: chenyx    時間: 2014-12-10 08:45
安裝kernel-devel包看看
作者: 東風伴侶    時間: 2014-12-10 19:22
謝謝大家的回復。  問題已經(jīng)解決,就是包的版本問題。




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2