Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Trouble building wireshark: unrecognized command

From: "Diaconou, Alex" <alex.diaconou@xxxxxxxx>
Date: Thu, 13 Dec 2007 11:32:53 -0700

Hi,

 

I am currently trying to build wireshark using VC++ 2005 EE on Windows XP.  I was able to do it on my own machine, but I had to move it over to an offline machine to do some development.  I cannot run nmake setup since the system is offline, so I just copied the win32-lib folder from own successful intsall onto the offline machine.   I also copied the source that I was able to build successfully on my own machine, so the setup *should* be identical on the offline machine.  However, I get this

error when compiling and cannot figure out what the problem is:

 

 

Microsoft ® Program Maintenance Utility Version 8.00.50727.42

Copyright © Microsoft Corporation.  All rights reserved.

 

            sed –e s/@VERSION/@/0.3.1/ -3 “s/@HAVE_LIBZ@/#define HAVE_LIBZ 1/” < config.h.win32 > config.h

Unrecognized command: “s/@HAVE_LIBZ@/#define

NMAKE : fatal error U1077: ‘sed’ : return code ‘0x2’

Stop.

NMAKE : fatal error U1077: ‘”C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe”’ : return code ‘0x2’

Stop.

 

 

Any ideas?

 

Thanks,


Alex