ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] nmake problem (cl.exe)

From: Christopher Maynard <Chris.Maynard@xxxxxxxxx>
Date: Mon, 25 Oct 2010 18:39:24 +0000 (UTC)
Lange Jan-Erik <Jan-Erik.Lange@...> writes:

> cl -WX -D_U_="" /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE
/D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1500
/D_BIND_TO_CURRENT_CRT_VERSION=1 /MP lemon.c
>  
> causes the error
>  
> cl: Command line error D8021: invalid numeric arument '/Mplemon.c'
> NMAKE: fatal error U1077: 'cl': return code '0x2'

Hmm, for some weird reason, the space is missing and "/MP lemon.c" is becoming
"/MPlemon.c".  Not sure why that's happening.  What version of Wireshark are you
working with?  Have you made any of your own modifications, in particular to
config.nmake?  A possible Unix vs. Dos line-ending problem?  You might possibly
try converting your config.nmake from unix to dos to see if that makes any
difference?