报错: ‘bufferevent_rate_limit_group’ has not been declared

2016年7月27日 | 分类: 【技术】

当编译spdylay时,make报错:

In file included from shrpx_config.cc:42:
shrpx_ssl.h:50: error: ‘bufferevent_rate_limit_group’ has not been declared

参考:http://www.360doc.com/content/13/0729/21/13308646_303435912.shtml
参考:http://www.wangafu.net/~nickm/libevent-book/Ref6a_advanced_bufferevents

暂时找不到任何参考资料,这个问题发生在CentOS5上,在CentOS7上都正常。

输入:

cat /proc/version

输出:

Linux version 2.6.32-642.3.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Tue Jul 12 18:30:56 UTC 2016