Rate This Document
Findability
Accuracy
Completeness
Readability

"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