facebook / rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.
http://rocksdb.org
GNU General Public License v2.0
28.09k stars 6.25k forks source link

`make db_bench` failed: No rule to make target 'monitoring/statistics.h', needed by 'tools/simulated_hybrid_file_system.o'. Stop. #12663

Closed eval-exec closed 1 week ago

eval-exec commented 3 months ago

Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

Expected behavior

Expect make db_bench succcess

Actual behavior

❯ make db_bench
$DEBUG_LEVEL is 1, $LIB_MODE is shared
Makefile:185: Warning: Compiling in debug mode. Don't use the resulting binary in production
make: *** No rule to make target 'monitoring/statistics.h', needed by 'tools/simulated_hybrid_file_system.o'.  Stop.

Steps to reproduce the behavior

On latest main branch commit:2eb404de1 execute make db_bench

hx235 commented 2 months ago

Can you do make clean first and see if it succeeds?