Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] linking errors win32/vs2005/0.99.2

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 16:00:28 +0100
Martin van den Berg wrote:
> Hi there,
>
> This gives me a real headache. Trying to build wireshark 0.99.2 using
> vs2005. I would like to stick to this older wireshark version if
> possible. Had to put LOCAL_LDFLAGS=/NODEFAULTLIB:libc in config.nmake
> to avoid nasty warnings 'bout missing libc.lib.
>
> Compiling the whole lot is no pain, however at link time i receive
> tons of errors like;
>   error LNK2001: unresolved external symbol __imp__fseek
> etc... etc...
>
>   
That's because fseek is in libc, which you've excluded from the link. 
You must have something messed up in your build environment.
> Anyone has a clue or should I really try a newer version??
>
>   
Best to try a newer version.  Ensure your build environment is set up
correctly as per the developers guide. See
http://www.wireshark.org/docs/wsdg_html/#ChSetupWin32 for more info.

-- 
Regards,

Graham Bloice