http://wiki.wireshark.org/Development/CommonProblems
If you get the following error while compiling:
link: invalid option -- e
Try `link --help' for more information.... unfortunately, the link command is available both from Cygwin and from MSVC with completely different purposes and you'll need the MSVC link. If you get this error, in your environment 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's /bin directory. If you rename it, make sure to remember that a Cygwin update may provide a new version of that file, which in turn has to be renamed again.
本版前面有人问过同样的问题,另有人给出过答案。你在线等,不如在线找。