Wireshark-dev: Re: [Wireshark-dev] nmake -distclean failing

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Mon, 12 Mar 2007 16:38:17 +0100
> -----Ursprüngliche Nachricht-----
> Von: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> Gesendet: 12.03.07 15:15:47
> An: wireshark-dev@xxxxxxxxxxxxx
> Betreff: [Wireshark-dev] nmake -distclean failing

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?
> 

Not sure, but looks like your cygwin installation is not in the default path c:\cygwin.

Please follow the developers guide literally :-)

Regards, ULFL

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066