Wireshark-dev: [Wireshark-dev] nmake -distclean failing
From: "Ronaldo Tomazeli Duarte" <ronaldo.tomazeli@xxxxxxxxx>
Date: Mon, 12 Mar 2007 11:15:22 -0300
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