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

error compiling wireshark after successful configuration


Trying to compile wireshark, I had several errors in the environment setup/configuration step that I worked through.

Now I am following the user guide at I am at the "msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln" step 2.2.12. The first error I see is

     Generating developer-guide.xml
     'LC_ALL' is not recognized as an internal or external command,
     operable program or batch file.
94>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppComm
   on.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\w

So, I looked up to see if other users had this problem, and they were told to ensure Cywin packages for AsciiDoc and DocbookXML were installed. But the funny thing is, the Cygwin package I was told to install as part of the setup doesn't have the option for those 2 packages. So I'm left wondering if I have some weird mismatch between tool and wireshark source versions and installation instructions.

Incidentally, I am compiling this in order to compile a dissector. I can post other captures as need be.

Thanks, Brett

asked 10 Apr '17, 08:41

szuderac's gravatar image

accept rate: 0%

edited 10 Apr '17, 09:03

One Answer:


You'll have to run Cygwin setup to install asciidoc and docbook-xml45 as per the instructions.

You can also use chocolatey (although I have had issues with this):

choco inst -y asciidoc docbook-xml45 -source Cygwin

answered 10 Apr '17, 10:12

grahamb's gravatar image

grahamb ♦
accept rate: 22%

For whatever reason, when I was installing cygwin direct from the setup guide before it didn't even have the option for those 2 components under text, it only had 3 elements. Now I'm trying it again and they are there, so I am attempting it again after that install goes through. Thanks.

(10 Apr '17, 11:23) szuderac


Your "answer" has been converted to a comment as that's how this site works. Please read the FAQ for more information.

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(11 Apr '17, 01:43) grahamb ♦