undefined reference to `typeinfo for rocksdb::Customizable'
Closed this issue · 1 comments
Shehapp commented
Expected behavior
compile correctly
Actual behavior
undefined reference to `typeinfo for rocksdb::Customizable' collect2: error: ld returned 1 exit status
Steps to reproduce the behavior
GCC-7.4.0
rocks v9.5.2
Those are the commands I tried to compile the project:
make static_lib EXTRA_CXXFLAGS=-fPIC EXTRA_CFLAGS=-fPIC USE_RTTI=1 DEBUG_LEVEL=0
make static_lib EXTRA_CXXFLAGS=-fPIC EXTRA_CFLAGS=-fPIC USE_RTTI=0 DEBUG_LEVEL=0
both result in the same error.
Shehapp commented
sorry