Started my 340, IT KNOCKS! fresh rebuild HELP!!

Leaky header or exhaust manifold gaskets ?