You may like a read of "info gcc Compatibility" if you have gcc installed. C++ link compatibility has bitten more folks than you. I often have to install C++ compatibility libraries when the vendor of a 3rd party library linked against a different version of gcc than that provided by default by my platform vendor, just as an example. In other words, this variation varies also by compiler version, not just by compiler vendor. You may want to determine if a compatibility library package is available for your platform.
in reply to C compiler for xs