This is our old Q&A Site. Please post any new questions and answers at

When I run "nmake -f Makefile.nmake all" to build Wireshark for the very first time I got a pop-up from Windows saying "Microsoft Resource File To COFF Object Conversion Utility ha stopped working", and so build fails. In the command prompt where I was doing the build I see the following.

link -nologo -debug -incremental:no -opt:ref -def:win32/zlib.def -dll -implib:zdll.lib -out:zlib1.dll -base:0x5A4C0000 adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj gzwrite.obj infback.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj inffas32.obj match686.obj zlib1.res Creating library zdll.lib and object zdll.exp LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x463' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.

I have followed Wireshark Developer's Guide to set up my Win32 build environment. I followed all the instructions to download all the necessary tools, verified the tools, and did a distclean first. I have 32-bit Vista and MSVSC++ 10 Express Edition. I also ran "sfc /scannow" to bring all Windows system files up to date.

Anyone has seen this problem before? Any known solution? All suggestions are welcomed!



asked 23 Sep '12, 12:05

Chris%20Wang's gravatar image

Chris Wang
accept rate: 0%

Was able to fix the problem. I think the problem was I had Visual Studio Express 2012 before. Since Wireshark Developer's Guide recommends using VC2010 Express Ed instead, so I uninstalled VC2012 first and then I installed VC2010. It looks like VC2012 was uninstalled fine, but it left behind .NET 4.5 and a bunch of other stuff (many SQL 2012 components). It looks like Wireshark woldn't build under .NET 4.5. So I manually uninstalled .NET 4.5 and other modules that VC2012 uninstallation didn't remove and also uninstall VC2010. Once that's done, I reinstalled VC2010 (which installed .NET 4.0) and now I was able to build Wireshark successfully without seeing that "Microsoft Resource File To COFF Object Conversion Utility has stopped working" error again.


permanent link

answered 23 Sep '12, 16:58

Chris%20Wang's gravatar image

Chris Wang
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 23 Sep '12, 12:05

question was seen: 5,640 times

last updated: 23 Sep '12, 16:58

p​o​w​e​r​e​d by O​S​Q​A