Project

General

Profile

Bug #16307

make check failure while can not find gmock/lib/libgmock_main.la

Added by Ji You almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
make test
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When run command as below to run tests.

cd src/
make check

Then got error below.

CXX      test/erasure-code/unittest_erasure_code_plugin-TestErasureCodePlugin.o
make[3]: * No rule to make target `../src/gmock/lib/libgmock_main.la', needed by `unittest_erasure_code_plugin'. Stop.
make[3]: Leaving directory `/var/www/html/new/youji/ceph/src'
make[2]:
[check-am] Error 2
make[2]: Leaving directory `/var/www/html/new/youji/ceph/src'
make[1]:
[check-recursive] Error 1
make[1]: Leaving directory `/var/www/html/new/youji/ceph/src'
make: *
[check] Error 2

A workround to fix this problem is:

cd gmock
make
cd ..
make check

History

#1 Updated by Loïc Dachary almost 8 years ago

  • Target version deleted (v10.2.2)

#2 Updated by Josh Durgin almost 7 years ago

  • Status changed from New to Closed

cmake used in master should fix this

Also available in: Atom PDF