This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

In 1.8.5, One of my protocol "wimax-btsbts" is not getting registered. If I try to apply filter 'wimax-btsbts', wireshark pop-ups a notification saying Wiax-btsbts is not a valid display filter. I have removed the below last lines :

#ifndef ENABLE_STATIC

G_MODULE_EXPORT void

plugin_register(void)

{

/*register the new protocol, protocol fields, and subtrees */
if (proto_btsBts == -1) { /* execute protocol initialization only once */
    proto_register_BTS_BTS();
}

}

G_MODULE_EXPORT void

plugin_reg_handoff(void){
    proto_reg_handoff_bts_bts();

}

#endif

If I include above compile-time error fatal error LNK1169: one or more multiply defined symbols found occurs. It seems that proto_register never get hit during compilation.Where could be the probable issue?

asked 26 Sep '13, 05:55

sunshine's gravatar image

sunshine
16559
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×6
×1

question asked: 26 Sep '13, 05:55

question was seen: 1,013 times

last updated: 26 Sep '13, 05:55

p​o​w​e​r​e​d by O​S​Q​A