- 论坛徽章:
- 0
|
[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]# |
|