Wireshark-dev: Re: [Wireshark-dev] Build error: NMAKE : fatal error U1077: 'sed'
Date: Wed, 21 Nov 2007 10:11:46 -0600
To begin with,
 
From the output listed it looks like your using a flavor of Visual Studio 2005 (VS 8.0).  It is still recommended to use VS 6.
I have not tried using VS 2005 to build Wireshark.  I know that some developers on the "Wireshark-dev" list have successfully built Wireshark with VS 2005.  I don't remember if there are any special settings for the VS 2005 build.
 
I've kept my VS 6 installed just for Wireshark!!
 
Sorry I can't provide any insight.  Your problem does sound familiar. I know that it's been discussed previously.
 
Tim


From: Stage Ontw [mailto:stageontw@xxxxxxxxxxxxxxxxx]
Sent: Wednesday, November 21, 2007 9:52 AM
To: Cook, Timothy [EPM/WAT]
Subject: Re: [Wireshark-dev] Build error: NMAKE : fatal error U1077: 'sed'

Hi there,

I’m trying to build Wireshark on Windows XP. The first time I tried it worked fine, but after that every time I try to build the source I get an error. It’s the same error as Alex Diaconou talked about in http://www.mail-archive.com/wireshark-dev@xxxxxxxxxxxxx/msg07445.html . You replied in that topic that he should setup his build environment like in the developers guide. I did that the first time already, but the problem occurred. Have you got any idea what will solve my problem?

Thanks in advance,

Joost van Zoest

P.S. the output of “nmake -f Makefile.nmake all” is:

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762

Copyright (C) Microsoft Corporation.  All rights reserved.

        sed -e s/@VERSION@/0.99.6-MX/IP protocol V1.0/  -e "s/@HAVE_GNU_ADNS@/#d

efine HAVE_GNU_ADNS 1/"  -e "s/@HAVE_PCRE@/#define HAVE_LIBPCRE 1/"  -e "s/@HAVE

_KFW@/#define HAVE_MIT_KERBEROS 1/"  -e "s/@HAVE_NETTLE@//"  -e "s/@HAVE_LIBZ@/#

define HAVE_LIBZ 1/"  -e "s/@HAVE_LIBPCAP@/#define HAVE_LIBPCAP 1/"  -e "s/@HAVE

_PCAP_FINDALLDEVS@/#define HAVE_PCAP_FINDALLDEVS 1/"  -e "s/@HAVE_PCAP_DATALINK_

NAME_TO_VAL@/#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1/"  -e "s/@HAVE_PCAP_DATALI

NK_VAL_TO_NAME@/#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1/"  -e "s/@HAVE_PCAP_BRE

AKLOOP@//"  -e "s/@HAVE_LIBWIRESHARKDLL@/#define HAVE_LIBWIRESHARKDLL 1/"  -e "s

/@WPCAP_CONSTIFIED@/#define WPCAP_CONSTIFIED 1/"  -e "s/@HAVE_LIBGNUTLS@/#define

 HAVE_LIBGNUTLS 1/"  -e "s/@HAVE_LIBGCRYPT@/#define HAVE_LIBGCRYPT 1/"  -e "s/@H

AVE_LUA@/#define HAVE_LUA 1/"  -e "s/@HAVE_LUA_5_1@/#define HAVE_LUA_5_1 1/"  -e

 "s/@HAVE_AIRPCAP@/#define HAVE_AIRPCAP 1/"  -e "s/@HAVE_AIRPDCAP@/#define HAVE_

AIRPDCAP 1/"  -e "s/@HAVE_LIBPORTAUDIO@/#define HAVE_LIBPORTAUDIO 1/"  -e "s/@PO

RTAUDIO_API_1@//"  -e "s/@HAVE_NET_SNMP@/#define HAVE_NET_SNMP 1/"  < config.h.w

in32 > config.h

sed: -e _expression_ #1, char 24: unknown option to `s'

NMAKE : fatal error U1077: 'sed' : return code '0x1'

Stop.

 
 
CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify Stage Ontw by telephone or stageontw@xxxxxxxxxxxxxxxxx and delete the original transmission and its attachments without reading or saving in any manner.