Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool keepalived编译出错 #9

Open
yujianwei opened this issue Sep 30, 2017 · 0 comments
Open

tool keepalived编译出错 #9

yujianwei opened this issue Sep 30, 2017 · 0 comments

Comments

@yujianwei
Copy link

linux/types.h 和 sys/types.h 以及 stdint.h 类型定义冲突
错误如下(比较多,截了一段):
/usr/src/linux/include/linux/types.h:112:17: error: conflicting types for ‘u_int64_t’
typedef __u64 u_int64_t;
^
In file included from /usr/include/sys/uio.h:23:0,
from /usr/include/sys/socket.h:26,
from /usr/include/netinet/in.h:23,
from /usr/include/netdb.h:27,
from ../include/layer4.h:30,
from layer4.c:24:
/usr/include/sys/types.h:203:1: note: previous declaration of ‘u_int64_t’ was here
__u_intN_t (64, DI);
^
In file included from ../include/../libipvs-2.6/ip_vs.h:12:0,
from ../include/check_data.h:38,
from ../include/check_api.h:27,
from layer4.c:25:
/usr/src/linux/include/linux/types.h:113:17: error: conflicting types for ‘int64_t’
typedef __s64 int64_t;
^
In file included from /usr/lib64/gcc/x86_64-suse-linux/4.8/include/stdint.h:9:0,
from /usr/include/netinet/in.h:22,
from /usr/include/netdb.h:27,
from ../include/layer4.h:30,
from layer4.c:24:
/usr/include/stdint.h:40:19: note: previous declaration of ‘int64_t’ was here
typedef long int int64_t;
^
In file included from ../include/../libipvs-2.6/ip_vs.h:12:0,
from ../include/check_data.h:38,
from ../include/check_api.h:27,
from layer4.c:25:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant