Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-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!

*Tek-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

Error in linking (MASM 6.11 I think)

Error in linking (MASM 6.11 I think)

Error in linking (MASM 6.11 I think)

I have an error that occurs during the linking of an .obj file with ml.exe.  The error is that the file link.exe can not be found, however, I'm in the same directory as ml.exe and masm.exe.  I'm thinking this has to do with environment variables but however, I do not know what exactly to set.  I'm using the option of writing for Microsoft NT systems and I have Visual C++ 6.0 previously installed.  I only did the first installation of MASM, but I'm hoping that included all necessary files for assembling and linking?  Any help or tutorials on this would be very much appreciated since I do not possess a system manual and my instructors do not remember enough about assembly to help me.  I'm sorry if this question has been answered before but I haven't seen it on this forum.  Thanks in advance for any help anyone can offer.

RE: Error in linking (MASM 6.11 I think)

as far as i remember, there should be smthng like setenv32.bat (?) in the VC Bin directory that is to set the variables. i also encountered "out of environment space" problem so check the varibales even if u have found and executed this stuff

hope this helps..

RE: Error in linking (MASM 6.11 I think)

Well I didn't find a setenv32.bat in the VC98\Bin directory, however I did find a vcvars32.bat and I ran that.  I no longer get the error about not finding link.exe but now I have acquired two new errors.  I'm using masm to assemble the programs and then I issued the command:
link p04defin.obj and I received the following errors:

p04defin.obj : warning LNK4033: converting object format from OMF to COFF

p04defin.obj : fatal error LNK1190: invalid fixup found, type 0x0001

Does this mean I have an incompatiable linker or do I need to issue certain options for the linker or this there something else wrong that I don't have a clue about?  Any further help would be appreciated.  

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 Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

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

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

Close Box

Join Tek-Tips® Today!

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

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close