ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Couldn't load module / undefined symbol:

From: Marcel Haas <inf462@xxxxxxxxxxx>
Date: Fri, 07 Oct 2011 09:21:57 +0200
On Thu, 06 Oct 2011 10:11:23 -0400, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
Marcel Haas wrote:
On Thu, 06 Oct 2011 09:10:38 -0400, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
Marcel Haas wrote:
Hey,
I have a new problem.
Some of u still remember that im writing my own function and include it to wireshark/epan file folder.
i built it in with autogen configure and make.
Now i want to include my functions to my dissector plugin.
#include <epan/list_mh.h> and inculde my function "NeuesListenElement" Built my plugin new too. No Errors but if i start wireshark now i get an error : Couldn't load module /home/marcel/Downloads/wireshark-1.6.1/plugins/nos/.libs/nos.so: /home/marcel/Downloads/wireshark-1.6.1/plugins/nos/.libs/nos.so: undefined symbol: NeuesListenElement
Why it doesnt know my function ?

If you put new functions in libwireshark you must add their names to epan/libwireshark.def so that the symbols get exported. (Previously this file was used only on Windows, but it is now also used to control
*NIX symbol exports.)


___________________________________________________________________________

Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
Ok thx, but can i put my function to .def after make or have i to run make again. The epan/libwireshark.sym will be generated after make.
Have to appear my function there too ? cause say dont ..

Running 'make' again will rebuild the .sym file (based on the
contents of the .def file).

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

Thx again Jeff.. now its totally included
u save me again ;)