Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

link error in compilation

link error in compilation

link error in compilation

Can you please help me with this problem in the Fortran developper Studio (Microsoft Visual Studio 97). I have a code with 90 subroutines each one in separated file,
I created a project (dynamic library file) after compilation there is an error:
C:\PROGRAM FILES\DEVSTUDIO\DF\LIB\msvcrt.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x39a5d3ad
Error executing link.exe.

how I can solve this problem

RE: link error in compilation

There are 3 modes of code generation:

single threaded     - uses libc.lib
multithreaded       - uses libcmt.lib
multithreaded dll   - uses msvcrt.lib

It looks like your build is set to use multithreaded dll.  Question is whether it is a multithreaded program.  If it isn't, change the code generation to single threaded.  Alternatively, just try multithreaded instead of multithreaded dll.  The only advantage that multithreaded dll gives you is a smaller library.  The problem is that it is slower to load and has to link with msvcrt.dll at run time: what MS call dynamic linking - hence DLL, Dynamic Link Library.

You end up with a bigger library but once it has been built it is the end of your problems.  If you choose multithreaded dll and go on to, say, a Vista system, your program will not run.  You need to pull over a whole load of msvcrt... libs from your build environment because stuff of the VS6 vintage does not come with XP or Vista.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close