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

Wireshark-users: Re: [Wireshark-users] Query regarding error comes during making build

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 7 Aug 2007 14:56:13 -0400 (EDT)
At Sun,  7 Jan 2007 12:55:08 -0500 (EST)
, you wrote
>
>
>
>
>Hi,
>
>At the time of making a build, it gives error link: too many arguments:-
>

My (strong) suspicion is that you've got cygwin specified before Microsoft C
in your PATH such that the link command being invoked is the cygwin gnu link.

See http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html

"Unfortunately, the link command is defined both from cygwin and from MSVC
with completely different purpose, you'll need the MSVC link. If your link
command looks something like: /usr/bin/link, the link command of cygwin takes
precedence over the MSVC one. To fix this, you can change your PATH
environment setting or simply renaming the link.exe in cygwin. If you rename
it, make sure to remember that a cygwin update may provide a new version of
it."

Bill Meier