Wireshark-dev: Re: [Wireshark-dev] Couldn't load module / undefined symbol:
From: Marcel Haas <inf462@xxxxxxxxxxx>
Date: Thu, 06 Oct 2011 16:16:36 +0200
On Thu, 06 Oct 2011 16:02:32 +0200, Marcel Haas <inf462@xxxxxxxxxxx> 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 ..

___________________________________________________________________________
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
i guess i have to take a break.. im writing totally nonsen... i mean ofcause "THEY dont" :)