Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Error compilingacustomdllpluginforWireshark0.99.7

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Thu, 6 Mar 2008 15:05:30 -0500

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: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stig Bjørlykke
Sent: Thursday, March 06, 2008 1:18 PM
To: wireshark-dev@xxxxxxxxxxxxx
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.

  • References:
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: Stig Bjørlykke
  • Prev by Date: Re: [Wireshark-dev] Using Wireshark via sockets or pipes on Win32
  • Next by Date: [Wireshark-dev] Feature Request: Clicking on RTP Player graphic pops up packet in question...
  • Previous by thread: Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
  • Next by thread: Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation