"An independent state is not being founded in northern Iraq, but on the contrary a continuously bleeding wound is being opened", he said.
Baghdad imposed a ban on all global flights to Kurdish airports on Friday prompting an exodus of foreigners. "You have taken France's former foreign minister on your right hand side, taken another Jew on your left hand side and you are working with them at the table", Erdogan said to the Kurdish leadership, warning "these are not your friends".
Rouhani also mentioned the Kurdistan vote at the press conference, saying, "We do not want to put pressure on the people of Iraqi Kurdistan, but some of the mistaken decisions taken by some of the leaders of this region have to be addressed".
The Kurdish regional president and longtime Talabani rival, Masoud Barzani, described him as a "comrade" in a statement posted to Twitter, also on Tuesday.
The militants' leader, Abu Bakr al-Baghdadi, who declared the caliphate from Mosul in mid-2014, released an audio recording last week that indicated he was alive, after several reports he had been killed.
Macron made the offer after meeting Iraqi Prime Minister Haider al-Abadi in Paris on Thursday in wide-ranging talks about French support for the fight against the Islamic State group and rebuilding Iraqi's economy. The Turkish leader had previously threatened to cut Kirkuk off from Ceyhan, but did not provide details on how such a measure would be carried out.
He called for joint Kurdish-Iraqi administration of Kirkuk province, but with Peshmerga under the authority of Baghdad's federal forces. The Peshmerga forces have played a key role in fighting the extremists in Iraq.
Abadi flew to Paris on Wednesday for a two-day visit in response to an invitation from French President Emmanuel Macron.
Iran and Turkey oppose the move toward statehood, which they see as a precedent that could encourage Kurdish separatists in their own countries.
The oil-dependent Kurdistan Region exports its oil to worldwide markets through a pipeline to Turkey's Ceyhan port. Turkey's President Recep Tayyip Erdogan has previously threatened to close the pipeline in retaliation for Kurdistan proceeding with the referendum despite warnings against it from Ankara, Baghdad, and the global community.
"We want Iraq to engage in national reconciliation with a view to maintaining its unity and stability", Macron said, stressing his country's support for Iraq's national sovereignty and territorial integrity. But both have been alarmed by the independence vote, fearing it will encourage separatism among their own Kurdish populations.
If Ankara did close the pipeline, it could cause risk Moscow's displeasure, with a Russian oil company having major investments in Iraqi Kurdistan.
For his part, Erdogan underscored the need for a powerful alliance between Iran and Turkey in the region.
"Unfortunately, in the past the Federal Government was not involved in oil exports from the region and export of goods through borders", the diplomat said.