Added multiple definition and undefined symbol checks to linker.