Karl Nehammer says he will resign in the coming days after talks on forming a government without the far right break up.