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

Hi, currently, I complete a wireshark plugin which works well in wireshark build environment (wireshark/plugin). However, I am thinking about can I build the plugin outside the wireshark which means I can compile my plugin without the wireshark source code and generate the .o and .la file?? Because I want to compile my plugin to binary library file (.o .la) in a machine which may not have wireshark source code but only rpm or sth like that.

Thanks

asked 02 Aug '11, 15:08

xuan's gravatar image

xuan
1121
accept rate: 0%


Wireshark is not set up to do such a thing. Bug 1199 provides a (probably long obsolete) patch to support it, but it has never checked in--and in my opinion probably never will be.

If you want to develop without the source, your best bet would be to transition to a Lua- or Python-based dissector.

permanent link

answered 03 Aug '11, 06:07

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

there is a patch for Bug 1199 but it is to generate plugin c code. And the comment mentioned independent build. They never touch it again.

permanent link

answered 03 Aug '11, 17:33

xuan's gravatar image

xuan
1121
accept rate: 0%

Your answer
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:

×173

question asked: 02 Aug '11, 15:08

question was seen: 2,277 times

last updated: 03 Aug '11, 17:33

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