It sounds like you've corrupted the libraries that are in the ModelSim
install. In the main ModelSim directory there is a do file called
rbldlibs.do. Open ModelSim and use the File->Change Directory menu
and browse to the main ModelSim directory and execute the .do file
with the "do rbldlibs.do" command. Once you've rebuilt these
libraries recompile your design.