evpp icon indicating copy to clipboard operation
evpp copied to clipboard

编译失败-make test失败

Open Arielce opened this issue 5 years ago • 1 comments

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

Arielce avatar Aug 02 '19 01:08 Arielce

我的问题是测试一错误,其他正常

dinglizhi avatar Dec 16 '21 14:12 dinglizhi