- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I ran
c:program filesMicrosoft Platform SDKin make.
When makefile was executed to
$(LINKER) $** /exe:$@ $(OBJECT) /map $(LMAP) $(LIB) $(LFLAGS)
The following error message appears:
Fetal error cannot find ifconsol
xilink: error: problem during multi-file optimization compilation (code 1)
NMAKE : fetal error U1077: xilink.exe : return code 0x1
I have ifconsol.lib under c:program FilesIntelCompilerFortran9.1Ia32lib, which is inside the PATH.
Could someone tell me what I should do?
Wen
c:program filesMicrosoft Platform SDKin make.
When makefile was executed to
$(LINKER) $** /exe:$@ $(OBJECT) /map $(LMAP) $(LIB) $(LFLAGS)
The following error message appears:
Fetal error cannot find ifconsol
xilink: error: problem during multi-file optimization compilation (code 1)
NMAKE : fetal error U1077: xilink.exe : return code 0x1
I have ifconsol.lib under c:program FilesIntelCompilerFortran9.1Ia32lib, which is inside the PATH.
Could someone tell me what I should do?
Wen
コピーされたリンク
4 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The lib folder has to be in the LIB environment variable, not PATH. This is set up automatically if you use the "Build Environment" shortcuts provided when the compiler is installed or if you run ifortvars.bat from your command prompt (or if you install the compiler and ask that system environment variables be updated.)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The error occurred after I ran ifortvars.bat. I was in the DOS window under the title of Inter Visual Fortran Compiler 9.1.013 Build Environment for 32-bit Applications.
When I type Set, the directory C:Program FilesIntelCompilerFortran9.1Ia32Lib appears as the first item in both Lib= and Path= lists.
Under Control Panel/System/System Properties/Environment Variables/System Variables/, I edit LIB and found %IFORT_COMPILER91%IA32Lib at the end of the list in Variable Value.
Then I tried the same makefile on the sample code int_sin.f90 provided by IVF. It compiled and then gave the same error message during the linking process. The error message also states xilink: error: problem during multi-file optimization compilation (code 1) for this single-file compilation/link.
There is no problem to generate int_sin.exe by using ifort on the command line. The problem occurred when I use nmake. Is it correct to use LINKER = xilink.exe?
Wen
When I type Set, the directory C:Program FilesIntelCompilerFortran9.1Ia32Lib appears as the first item in both Lib= and Path= lists.
Under Control Panel/System/System Properties/Environment Variables/System Variables/, I edit LIB and found %IFORT_COMPILER91%IA32Lib at the end of the list in Variable Value.
Then I tried the same makefile on the sample code int_sin.f90 provided by IVF. It compiled and then gave the same error message during the linking process. The error message also states xilink: error: problem during multi-file optimization compilation (code 1) for this single-file compilation/link.
There is no problem to generate int_sin.exe by using ifort on the command line. The problem occurred when I use nmake. Is it correct to use LINKER = xilink.exe?
Wen
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Since you are using a beta version, I would ask that you submit a support request to Intel Premier Support. Please attach a log of your command session plus the output of a SET command.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
This problem ended up being that the makefile defined the macro LIB which apparently hides the environment variable LIB. You learn something new every day...