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

Expert_Info fails in wireshark installer version

0

I'm working on a wireshark dissector, it works and I'm able to compile it. The dissector works on my development version of wireshark but not on the wireshark installer version. Both are used in the newest version.

I get the error: Err field abbrev=foo.expert does not have a name Press any key to exit

Do anybody know the reason?

asked 25 Sep '14, 05:50

vcwm's gravatar image

vcwm
6113
accept rate: 0%

edited 25 Sep '14, 05:56


One Answer:

0

You are compiling a dissector plugin, isn't it? You probably tried to run the compiled library against another Wireshark version than the one you use on your development machine. Plugins must be compiled against the version you intend to use (for example a plugin compiled in master branch will not run with Wireshark 1.12 releases).

answered 25 Sep '14, 09:24

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

ok thanks for the answer, but it just seems to be the expert info which causes the problems, if i commented out all line which deals with expert info, the plugin works on both versions.

(25 Sep '14, 13:15) vcwm

Because the expert info API changed between master-1.12 and master branches. What I said remains valid.

(25 Sep '14, 13:57) Pascal Quantin