Ask Your Question

plugin build errors: msbuild error MSB6006

asked 2018-12-21 12:32:05 +0000

updated 2018-12-21 22:59:45 +0000

Hello, I try to build a dissector within a working 2.6.0 windows build environment.

So it seems that I get in trouble with plugin.c building process.

Error message is:

Generating plugin.c
No plugin registrations found.

Where do I need to register it?

I have another plugin which works in that environment. But maybe I forgot something at the new plugin.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-21 22:59:24 +0000

It has turned out that a wrong protocol registration was used.

void proto_register_MYPROTO()

was used instead of the right version:

void proto_register_MYPROTO(void)

edit flag offensive delete link more


And that worked in Linux?

grahamb gravatar imagegrahamb ( 2018-12-22 18:31:03 +0000 )edit

The developer of the dissector told me that, but maybe with an older version of wireshark , I guess now. That is the resson, why I had editted the question and deleted the linux part. :)

Christian_R gravatar imageChristian_R ( 2018-12-23 00:17:51 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-12-21 12:32:05 +0000

Seen: 339 times

Last updated: Dec 21 '18