Ethereal-dev: Re: [Ethereal-dev] Problems building Ethereal on Windows XP using nmake

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Thomas Boehne <TBoehne@xxxxxxxx>
Date: Fri, 7 Jan 2005 15:10:12 +0100
On Thursday 06 January 2005 06:37, David Holder wrote:
> I am trying to build Ethereal 0.10.8 on Windows XP using Visual Studio 6.0.
>
> I believe my build environment is ok.  When I execute "nmake -f
> makefile.nmake setup" I get the response "Ethereal is ready to build."
>
> The problem occurs when I run "nmake -f makefile.nmake".  The files in
> wiretap\ are compiled successfully however the link generates an error
> "link: too many arguments".  If I manually link it works ok.  This problem
> occurs for every link that's required in the build.  If I do it manually it
> works, but it fails when it is called from nmake.

If you have cygwin installed, the problem might be that the "link"
command from cygwin is used instead of the MSVC linker. To fix that,
edit config.nmake and make sure that c:\cywin\bin is appended to
$PATH, and not prepended.

Sincerely yours, 
Thomas Böhne

-- 
Jäger Computergesteuerte Messtechnik GmbH
Thomas Böhne
Rheinstraße 2-4
64653 Lorsch
Germany
Phone: +49-6251-9632-0