Remember: when legacy linkers give cryptic errors, start with the filesystem, then the library integrity, and only then blame the compiler.
If the missing file is a static library ( .a ), test its integrity: rel relocation.h-1169- failed to open file