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

I am getting compile time error when I am trying to compile the Windows source build in the Visual studio 2010.

Error 1 error U1065: invalid option '-' C:\Wireshark\NMAKE wireshark Error 2 error MSB3073: The command "nmake -f Makefile.nmake distclean" exited with code 2. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 33 6 wireshark

asked 12 Mar '12, 10:01

Krishna's gravatar image

Krishna
1111
accept rate: 0%

This type of question is better asked on the [email protected]wireshark.org mailing list.

Did you follow exactly the instructions in the Wireshark Developer's Guide ?

In any case, to maybe get an idea of what's happening, we'll need to start with a file showing the complete output from

nmake -f Makefile.nmake verify_tools
nmake -f Makefile.nmake distclean
(12 Mar '12, 10:24) Bill Meier ♦♦

Do you have MAKEFLAGS set in your environment?

A couple of references to others who had this same problem, albeit not specifically with Wireshark:

permanent link

answered 12 Mar '12, 17:44

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×17
×4

question asked: 12 Mar '12, 10:01

question was seen: 3,901 times

last updated: 12 Mar '12, 17:44

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