# 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 报错的更多相关文章

  1. 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 ...

  2. VS报错 error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义

    链接报错: 错误 33 error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义 E:\客户问题\w_王鹏\EventLibTest_Ti ...

  3. MySQL--18 报错总结

    报错1: 报错原因:MySQL的socket文件目录不存在. 解决方法: 创建MySQL的socket文件目录 mkdir /application/mysql-5.6.38/tmp 报错2: 报错原 ...

  4. 报错: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 ...

  5. 关于cocos2dx 3.0升级崩溃报错(unable to load native library) 和(Fatal signal 11 (SIGSEGV) at 0x00000000)

    近期一直在Windows平台开发cocos-2dx游戏,期间做了一次引擎升级,升级到了3.0正式版本号.Windows平台上表现非常正常,没有出现什么问题. 上周五准备公布一个安卓包,编译非常轻松的就 ...

  6. [cocos2d-x][apk打包][Fatal signal 11][andriod]Eclipse编译Fatal signal 11报错-都是字符赋值惹的祸

    流程重现: 使用coco2d-x制作了一个2048,在xcode模拟器执行以及在pad上真机调试都是没有问题的. 可是在使用eclipse调试打包android可以执行,可是进入游戏之后会在随机的地方 ...

  7. 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 百度了好久没找到相关信息,最后看见官网文档 ...

  8. 11.2.0.4 aix下运行第二个节点root.sh报错处理

    第二个节点运行root.sh报错如下 Entries will be added to the /etc/oratab file as needed by Database Configuration ...

  9. 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 ...

随机推荐

  1. es6(const、let)

    首先我很好奇,明明现代浏览器支持ES6.ES7不是那么好,为何还推行? var let const 有何区别?它们之间的限制又是什么?且听我娓娓道来 1. var 和let的关系,为何推荐let? ( ...

  2. PHP表单-PHP $_POST 变量

    PHP $_POST 变量 在 PHP 中,预定义的 $_POST 变量用于收集来自 method="post" 的表单中的值. $_POST 变量 预定义的 $_POST 变量用 ...

  3. 策略模式(Strategy)简介

    一.策略模式(Strategy)简介 策略模式是行为模式. 行为模式:规定了各个对象应该具备的职责以及对象间的通信模式,它很好的规范了对象间调用和数据传递方式 策略模式适合于算法经常变化的情况 算法的 ...

  4. VIM显示utf-8文档乱码解决方法

    1.相关基础知识介绍 在Vim中.有四个与编码有关的选项,它们是:fileencodings.fileencoding.encoding和termencoding. 在实际使用中.不论什么一个选项出现 ...

  5. notify notifyAll 死锁

    从一个死锁分析wait,notify,notifyAll 泡芙掠夺者 关注 2017.08.24 22:00* 字数 1361 阅读 249评论 3喜欢 7赞赏 1 本文通过wait(),notify ...

  6. JSTL中c:forEach循环里的值的substr操作及对String操作的常用API

    <c:forEach items="${dataList}" var="item" varStatus="itemStatus"> ...

  7. SSO之安装CAS Server

    JA-SIG CAS(Central Authentication Service)为Web应用系统提供了单点登录服务.它的特性包括:一个开放和具有很好文档支持的协议:一个Java开源服务器组件:提供 ...

  8. Windwos在cmd如何复制文本

    生活的琐事,总是要解决. 01.Win+R打开运行窗口 cmd--回车 02. 勾选快速编辑模式 注意: 快速编辑模式就是可以Ctrl+c(复制).Ctrl+v(粘贴)

  9. 分布式缓存技术memcached学习系列(三)——memcached内存管理机制

    几个重要概念 Slab memcached通过slab机制进行内存的分配和回收,slab是一个内存块,它是memcached一次申请内存的最小单位,.在启动memcached的时候一般会使用参数-m指 ...

  10. RabbitMQ消息队列(二):"Hello, World"[转]

    2. Sending 第一个program send.cs:发送Hello world 到queue.正如我们在上篇文章提到的,你程序的第9行就是建立连接,第12行就是创建channel,第14行创建 ...