Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Linker error LNK1113: invalid machine type

Linker error LNK1113: invalid machine type

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Illuminus   USA  (3 posts)  Bio
Date Wed 12 Mar 2003 03:43 AM (UTC)
Message
I am trying to compile the SMAUG 1.4a source code that I downloaded from your site, and it compiles fine, (well, ther is one warning), but it halts with this linker error.

Can anybody offer some useful advice?

-Illuminus

"So long, and thanks for all the fish"
Top

Posted by Nick Gammon   Australia  (23,166 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 12 Mar 2003 05:38 AM (UTC)
Message
I got these messages from the MSDN library:

Linker Tools Error LNK1113
invalid machine type

The machine type specified in the object header is not valid. Probably the file is corrupt. Rebuild the object.

/MACHINE (Specify Target Platform)

Syntax
/MACHINE:{IX86|MIPS|ALPHA|ARM|MIPS|MIPSR41XX|PPC|SH3|SH4}

This option specifies the target platform for the program.

Usually, you do not need to specify the /MACHINE option. LINK infers the machine type from the .OBJ files. However, in some circumstances LINK cannot determine the machine type and issues a linker tools error LNK1113. If such an error occurs, specify /MACHINE.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,954 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.