Thank you Karol, it worked. I had my two lists ordered differently and, in the bottom list, there was an extra entry which I removed and now the project compiles and links again. What I cannot understand is how this could happen to a project that I left working on friday and, without even touching the computer during the weekend, when resuming it on monday everything was wrong.
Thanks again!