swspec didn't compile for C related call. Mark5access can be compiled with Cplusplus. So swspec was confused. In FileSource.h I undefined CplusPlus before include mark5access and then defined again after. No more external links errors after this quick fix.