# 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. iOS app集成支付宝支付流程及后台php订单签名处理

    iOS app集成支付宝支付流程 1: 开通支付宝商户 由公司去支付宝 https://b.alipay.com/order/serviceIndex.htm 签约支付宝开通支付宝商家: 2:商户支付 ...

  2. 【教程】HTML5+JavaScript编写flappy bird

         作者: 风小锐      新浪微博ID:永远de风小锐      QQ:547953539      转载请注明出处 PS:新修复了两个bug,已下载代码的同学请查看一下 大学立即要毕业了. ...

  3. 使用RunWith注解改变JUnit的默认执行类,并实现自已的Listener

    使用RunWith注解改变JUnit的默认执行类,并实现自已的Listener在平时的单元测试,如果不使用RunWith注解,那么JUnit将会采用默认的执行类Suite执行,如下类: public  ...

  4. mixin

    mixin.scss //-----------------------------------浏览器前缀----------------------------------------- //例子: ...

  5. LeetCode 37 Count and Say

    The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221 ...

  6. vs2013没有代码提法的一种解决办法

    把这两个勾去掉,然后关掉vs再打开,最后重新勾选上就行了.

  7. su: user tomcat does not exist

    http://www.cnblogs.com/allegro/p/5005352.html 问题在于 你的startup.sh 里面设置了 用户,你需要修改为root或者tomcat用户 这是开发 迁 ...

  8. C# 打开钱箱支持北洋、佳博、爱普生

    /// <summary> /// 执行开钱箱操作 /// 没钱箱或打印机原功能都可以正常使用 /// </summary> public void ExecuteOpenCa ...

  9. Unix环境高级编程(二十一)数据库函数库

    本章的内容是开发一个简单的.多用户数据库的C函数库.调用此函数库提供的C语言函数,其他程序可以读取和存储数据库中的记录.绝大部分商用数据库函数库提供多进程同时更新数据库所需要的并发控制,采用建议记录锁 ...

  10. TCP客户/服务器简单Socket程序

    建立一个 TCP 连接时会发生下述情形: 1. 服务器必须准备好接受外来的连接.这通常通过调用 socket.bind 和 listen 这三个函数来完成,我们称之为被动打开. 2. 客户通过调用 c ...