Wireshark-dev: Re: [Wireshark-dev] se_tree_foreach() not compiling under XP
vcondole@xxxxxx schrieb:
Hello
I can�t compile my code with the function se_tree_foreach (from
emem.h), I got following error (if I comment out the function it runs
sucessfully):
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of
other libs; use/NODEFAULTLIB:library
libui.lib(compare_stat.obj) : error LNK2019: unresolved external
symbol _emem_tree_foreach referenced in function _comparestat_draw
wireshark.exe : fatal error LNK1120: 1 unresolved externals NMAKE :
fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\link.EXE"' : return code '0x460' Stop.
the interesting thing is that it works on my Fedora. Any Idea what the
problem is??
Hi!
The corresponding function emem_tree_foreach() wasn't exported in
libwireshark.def, I've done that for you in SVN 25003 - that step is
only necessary for Windows.
Regards, ULFL