The fighter that looked like the SR-71 was the A-12, this had a slightly different nose shape and better performance ( !!! ), I don't recall it being armed with a gun, only missiles. A-12 flew before the SR-71 and was only de-classified arround 1980's ( I think )
I always liked the English...