evpp
evpp copied to clipboard
编译失败-make test失败
ubuntu18 虚拟机下 按照此文档 http://www.mamicode.com/info-detail-2395947.html 下载的各个lib包和编译。boost用的1.69.编译的时候报错。通过在handler_allocator中添加#include <boost/utility.hpp>解决。但是make test 的时候还是报错了。具体错误如下:
make test Running tests... Test project /home/ce/evppbuild/evpp/build Start 1: evpp_unittest 1/3 Test #1: evpp_unittest ....................***Exception: SegFault 10.49 sec Start 2: evpp_unittest_concurrentqueue 2/3 Test #2: evpp_unittest_concurrentqueue ....***Exception: SegFault 10.41 sec Start 3: evpp_unittest_boost_lockfree 3/3 Test #3: evpp_unittest_boost_lockfree .....***Exception: SegFault 10.79 sec
0% tests passed, 3 tests failed out of 3
Total Test time (real) = 31.69 sec
The following tests FAILED: 1 - evpp_unittest (SEGFAULT) 2 - evpp_unittest_concurrentqueue (SEGFAULT) 3 - evpp_unittest_boost_lockfree (SEGFAULT) Errors while running CTest Makefile:119: recipe for target 'test' failed
我的问题是测试一错误,其他正常