我要评分
获取效率
正确性
完整性
易理解

"ld returned 1 exit status" Displayed When Compiling RocksDB

Symptom

The error message "ld returned 1 exit status" is displayed when compiling RocksDB.

Key Process and Cause Analysis

The make release compile command has been executed before the test, causing a conflict.

Conclusion and Solution

  1. Clear the related files generated during the last compilation.
    make clean
  2. Run the compile command again.
    make db_stress -j 4