# 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. PG里如何查看表,索引,表空间,数据库大小

    --查询一个索引大小 select pg_size_pretty(pg_relation_size('indexname)) --查看一张表及此它上的索引总大小select pg_size_prett ...

  2. jasperreport 通过javabean datasoource实现chart的报表

    继上次report的demo后,还在继续做着report方面的research,今天主要是实现了通过javabean datasource填充chart图表,通过webservice下载pdf格式的报 ...

  3. js生成pdf报表

    由于前台html已经动态生成报表,而且,前台有一个功能,一个date range组件,当你拖动的时候,报表会在不提交到后台的情况下动态变化.因此需要用到js生成生报表: 用到的组件: jquery.j ...

  4. 新浪面试题:只允许使用++操作符实现加减乘除运算(c语言版)

    //假定a,b都是正整数,只允许使用++而不使用-,--,*,/操作符的情况下实现加减乘除运算 //使用++实现加法: int jiafa(int a,int b){ for (int i=0;i&l ...

  5. 算法笔记_181:历届试题 回文数字(Java)

    目录 1 问题描述 2 解决方案   1 问题描述 问题描述 观察数字:12321,123321 都有一个共同的特征,无论从左到右读还是从右向左读,都是相同的.这样的数字叫做:回文数字. 本题要求你找 ...

  6. JBoss AS 7之基本配置和部署(The Return Of The King)

    1.4 JBoss As 7基本配置 1.4.1 IP訪问控制 因默认情况下,jboss仅可通过127.0.0.1和localhost来訪问.假设你想局域网中的其他IP来訪问,你能够在standalo ...

  7. js setTimeout 传递带参数的函数的2种方式

      js setTimeout 传递带参数的函数的2种方式 Created by Marydon on 2018年9月14日 1.准备工作 function sayYourName(param) { ...

  8. HDUOJ-----2571跳舞毯

    跳舞毯 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submiss ...

  9. jQuery:用 lightTreeview 实现树形分类菜单的功能 展开收缩分类代码

    最近在做前端开发项目中,需要用到树形结构.在网上查阅到了许多相应资源.其中觉得lightTreeview是一款非常不错的JQ树形分类菜单代码,结构简单,支持多级.还有详细的参数可以配置,以实现各种效果 ...

  10. Oracle自定义函数和存储过程示例,自定义函数与存储过程区别

    参考资料:http://www.newbooks.com.cn/info/60861.html oracle自定义函数学习和连接运算符(||) 贴一段中文文档示例,应该就可以开始工作了: --过程(P ...