博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
haproxy-1.6.11 make 报错
阅读量:7235 次
发布时间:2019-06-29

本文共 5378 字,大约阅读时间需要 17 分钟。

 

# make TARGET=linux26 USE_OPENSSL=1 ADDLIB=-lzgcc -Iinclude -Iebtree -Wall  -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement       -DTPROXY -DCONFIG_HAP_CRYPT -DENABLE_POLL -DENABLE_EPOLL -DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX  -DCONFIG_HAPROXY_VERSION=\"1.6.11\" -DCONFIG_HAPROXY_DATE=\"2016/12/25\" \          -DBUILD_TARGET='"linux26"' \          -DBUILD_ARCH='""' \          -DBUILD_CPU='"generic"' \          -DBUILD_CC='"gcc"' \          -DBUILD_CFLAGS='"-O2 -g -fno-strict-aliasing -Wdeclaration-after-statement"' \          -DBUILD_OPTIONS='"USE_OPENSSL=1"' \           -c -o src/haproxy.o src/haproxy.cIn file included from include/types/acl.h:33,                 from include/types/proxy.h:38,                 from include/proto/log.h:32,                 from include/common/cfgparse.h:29,                 from src/haproxy.c:63:include/types/server.h:29:25: error: openssl/ssl.h: No such file or directoryIn file included from include/types/connection.h:30,                 from include/types/server.h:36,                 from include/types/acl.h:33,                 from include/types/proxy.h:38,                 from include/proto/log.h:32,                 from include/common/cfgparse.h:29,                 from src/haproxy.c:63:include/types/listener.h:127: error: expected specifier-qualifier-list before ‘SSL_CTX’In file included from include/types/acl.h:33,                 from include/types/proxy.h:38,                 from include/proto/log.h:32,                 from include/common/cfgparse.h:29,                 from src/haproxy.c:63:include/types/server.h:232: error: expected specifier-qualifier-list before ‘SSL_CTX’In file included from src/haproxy.c:94:include/proto/listener.h: In function ‘bind_conf_alloc’:include/proto/listener.h:130: error: ‘struct bind_conf’ has no member named ‘file’include/proto/listener.h:131: error: ‘struct bind_conf’ has no member named ‘line’include/proto/listener.h:133: error: ‘struct bind_conf’ has no member named ‘by_fe’include/proto/listener.h:133: error: ‘struct bind_conf’ has no member named ‘by_fe’include/proto/listener.h:133: error: ‘struct bind_conf’ has no member named ‘by_fe’include/proto/listener.h:133: error: ‘struct bind_conf’ has no member named ‘by_fe’include/proto/listener.h:133: error: ‘struct bind_conf’ has no member named ‘by_fe’include/proto/listener.h:135: error: ‘struct bind_conf’ has no member named ‘arg’include/proto/listener.h:137: error: ‘struct bind_conf’ has no member named ‘ux’include/proto/listener.h:138: error: ‘struct bind_conf’ has no member named ‘ux’include/proto/listener.h:139: error: ‘struct bind_conf’ has no member named ‘ux’include/proto/listener.h:141: error: ‘struct bind_conf’ has no member named ‘listeners’include/proto/listener.h:141: error: ‘struct bind_conf’ has no member named ‘listeners’include/proto/listener.h:141: error: ‘struct bind_conf’ has no member named ‘listeners’In file included from src/haproxy.c:109:include/proto/ssl_sock.h: At top level:include/proto/ssl_sock.h:46: error: expected declaration specifiers or ‘...’ before ‘SSL_CTX’include/proto/ssl_sock.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ tokeninclude/proto/ssl_sock.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ tokeninclude/proto/ssl_sock.h:76: error: expected ‘)’ before ‘*’ tokensrc/haproxy.c: In function ‘display_build_opts’:src/haproxy.c:314: error: expected ‘)’ before ‘OPENSSL_VERSION_TEXT’src/haproxy.c:316: warning: implicit declaration of function ‘SSLeay_version’src/haproxy.c:316: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)src/haproxy.c:316: error: (Each undeclared identifier is reported only oncesrc/haproxy.c:316: error: for each function it appears in.)src/haproxy.c:317: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)src/haproxy.c:317: warning: implicit declaration of function ‘SSLeay’src/haproxy.c: In function ‘deinit’:src/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1467: warning: left-hand operand of comma expression has no effectsrc/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1467: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1472: error: ‘struct bind_conf’ has no member named ‘ca_sign_file’src/haproxy.c:1473: error: ‘struct bind_conf’ has no member named ‘ca_sign_pass’src/haproxy.c:1478: error: ‘struct bind_conf’ has no member named ‘file’src/haproxy.c:1479: error: ‘struct bind_conf’ has no member named ‘arg’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1480: warning: type defaults to ‘int’ in declaration of ‘__ret’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’src/haproxy.c:1480: error: ‘struct bind_conf’ has no member named ‘by_fe’make: *** [src/haproxy.o] Error 1
# yum install openssl-devel#问题解决!

 

转载地址:http://xeofm.baihongyu.com/

你可能感兴趣的文章
Openlayer跨域问题解决
查看>>
Windows7下的免费虚拟机(微软官方虚拟机)
查看>>
Hibernate Criterion
查看>>
AFNetworking 使用方法(2.0)
查看>>
React Canvas:高性能渲染 React 组
查看>>
Mono产品生命周期
查看>>
FetchType与FetchMode的区别
查看>>
GCD && Run Loops学习笔记
查看>>
SQLite Learning、SQL Query Optimization In Multiple Rule
查看>>
java编程接口(5) ------ button和button组
查看>>
ActiveReport开发入门-列表的交互性
查看>>
第一pga 畸形消费分析
查看>>
IM-即时通讯技术概述
查看>>
Eclipse ADT的Custom debug keystore所需证书规格
查看>>
No package mysql-server available.
查看>>
[ios]sqlite轻量级数据库学习连接
查看>>
它们的定义ListView,实现Item除去滑动和滑出菜单效果
查看>>
2015第我35周三
查看>>
Web前端研发工程师编程能力飞升之路
查看>>
C#编程总结(十)字符转码
查看>>