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 compiling acustomdllpluginforWireshark0.99.7

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


From: "Stig Bjørlykke" <stig@xxxxxxxxxxxxx>
Date: Thu, 6 Mar 2008 19:18:17 +0100

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

  • Follow-Ups:
    • Re: [Wireshark-dev] Error compilingacustomdllpluginforWireshark0.99.7
      • From: Maynard, Chris
  • References:
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: A Verma
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: Maynard, Chris
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: A Verma
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: Stephen Fisher
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: A Verma
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: Stig Bjørlykke
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: A Verma
    • Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
      • From: A Verma
  • Prev by Date: Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
  • Next by Date: Re: [Wireshark-dev] Support for BGP 4-byte AS numbers
  • Previous by thread: Re: [Wireshark-dev] Error compiling acustomdllpluginforWireshark0.99.7
  • Next by thread: Re: [Wireshark-dev] Error compilingacustomdllpluginforWireshark0.99.7
  • Index(es):
    • Date
    • Thread

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