Re: [Wireshark-dev] Couldn't load module / undefined symbol:
On Thu, 06 Oct 2011 10:11:23 -0400, Jeff Morriss jeff.morriss...@gmail.com wrote: Marcel Haas wrote: On Thu, 06 Oct 2011 09:10:38 -0400, Jeff Morriss jeff.morriss...@gmail.com 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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe Thx again Jeff.. now its totally included u save me again ;) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
[Wireshark-dev] Couldn't load module / undefined symbol:
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 ? thx and regards Marcel ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Couldn't load module / undefined symbol:
Can the problem be caused by multiple installations of Wireshark where the new binary picked up the old lib On Thu, 06 Oct 2011 10:36:00 +0200, Marcel Haas inf...@fh-worms.de 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 ? thx and regards Marcel ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Couldn't load module / undefined symbol:
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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Couldn't load module / undefined symbol:
On Thu, 06 Oct 2011 09:10:38 -0400, Jeff Morriss jeff.morriss...@gmail.com 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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Couldn't load module / undefined symbol:
On Thu, 06 Oct 2011 16:02:32 +0200, Marcel Haas inf...@fh-worms.de wrote: On Thu, 06 Oct 2011 09:10:38 -0400, Jeff Morriss jeff.morriss...@gmail.com 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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?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@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe i guess i have to take a break.. im writing totally nonsen... i mean ofcause THEY dont :) ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe