Wireshark-dev: [Wireshark-dev] Re : nmake -distclean failing
From: Thibault Cogoluenhès <thibault.cogoluenhes@xxxxxxxxxx>
Date: Mon, 12 Mar 2007 18:06:58 +0100
Hi,

    I had the same problem. The problem is the cmd.exe from windows 2000. The length of the command in the cmd.exe from XP can be longer thant the command line in cmd.exe from Windows 2000.

To compile correctly you must get the cmd.exe from a Windows XP installtion. You can rename it as XpCmd.exe if you want. It will execute correctly under windows 2000.
Then you must execute it and run the compilation in it. The distclean will work better.




wireshark-dev-request@xxxxxxxxxxxxx wrote:

Sujet:
[Wireshark-dev] nmake -distclean failing
Expéditeur:
"Ronaldo Tomazeli Duarte" <ronaldo.tomazeli@xxxxxxxxx>
Date:
Mon, 12 Mar 2007 11:15:22 -0300
Destinataire:
wireshark-dev@xxxxxxxxxxxxx
Destinataire:
wireshark-dev@xxxxxxxxxxxxx
Precedence:
list
Version de MIME:
1.0
Répondre à:
Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
ID du Message:
<837cdeef0703120715g7bb48e81x37e803eed0894fb9@xxxxxxxxxxxxxx>
Content-Type:
multipart/alternative; boundary="----=_Part_1616_10974259.1173708922798"
Message:
2

Hi,

I've been trying to build Wireshark 0.99.5 on my Windows 2000 box, using Visual Studio C++ 2005 Express Edition. After setting the Visual Studio variant and the path for the libs in config.nmake, I downloaded the libs with nmake -setup. Everything went fine, but when I try to distclean before building, I'm getting this error:

        if exist html rmdir html
        cd crypt
        nmake /                   -f Makefile.nmake clean

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

        rm -f airpdcap.obj               airpdcap_ccmp.obj               airpdca
p_debug.obj      airpdcap_rijndael.obj   airpdcap_tkip.obj               airpdca
p_wep.obj                crypt-des.obj           crypt-md4.obj           crypt-m
d5.obj           crypt-rc4.obj           crypt-sha1.obj airpdcap.lib *.pdb
'rm' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'rm' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Platform SDK for
 Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Platform SDK for
 Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2'
Stop.

nmake is complaining about the rm command. It's funny, because I have Cygwin installed and distclean called rm several times before failing in the makefile inside the crypt folder.

Can somebody point me towards the solution for this problem?

Thanks,

Ronaldo


-- 
Thibault COGOLUENHES
ISIS
05 57 92 34 97
Fax:05 57 92 34 99
Parc Cadéra Sud
8, avenue Apollo
33700 MERIGNAC
begin:vcard
fn;quoted-printable:Thibault Cogoluenh=C3=A8s
n;quoted-printable:Cogoluenh=C3=A8s;Thibault
org:ISIS
adr;quoted-printable:8, avenue Apollo;;Parc Cad=C3=A9ra Sud;MERIGNAC;;33700;FRANCE
email;internet:thibault.cogoluenhes@xxxxxxxxxx
tel;work:05 57 92 34 97
tel;fax:05 57 92 34 99
x-mozilla-html:TRUE
url:http://www.isismpp.fr
version:2.1
end:vcard