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 ...
随机推荐
- 微信小程序 - 获取所在位置(省、市、区)
实现步骤 1. 获取当前经纬度 2. 调用腾讯(百度.高德)地图对应的请求地址,一般都会有独一的key, 譬如 腾讯地图调用地址: https://apis.map.qq.com/ws/geocode ...
- 在线sass编译器
工作中,我们可能遇到突发情况(无法安装考拉,gulp以及webpack以及其它的自动化工具),我们这时就要用即时编译工具了,那么它就是你的首选: http://tool.oschina.net/
- PL/SQL之DBMS_SQL程序包使用(1)(学习笔记)
dbms_sql程序包dbms_sql程序包是系统提供给我们的另一种使用动态SQL的方法:使用DBMS_SQL包实现动态的SQL的步骤如下:1.将要执行的SQL语句或者一个语句放到一个字符串变量中2. ...
- java 笔试之在线模拟
网站地址: https://www.nowcoder.com
- 【剑指offer】二分查找二维数组
1 2 3 4 5 6 7 8 9 3 3 1 2 3 4 5 6 7 8 9 10 3 3 12 2 3 4 5 6 7 8 9 10 例子输出: Yes No No 时间限制:1 秒 内存限制:3 ...
- Android Studio 1.0RC1版公布
Android Studio 1.0RC1 版本号公布. 下面是官网该版本号说明: Android Studio 1.0 Release Candidate 1 November 20th, 2014 ...
- Oracle常见的异常处理
总结了在操作数据库的时候常常遇见的Oracle异常以及处理方法. 代码 提示 备注 一般处理方法 ORA-01861 文字与格式字符串不匹配- ORA-00904 invalid column nam ...
- LR函数基础(二)
(一)用到的函数: (1) web_set_option() //重定向设置 (2)web_reg_save_param和custom_request都常于处理参数的动态生成. web_reg_s ...
- Spring mvc中@RequestMapping 6个基本用法小结
Spring mvc中@RequestMapping 6个基本用法小结 小结下spring mvc中的@RequestMapping的用法. 1)最基本的,方法级别上应用,例如: @RequestMa ...
- define() vs const 该如何选择?
使用 define(),除非考虑到可读性.类常量.或关注微优化 1.在 PHP 中是使用 define() 函数来定义常量,PHP 5.3.0 以后,PHP 中也能够使用 const 关键字来声明常量 ...