Wireshark-dev: Re: [Wireshark-dev] plugin.c error !!
From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Mon, 05 May 2014 23:09:46 +0200
Le 05/05/2014 22:47, khemis haythem a
écrit :
Did you follow the convention explained in README.dissector? the "register" routine's name must appear in the source file either at the beginning of the line, or preceded only by "void " at the beginning of the line (that would typically be the definition) - other white space shouldn't cause a problem, e.g.: void proto_register_XXX(void) { ... } and void proto_register_XXX( void ) { ... } and so on should work. The error you get means that the Python regular _expression_ trying to find the proto_register_XXX function failed. Only the files added to the NONGENERATED_REGISTER_C_FILES section of Makefile.common will be scanned. I strongly recommend you to compare the changes you did with another plugin source code so as to find the error you did (assuming that the Wireshark source code compiles fine without your custom plugin). Unless you agree to share your code, you are more or less on your own to find the error.
|
- References:
- [Wireshark-dev] plugin.c error !!
- From: khemis haythem
- Re: [Wireshark-dev] plugin.c error !!
- From: Pascal Quantin
- Re: [Wireshark-dev] plugin.c error !!
- From: khemis haythem
- [Wireshark-dev] plugin.c error !!
- Prev by Date: Re: [Wireshark-dev] plugin.c error !!
- Next by Date: [Wireshark-dev] code flow during dissection of packets in wireshark
- Previous by thread: Re: [Wireshark-dev] plugin.c error !!
- Next by thread: [Wireshark-dev] code flow during dissection of packets in wireshark
- Index(es):