Hello. I'm writing a postdissector plugin in C to look into the options field found in the tcp header. Unfortunately, the following error turns up when I try to build: Making plugin.c (using python) It was building fine before I added the plugin and made changes as specified in README.plugins. Edit: I found out in another thread that the problem should be in my config.nmake file. However, I followed the instructions in the Win32 Step-by-Step Setup Guide carefully. I'm building this on a 64 bit Windows 7 system. Why does it still not build? asked 02 Aug '12, 06:27 SidR edited 02 Aug '12, 21:46 |
One Answer:
I would guess the script are looking for something like this void proto_register_foo(void) { : } and void proto_reg_handoff_foo(void) { : } Do you have similar code in your plugin? answered 02 Aug '12, 22:27 Anders ♦ |
I would guess the script are looking for something like this void proto_register_foo(void) { : }
and void proto_reg_handoff_foo(void) { : }
Do you have similar code in your plugin?
That seems to be the problem.
Looks I have written it as void protocol_register_foo(void) instead of void proto_register_foo(). Thank you so much Anders!