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

Spawning error in link.exe

rselzer
Beginner
1,217 Views
I'm using an older version of DVF, version 6.6, and a new program I'm developing compiles everything fine but comes up with the message "SPAWNING ERROR LINK.EXE" I'm kind of baffled. So far, I've only found posted messages about this error coming up as acompile error. Anyone have any suggestions as where to look for this problem? Thanks in advance.

Bob Selzer
0 Kudos
5 Replies
Steven_L_Intel1
Employee
1,217 Views
Is that the actual text of the message? I'd expect it to say "Error spawning link.exe". The process of building your application has two phases. First, all the source files are compiled into object files. Second, all the object files are linked into an executable. It is this second phase that is going wrong.

First, does link.exe exist in C:Program FilesMicrosoft Visual StudioVC98BIN ? Second, is that directory listed under Tools > Options > Directories > Executable files?
0 Kudos
rselzer
Beginner
1,217 Views
Is that the actual text of the message? I'd expect it to say "Error spawning link.exe". The process of building your application has two phases. First, all the source files are compiled into object files. Second, all the object files are linked into an executable. It is this second phase that is going wrong.

First, does link.exe exist in C:Program FilesMicrosoft Visual StudioVC98BIN ? Second, is that directory listed under Tools > Options > Directories > Executable files?

0 Kudos
Steven_L_Intel1
Employee
1,217 Views
Please try your post again - it came through as blank.
0 Kudos
rselzer
Beginner
1,217 Views
Quoting - rselzer

Thanks for the quick response about my spawning error problem. You were indeed correct that the actual message was "spawning error in link." Access to link.exe was OK. The problem turned out to be an error in my allocation of common. I found that out when after almost randomly changingthe Project Settings, thefollowing message came up: "error: One EQUIVALENCE set contains objects from different COMMON blocks."
Thenthe error was perfectly obvious, easily solved, after only three horrible days. Thanks again for your response.
0 Kudos
Steven_L_Intel1
Employee
1,217 Views

I can't imagine that a compile error would cause an "error spawning link.exe" message. In fact, if you got the compile error, it would not have tried to link at all. In any event, I'm glad to hear you've straightened it out.
0 Kudos
Reply