When trying to build Wireshark I get NMAKE : fatal error U1077: 'sed' : return code '0x1'
Or to be more precise I get :
c:\wireshark>nmake -f Makefile.nmake all
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved.
sed -e s/@[email protected]/1.7.1-Hg on the test patrol-/ -e "s/@[email protected]/#define HAVE_C_ARES 1/" -e "s/@[email protected]//" -e "s/@[email protected]/#define HAVE_MIT_KERBEROS 1/" -e "s/@[email protected]//" -e "s/@[email protected]/#define HAVE_LIBZ 1/" -e "s/@[email protected]/#define HAVE_LIBPCAP 1/" -e s/@[email protected]/#define HAVE_PCAP_FINDALLDEVS 1/" -e "s/@[email protected]/#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1/" -e s/@[email protected]/#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1/" -e "s/@[email protected]/#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1/" -e "s/@[email protected]//" -e "s/@[email protected]/#define HAVE_REMOTE 1/" -e "s/@[email protected]/#define HAVE_PCAP_REMOTE 1/" -e "s/@[email protected]/#define HAVE_PCAP_OPEN 1/"-e "s/@[email protected]/#define HAVE_PCAP_OPEN_DEAD 1/" -e "s/@[email protected]/#define HAVE_PCAP_LIST_DATALINKS 1/" -e "s/@[email protected]/#define HAVE_PCAP_FREE_DATALINKS 1/" -e "s/@[email protected]/#define HAVE_PCAP_SET_DATALINK 1/" -e "s/@[email protected]/#define HAVE_PCAP_SETSAMPLING 1/" -e "s/@[email protected]/#define HAVE_BPF_IMAGE 1/" -e "s/@[email protected]/#define HAVE_LIBWIRESHARKDLL 1/" -e "s/@[email protected]/#define HAVE_LIBGNUTLS 1/" -e "s/@[email protected]/#define HAVE_LIBGCRYPT 1/" -e "s/@[email protected]/#define HAVE_LUA 1/" -e "s/@[email protected]/#define HAVE_LUA_5_1 1/" -e"s/@[email protected]//" -e "s/@[email protected]/#define HAVE_AIRPCAP 1/" -e "s/@[email protected]//" -e "s/@[email protected]/#define HAVE_LIBPORTAUDIO 1/" -e "s/@[email protected]//" -e "s/@[email protected]/#define HAVE_LIBSMI 1/" -e "s/@[email protected]/#define HAVE_GEOIP 1/" -e s/@[email protected]/#define HAVE_GEOIP_V6 1/" -e "s/@[email protected]/#define INET6 1/" -e "s/@[email protected]/#define HAVE_NTDDNDIS_H 1/" -e "s/@[email protected]/#define PCAP_NG_DEFAULT 1/" -e "s/@[email protected]//" < config.h.win32 > config.h
sed: -e expression #1, char 20: unterminated `s' command
NMAKE : fatal error U1077: 'sed' : return code '0x1'
Stop.
When running verifying tools I get:
c:\wireshark>nmake -f Makefile.nmake verify_tools
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved.
Checking for required applications:
cl: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/cl
link: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/link
nmake: /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/BIN/nmake
mt: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0A/bin/mt
bash: /usr/bin/bash
bison: /usr/bin/bison
flex: /usr/bin/flex
env: /usr/bin/env
grep: /usr/bin/grep
/usr/bin/find: /usr/bin/find
peflags: /usr/bin/peflags
perl: /usr/bin/perl
C:\\Python27\\python.exe: /cygdrive/c/Python27/python.exe
sed: /usr/bin/sed
unzip: /usr/bin/unzip
wget: /usr/bin/wget
I've reinstalled sed with Cygwin and it hasn't helped. I've tried the solution from http://ask.wireshark.org/questions/7991/nmake-fatal-error-u1077-sed-return-code-0x1 and no difference.
Now I don't know what to try, any tips?
asked 22 Mar '12, 03:39
Hans-Jörgen ...
1●1●1●1
accept rate: 0%
edited 22 Mar '12, 04:23
grahamb ♦
19.8k●3●30●206
Good guess, problem solved. Thanks.
Glad to be of assistance, can you please accept the answer?
I accepted the answer, as it solved the problem.