THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

plugin build errors: msbuild error MSB6006

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.

Christian_R's avatar
2.1k
Christian_R
asked 2018-12-21 12:32:05 +0000, updated 2018-12-21 22:59:45 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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)

Christian_R's avatar
2.1k
Christian_R
answered 2018-12-21 22:59:24 +0000
edit flag offensive 0 remove flag delete link

Comments

And that worked in Linux?

grahamb's avatar grahamb (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's avatar Christian_R (2018-12-23 00:17:51 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer