Hi, I inherited some dissector code from a former colleague, which runs well under windows (V1.7.2). Now I wanted to port it to linux, using the latest wireshark code base (svn; but problem also occurs with latest stable). My dissector plugin compiles without problems, but when starting wireshark, I get the error message Do I have to link my plugin against any library? Why is this not handled by make-dissector-reg or makefile.am or what else automatically? Thanks for any help! asked 11 Jul '13, 23:38 Atlantis |
One Answer:
The dissector does reassembly, and the reassembly APIs changed in 1.10. That's why it won't build; you're probably building against a recent version of Wireshark, either 1.10.0 or the trunk. ("Without problems" probably really means "without fatal errors"; it probably compiles with warnings that represent real problems.) See, for example, the difference between revisions 48490 and 48491 of answered 12 Jul '13, 00:54 Guy Harris ♦♦ Great - you saved my day ... With the information from the mentioned patch I was able to modify my dissector. I still get lots of warnings from the code so maybe you are right that I got a severe warning previously but could not identify it due to all the other warnings ... Thanks! (12 Jul '13, 02:00) Atlantis The Wireshark buildbots build most source files modules with the "warnings are errors" flag turned on in the compiler, so that various problems are caught. (The exceptions are mostly source files generated by Flex/yacc/Lemon/other code generators, where the warnings are difficult or impossible to eliminate.) (12 Jul '13, 08:31) Guy Harris ♦♦ |
Oh - I forgot - I am running an Ubuntu 13.04 64bit Linux ...