Ash, You should carefully re-read the doc/README.plugins file, as some things have changed for plugins between the time you wrote your dissector and now.
Also, keep in mind that you have plenty of other plugins to look at as examples of the changes. Look at plugins/agentx, plugins/artnet, ... - Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stig Bjørlykke Sent: Thursday, March 06, 2008 1:18 PM To: [email protected] Subject: Re: [Wireshark-dev] Error compilingacustomdllpluginforWireshark0.99.7 Hi, You have to look at the error messages from the compiler to find the errors: > plugin.obj : error LNK2005: _version already defined in packet-xxx.obj > plugin.obj : error LNK2005: _plugin_register already defined in packet-xxx.obj > plugin.obj : error LNK2005: _plugin_reg_handoff already defined in > packet-xxx.obj 1. You have defined version in packet-xxx.c, which is already defined in plugin.c 2. You should not define plugin_register() and plugin_reg_handoff in packet-xxx.c. Rename them to plugin_register_xxx() and plugin_reg_handoff_xxx(). -- Stig Bjørlykke ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
