A four-story building collapsed in western India on Sunday, killing eight people and injuring another 12 after a warning to evacuate days before went unheeded, a local administrator said.

The building -- which housed a hotel and a bank in the city of Ahmadabad -- apparently was weakened when a foundation for a new building was dug nearby, said I.P. Gautam, a municipal commissioner.

People were asked to evacuate the building three days ago after authorities noticed a tilt in its structure, he said.

Those killed were mainly hotel workers and some guests who were staying there despite the warning, Gautam said.

Rescuers removed the bodies and pulled the injured from the debris, he said.

The 12 injured were hospitalized, most in serious condition, in Ahmadabad, a major city in western Gujarat state.

Rescue work was continuing as more people were feared trapped in the rubble, he said.