Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29429 ディスカッション

Link: error: problem during multi-file optimization compilation (code 1)

john_keenan
ビギナー
952件の閲覧回数

I am using IVF 9.1. Withina solution I have a dll project that compiles and links without error. Within the same solution I have a console application that uses the dll. The console applicationis giving the following error when linking:

Linking...

Link: error: problem during multi-file optimization compilation (code 1)

Link: error: problem during multi-file optimization compilation (code 1)

What does this error mean? Is there a workaround?

I read through the previous postings with the same error but they all had additional error messages that indicated the root cause of the problem. There was some mention of disabling "interprocedural optimizations" but I do not see a selection for this under Properties > Configuration Properties > Fortran > Optimization nor Properties > Configuration Properties >Linker > Optimization.

John

0 件の賞賛
2 返答(返信)
Steven_L_Intel1
従業員
951件の閲覧回数

This message is a generic one which indicates that the Intel pre-linker, xilink, didn't like "something". In most cases there is a compile error earlier in the build which created a bad object, but sometimes there is no earlier error. xilink is automatically used for linking whether or not you are using the interprocedural optimization options.

The first thing I suggest is to do a complete rebuild of the project and then check the build log in the Debug or Release folder (not the output that shows in VS.)

john_keenan
ビギナー
951件の閲覧回数
BuildLog.htm showed an error immediately before the two "problem during multi-file..." errors. It was a simple case of requiring surrounding quotes on the linker additionall dependencies.
返信