I have an old C++ project and I'm having problem building it. For a certain file I receive the following kind of errors:
error: ‘atomic_t’ was not declared in this scope
And others for other identifiers like atomic_read, atomic_inc, etc. The file has an include for asm/atomic.h, but I cannot find the header file on my system. I'm using SUSE Linux Enterprise Desktop 11 and gcc 4.3.2.
Could there be some package that needs to be installed, or an alternative header to be included for those identifiers?