Wireshark-bugs: [Wireshark-bugs] [Bug 6448] wspython example fails

Date: Thu, 13 Oct 2011 22:32:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6448

--- Comment #9 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-10-13 22:32:51 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > (From update of attachment 7214 [details] [details])
> > That fails on Windows
> 
> Can you expand on that Anders?  I don't generally use windows, and certainly
> don't have a wireshark build environment set up for it.

Hi,
It fails with:
libwireshark.def : error LNK2001: unresolved external symbol
hf_register_info_add
libwireshark.def : error LNK2001: unresolved external symbol
hf_register_info_create
libwireshark.def : error LNK2001: unresolved external symbol
hf_register_info_destroy
libwireshark.def : error LNK2001: unresolved external symbol
py_generic_dissector
libwireshark.def : error LNK2001: unresolved external symbol py_pinfo
libwireshark.def : error LNK2001: unresolved external symbol py_tree
libwireshark.def : error LNK2001: unresolved external symbol py_tvbuff
libwireshark.lib : fatal error LNK1120: 7 unresolved externals

problem beeing that we don't build wspython on windows I think.
Im not sure if any conditional can be used in libwireshark.def
or if enough of wspy_proto.c could be built if PYTHON_EMBED isn't defined
to define thos functions.

Regards
Anders

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.