haproxy-1.6.11 make 报错
# make TARGET=linux26 USE_OPENSSL= ADDLIB=-lz
gcc -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.c
In file included from include/types/acl.h:,
from include/types/proxy.h:,
from include/proto/log.h:,
from include/common/cfgparse.h:,
from src/haproxy.c::
include/types/server.h::: error: openssl/ssl.h: No such file or directory
In file included from include/types/connection.h:,
from include/types/server.h:,
from include/types/acl.h:,
from include/types/proxy.h:,
from include/proto/log.h:,
from include/common/cfgparse.h:,
from src/haproxy.c::
include/types/listener.h:: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from include/types/acl.h:,
from include/types/proxy.h:,
from include/proto/log.h:,
from include/common/cfgparse.h:,
from src/haproxy.c::
include/types/server.h:: error: expected specifier-qualifier-list before ‘SSL_CTX’
In file included from src/haproxy.c::
include/proto/listener.h: In function ‘bind_conf_alloc’:
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘file’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘line’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘by_fe’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘by_fe’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘by_fe’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘by_fe’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘by_fe’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘arg’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘ux’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘ux’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘ux’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘listeners’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘listeners’
include/proto/listener.h:: error: ‘struct bind_conf’ has no member named ‘listeners’
In file included from src/haproxy.c::
include/proto/ssl_sock.h: At top level:
include/proto/ssl_sock.h:: error: expected declaration specifiers or ‘...’ before ‘SSL_CTX’
include/proto/ssl_sock.h:: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
include/proto/ssl_sock.h:: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
include/proto/ssl_sock.h:: error: expected ‘)’ before ‘*’ token
src/haproxy.c: In function ‘display_build_opts’:
src/haproxy.c:: error: expected ‘)’ before ‘OPENSSL_VERSION_TEXT’
src/haproxy.c:: warning: implicit declaration of function ‘SSLeay_version’
src/haproxy.c:: error: ‘SSLEAY_VERSION’ undeclared (first use in this function)
src/haproxy.c:: error: (Each undeclared identifier is reported only once
src/haproxy.c:: error: for each function it appears in.)
src/haproxy.c:: error: ‘OPENSSL_VERSION_NUMBER’ undeclared (first use in this function)
src/haproxy.c:: warning: implicit declaration of function ‘SSLeay’
src/haproxy.c: In function ‘deinit’:
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: warning: left-hand operand of comma expression has no effect
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘ca_sign_file’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘ca_sign_pass’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘file’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘arg’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: warning: type defaults to ‘int’ in declaration of ‘__ret’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
src/haproxy.c:: error: ‘struct bind_conf’ has no member named ‘by_fe’
make: *** [src/haproxy.o] Error
# yum install openssl-devel
#问题解决!
haproxy-1.6.11 make 报错的更多相关文章
- java 执行mysql 8.0.11存储过程报错The user specified as a definer ('root'@'10.%.%.%') does not exist解决办法
执行存储过程,报错 java.sql.SQLException: The user specified as a definer ('root'@'10.%.%.%') does not exist ...
- VS报错 error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义
链接报错: 错误 33 error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义 E:\客户问题\w_王鹏\EventLibTest_Ti ...
- MySQL--18 报错总结
报错1: 报错原因:MySQL的socket文件目录不存在. 解决方法: 创建MySQL的socket文件目录 mkdir /application/mysql-5.6.38/tmp 报错2: 报错原 ...
- 报错:Unable to load configuration. - action - file:/E:/apache-tomcat-8.0.37/webapps/20161102-struts2-3/WEB-INF/classes/struts.xml:11:73
第一种报错: 严重: Exception starting filter struts2Unable to load configuration. - action - file:/E:/apache ...
- 关于cocos2dx 3.0升级崩溃报错(unable to load native library) 和(Fatal signal 11 (SIGSEGV) at 0x00000000)
近期一直在Windows平台开发cocos-2dx游戏,期间做了一次引擎升级,升级到了3.0正式版本号.Windows平台上表现非常正常,没有出现什么问题. 上周五准备公布一个安卓包,编译非常轻松的就 ...
- [cocos2d-x][apk打包][Fatal signal 11][andriod]Eclipse编译Fatal signal 11报错-都是字符赋值惹的祸
流程重现: 使用coco2d-x制作了一个2048,在xcode模拟器执行以及在pad上真机调试都是没有问题的. 可是在使用eclipse调试打包android可以执行,可是进入游戏之后会在随机的地方 ...
- Atlas 安装报错 package Atlas-2.2.1-1.x86_64 is intended for a x86_64 architecture
安装atlas 报错: package Atlas-2.2.1-1.x86_64 is intended for a x86_64 architecture 百度了好久没找到相关信息,最后看见官网文档 ...
- 11.2.0.4 aix下运行第二个节点root.sh报错处理
第二个节点运行root.sh报错如下 Entries will be added to the /etc/oratab file as needed by Database Configuration ...
- php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system
centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf # 编辑库文件 /us ...
随机推荐
- wepy - Cannot read property 'Promise' of undefined
正当我们准备试探示例时,突然.... 造成这个错误有两个原因 (wepy以前的版本默认启动了Promise,自1.4.x以后需要手动开启) 1.未下载Promise 详情见启用文档:Promise ...
- rm 命令(转)
原文:http://www.cnblogs.com/peida/archive/2012/10/26/2740521.html rm命令.rm是常用的命令,该命令的功能为删除一个目录中的一个或多个文件 ...
- 简单说说Ubuntu利用bzr源码安装OpenERP7.0的操作步骤
1.修改Ubuntu国内更新源,具体方法自己baidu.google. 修改更新源后,更新系统 sudo apt-get update sudo apt-get upgrade 复制代码 2.安装Po ...
- Flash打开新窗口 被浏览器拦截问题 navigateToURL被拦截 真正试验结果
众所周知,打开新窗口以前经常被用作弹出广告用,而随着浏览器发展,现在估计除了ie6之外,基本都有广告拦截功能,最基本就是拦截这种非人为的弹出新窗口.我对js研究不深,我所了解就是,必须是用户操作的处理 ...
- java 复制Map对象(深拷贝与浅拷贝)
java 复制Map对象(深拷贝与浅拷贝) CreationTime--2018年6月4日10点00分 Author:Marydon 1.深拷贝与浅拷贝 浅拷贝:只复制对象的引用,两个引用仍然指向 ...
- Jquery各版本下载
jquery-2.1.4 (注!jquery-2.0以上版本不再支持IE 6/7/8) 百度引用地址 (推荐目前最稳定的,不会出现延时打不开情况) 百度压缩版引用地址: <script src= ...
- 网址URL中特殊字符转义编码
网址URL中特殊字符转义编码字符 - URL编码值空格 - %20" - %22# - %23% - %25& - %26( - %28) - %29+ - %2B, - %2C/ ...
- C++调用Java的Jar包
一个简单需求:用C++调用Jar包. 实现基本思路:调用CreateProcess API来启动cmd.exe执行jar包. 调用类CJarAppCall. JarAppCall.h #pragma ...
- Web Service-WSDL详解
WSDL指网络服务描述语言 (Web Services Description Language), 是一种用XML编写的文档, 用于描述Web Service和函数.参数以及返回值等; 文档内规定了 ...
- HDUOJ----Eddy's research I
Eddy's research I Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others ...