Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Linking Error in Visual Studio 2008

jaeger0
Beginner
493 Views
Since I installed the new compiler I get, each second time I compile the following Error. This is the case for some projects, for some not.

Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2008, 11.0.3452.2008, Copyright (C) 2002-2008 Intel Corporation
* Other names and brands may be claimed as the property of others.

Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.0 Package ID: w_cprof_p_11.0.066


Linking...
1>LINK : fatal error LNK1000: Internal error during IncrBuildImage
1> Version 9.00.21022.08
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 00FDFCF7 (00F60000) "c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\link.exe"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 008BD670
1>CONTEXT:
1> Eax = 405B2614 Esp = 0015EB04
1> Ebx = 4000817C Ebp = 0015EB2C
1> Ecx = 008BD670 Esi = 405B2460
1> Edx = 0015EB1C Edi = 00F6D6C0
1> Eip = 00FDFCF7 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
1>
1>Build log written to "file://C:\\VSim_intel\\Devellopement\\Vsim3\\Debug\\BuildLog.htm"
1>Vsim3 - 1 error(s), 4 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

0 Kudos
2 Replies
mecej4
Honored Contributor III
493 Views
You will receive a more complete response later in the day from one of the Intel people, but here are a couple of items that you may look at.

If you installed the "new compiler", meaning the current one, the version number should be Version 12.0.4.196 Build 20110427 or something similar. There were several releases of Version 11.1 of the Fortran compiler earlier, whereas you are showing Version 11.0.3452. That is about two years old.

The linker is exiting with error code C0000005, which is "access violation".

Based on these symptoms, I suspect that you have a corrupted installation where a mix of old and new tools from different releases are being run, and are failing to work together.

It would help quite a bit if you were to repeat one of these failed runs, and attached the resulting BuildLog.htm file in your response.
0 Kudos
Steven_L_Intel1
Employee
493 Views
mecej4 has some good suggestions. I would suggest at a minimum: Uninstall Intel Fortran, do a "Repair" on Visual Studio 2008 from Control Panel > Add or Remove Programs, then reinstall Fortran. Ideally you should install a newer version of the compiler, but the one you have should work with VS2008.
0 Kudos
Reply