Wireshark-dev: [Wireshark-dev] problem with linking tvbuff functions
From: "Yosi Saggi" <yosis@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Mar 2011 18:24:31 +0200

Hi

I have used in my dissector 3 functions from the tvbuff.c code:

tvb_new_composite

tvb_composite_append

tvb_composite_finalize

When trying to compile my plugin I get an error:

error LNK2019: unresolved external symbol _tvb_composite_finalize referenced in function

error LNK2019: unresolved external symbol _tvb_composite_append referenced in function

error LNK2019: unresolved external symbol _tvb_new_composite referenced in function

 

Why are those functions not in the libwireshark.def file?

I can’t use those functions if I need to change the libwirshark.def file and compile the libwirshark.dll.

I need to be able to compile only my dissector and use only my plugin without needing to recompile the whole wireshark. The reason for that is that I am sending my plugin to people that already have wireshark on their computers and all they need to do is copy the plugin to the plugin folder.

 

Is there anything I can do to bypass this problem?

 

Yosi