Ethereal-dev: Re: [Ethereal-dev] MSVC Problems :)

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 07 Dec 2005 02:29:29 -0800
Anders Broman (AL/EAB) wrote:
Hi,
I have problems again *sigh* I get
:
Linking ethereal.exe
        link @C:\DOCUME~1\etxrab\LOCALS~1\Temp\nma05044.
capture_info.obj : error LNK2001: unresolved external symbol _capture_enc
ethereal.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

C:\..\ethereal-0.10.13-SVN-16716>

The last test was downloading the tarball SVN16716 and building… as far as I can se capture_info.c is including packet-enc.h

Where capture_enc is declared ???

Presumably you mean "defined" - it's defined in epan/dissectors/packet-enc.c, and it appears that's being compiled and included in the build.

Is there a way to see what symbols a .obj file defines and exports?

If so, is it defining and exporting capture_enc (or, if the utility shows the leading underscore, _capture_enc)?

If not, is there some #if or #ifdef that somehow keeps it from being compiled in?