views:

3433

answers:

4

I am trying to recompile solution file for memcached project on Windows 7 64 bit with Visual Studio 2008 and got the following error:

1>LINK : fatal error LNK1000: Internal error during IncrBuildImage
1>  Version 9.00.21022.08
1>  ExceptionCode            = C0000005
1>  ExceptionFlags           = 00000000
1>  ExceptionAddress         = 001FFCF7 (00180000) "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe"
1>  NumberParameters         = 00000002
1>  ExceptionInformation[ 0] = 00000000
1>  ExceptionInformation[ 1] = 011BD670
1>CONTEXT:
1>  Eax    = 400DA210  Esp    = 0014EADC
1>  Ebx    = 4000815C  Ebp    = 0014EB04
1>  Ecx    = 011BD670  Esi    = 400DA098
1>  Edx    = 0014EAF4  Edi    = 0018D6C0
1>  Eip    = 001FFCF7  EFlags = 00010246
1>  SegCs  = 00000023  SegDs  = 0000002B
1>  SegSs  = 0000002B  SegEs  = 0000002B
1>  SegFs  = 00000053  SegGs  = 0000002B
1>  Dr0    = 00000000  Dr3    = 00000000
1>  Dr1    = 00000000  Dr6    = 00000000
1>  Dr2    = 00000000  Dr7    = 00000000 
+5  A: 

This is a bug in the linker. It may be the same as this problem. Try installing VS2008 Service Pack 1 if you don't have it as it contains that fix and others.

If this doesn't help, turning off incremental linking may be a workaround.

interjay
that's it indeed, had the same problem but the hotfix fixed it
stijn
A: 

Installing Windows SDK 7 for 64 bit platform resolved my problem. I simply didn't have it when I've tried to compile without it. My bad.

Roman Kagan
+3  A: 

This is a known issue Microsoft provided a hotfix https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11399 good luck

Nik