Skip to content

Instantly share code, notes, and snippets.

@inspire365
Last active August 22, 2017 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inspire365/c9ae5da78b947cd513ec6778f6e2a2c7 to your computer and use it in GitHub Desktop.
Save inspire365/c9ae5da78b947cd513ec6778f6e2a2c7 to your computer and use it in GitHub Desktop.
how to fix: collect2: ld returned 1 exit status
Today, I encoutner an error:
~~
Linking CXX executable ../bin/my_program_d
collect2: ld returned 1 exit status
make[2]: *** [../bin/my_program_d] Error 1
make[1]: *** [CMakeFiles/my_program_d.dir/all] Error 2
make: *** [all] Error 2
~~
I google but can not find a solution.
suddenly I found my disk is almost full, only 14MB left. I deleted some files and make done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment