- #1
Hamhiu
- 5
- 0
/tmp/ccUahLBZ.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
?? Thank you,
collect2: ld returned 1 exit status
?? Thank you,
This error typically means that there is an undefined reference to a function or variable in your code. It could also indicate that there is an incorrect or missing library or header file.
You are most likely getting this error because your code is referencing a function or variable that has not been defined. It could also be due to a missing or incorrect library or header file.
To fix this error, you will need to identify the undefined reference and ensure that it is properly defined in your code. You may also need to include the correct library or header file that contains the definition of the function or variable.
The library or header file that contains the definition of the function or variable may vary depending on your code and compiler. It is best to check the documentation for the specific function or variable you are referencing to determine which library or header file you need to include.
Yes, a typo or syntax error in your code could also result in this error. Make sure to carefully check your code for any errors in spelling or syntax.