Wireshark-dev: Re: [Wireshark-dev] Trouble building wireshark: unrecognized command
From: Pascal Heude <pascalheude@xxxxxxxxxxx>
Date: Thu, 13 Dec 2007 20:50:29 +0100
Hi,
The problem you have comes from the command line which calls the sed unix command. The option "-3" does not exist for sed. You may replace -3 by -e. I would also add double quote character (") after the first -e option, like this :
sed -e "s/@VERSION@/0.3.1/" -e "s/@HAVE_LIBZ@/#define HAVE_LIBZ 1/" < config.h.win32 >config.h

Pascal

Diaconou, Alex a écrit :


From: Diaconou, Alex
Sent: Thursday, December 13, 2007 10:33 AM
To: 'wireshark-dev@xxxxxxxxxxxxx'
Subject: Trouble building wireshark: unrecognized command

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


_______________________________________________ Wireshark-dev mailing list Wireshark-dev@xxxxxxxxxxxxx http://www.wireshark.org/mailman/listinfo/wireshark-dev



Windows Live Messenger 2008 vient de sortir, entièrement personnalisable ! Téléchargez gratuitement Messenger 2008