Updated

Israel kept up its attacks in Gaza early Tuesday, targeting a Hamas stronghold, in the hours before a deadline set by terrorists holding a soldier, demanding that Israel release Palestinian prisoners and implying the soldier could be killed.

The deadline of 6 a.m. EDT neared with no word on the condition of the soldier, Cpl. Gilad Shalit, 19. Though Israel rejected negotiations or prisoner releases and Hamas insisted Israel would have to pay a price for the soldier's return, there were first signs of erosion of the hard lines on both sides.

Israeli Prime Minister Ehud Olmert rejected any negotiations with the terrorists, and the army pressed ahead with its Gaza offensive. Privately, though, some Israeli officials said the government had not ruled out any options to win freedom for the soldier.

Visit FOXNews.com's Mideast Center for more in-depth coverage.

CountryWatch: Israel

Hamas sent out mixed messages late Monday. In Gaza, government spokesman Ghazi Hamad expressed hope for a diplomatic solution.

But Osama Hamdan, one of the most senior members of the exiled Hamas leadership, ruled out a compromise and threatened to abduct more Israelis.

"If this operation does not lead to the release of prisoners now, let's postpone talk ... and we will continue resistance. Other (Israelis) might be taken prisoner," Hamdan, Hamas' representative in Lebanon, told Al Manar television.

Shalit was taken during a Hamas-directed cross-border raid June 25 on an Israeli army post at a Gaza crossing point. Two other soldiers were killed in the attack.

The militants holding the soldier — Hamas and two small groups affiliated with Hamas — announced their ultimatum early Monday on a Hamas-sponsored Internet Web site, giving Israel 24 hours to begin releasing prisoners, implying that they would kill the captive if their demands were not met.

Since the June 25 raid, however, there has been no word of Shalit's condition. The Israeli military said he was wounded in the Palestinian attack and was presumed to be alive.

In the hours before the deadline expired, Israel kept up its pressure on Hamas with airstrikes.

Early Tuesday, Israeli aircraft hit the student council building at the Islamic University in Gaza City, witnesses said, badly damaging it. No one was hurt. The university is a Hamas stronghold. The military said it hit a "compound used by terror groups for instructing and directing terrorists."

Also, Palestinian residents said several Israeli tanks and a bulldozer entered the northern Gaza town of Beit Hanoun after midnight. The military said they were still outside. Israel has been building up troops across from northern Gaza, preparing for an invasion.

A Hamas militant was killed and four wounded in an Israeli airstrike in Beit Hanoun in northern Gaza just after midnight, Palestinians said. Israel said its air force targeted Palestinians planting a bomb near soldiers' positions.

In the West Bank city of Ramallah early Tuesday, Israeli forces surrounded a building. The military said militants who abducted and killed an 18-year-old Israeli settler last week were holed up inside, and the goal was to arrest them.

Reacting to the Tuesday morning deadline, Olmert, who has repeatedly ruled out talks with the militants, said the government would not cave in to extortion.

"There will be no negotiations to release prisoners," his office said in a statement, adding that he holds the Hamas-led Palestinian Authority responsible for Shalit's safety.

But government and military officials said privately that Israel would pursue all options to get Shalit back. Israel has released prisoners before in lopsided exchanges for captured citizens or the dead bodies of soldiers killed in battle.

Mohammed Dahlan, a Palestinian legislator and close ally to moderate President Mahmoud Abbas, said the ultimatum was a negotiating tactic and that efforts to broker a compromise were continuing.

"What we care about now in the Gaza Strip is not to reach a point of no return," he said. "Everyone has an interest in getting out of this crisis."

The White House urged the militants to release Shalit.

"It is the responsibility of Hamas to return the Israeli soldier. That's how all this got started. We have also been encouraging Israel from the very beginning to practice restraint and continue to do so," White House press secretary Tony Snow said.

Many Palestinians say they do not wish Shalit to be harmed, but they back the demand to free some of the 9,000 Palestinian prisoners held by Israel.

"I think they should release the women and children and (the militants should) release the soldier. But without anything in return, they'll kill him," said Saked Abu Kosh, a 30-year-old pharmacist in the southern town of Rafah.

In Turkey, Prime Minister Tayyip Erdogan said he sent an envoy to Syria to discuss ways of solving the crisis with President Bashar Assad.

Also Monday, Israel closed the Karni cargo crossing into Gaza, citing a security threat, just a day after Israel reopened it to allow basic food products to reach the coastal strip. The crossing is the main gateway for goods to enter Gaza.