The problem is that the mspdbsrv.exe process (which Microsoft uses to create PDB files) does not always terminate after linking. If you have a mixed environment where you compile and link some modules with VC7.0 and then some with VC8.0, sometimes the 8.0 mspdbsrv.exe process hangs around and interferes with subsequent 7.0 compiles.
Solution: use the Task Manager to terminate it.