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

How to rebuilt when I add a new dissector in Plugin mode.

0

I have add a new protocol"scoreboard" dissector in plugin,files is located in wireshark1.6.4\plugins\scoreboard. when i rebuilt the dissector in \plugin. as: nmake -f Makefile.nmake all. and then I run the main program, there is nothing changed. but when i rebuilt all of the project .(need much more time) .the change had been write in code has appeared . why?and how to rebuilt in short time,(best for just rebuilt my plugin dissector),and then get the right result.

Hope the master give advice or comments please!

asked 17 Jun '12, 23:45

smilezuzu's gravatar image

smilezuzu
20323237
accept rate: 0%


One Answer:

0

You just compiled your code (and possibly other plugins), but you did NOT link that changed object code to the resulting binary, that's the reason why you did not see any changes.

Running make in the main directory fixed the problem, as the build process figured out, that your object code had changed and then it performed the required steps to integrate your changes into the binary. Without any further information I guess it was mostly running the linker.

Regards
Kurt

answered 18 Jun '12, 00:53

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

thanks! I have get the answer.just get of the "all". is OK.

(18 Jun '12, 01:45) smilezuzu