Last thing I can think of is double check and make sure there's no -lxxx on your command line at all. Maybe there was a left over one. But if it isn't that, I don't know... hopefully someone else will be of more help.