@mrkapqa this one is related to gcc-4.7. More of a pain.
stackoverflow.com
It can still be worked around with manual intervention it seems.
Within the compilation output, is there something in the form
or anything look-alike? If so, put it here as well.
I think you're nearly there, but if you want to give up and try wicknix's suggestion then it's okay.
Otherwise i'll give a few extra steps so the build can succeed. But honestly it's more involved.

std::atomic library dependency (gcc 4.7.3)
I've been trying to compile with std::atomic, and I'm getting unresolved references to __atomic_load, __atomic_store, and __atomic_store_16. I know in a later version of gcc (4.8+?) you include -
It can still be worked around with manual intervention it seems.
Within the compilation output, is there something in the form
Code:
In the directory XYZ:
the command "(usually very long ZXY)" failed with error X
or anything look-alike? If so, put it here as well.
I think you're nearly there, but if you want to give up and try wicknix's suggestion then it's okay.
Otherwise i'll give a few extra steps so the build can succeed. But honestly it's more involved.