[Wireshark-dev] plugin.c error !!
Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, when i run 'make' i get this error message : make[3]: Entering directory '/home/haythem/wireshark/plugins/my_Plugin making plugin.c with python No protocol registration found make[3]: *** [plugin.c] Error 1 what is the problem ? and how can i solve it ? haythem. ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] plugin.c error !!
Hi Khemis In the sub-directory /doc in your wireshark src are various README file, which contain the answers to your questions. In your case it is README.developer and README.plugins. In this case you have incorrectly named the proto and handoff register functions. Also, take a look at existing plugin implementations, they contain all the necessary functions already, and you can take it from there. regards, Roland On Mon, May 5, 2014 at 9:28 PM, khemis haythem khemis.hayt...@yahoo.frwrote: Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, when i run 'make' i get this error message : make[3]: Entering directory '/home/haythem/wireshark/plugins/my_Plugin making plugin.c with python No protocol registration found make[3]: *** [plugin.c] Error 1 what is the problem ? and how can i solve it ? haythem. ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org ?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] plugin.c error !!
Le 05/05/2014 21:28, khemis haythem a écrit : Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, when i run 'make' i get this error message : make[3]: Entering directory '/home/haythem/wireshark/plugins/my_Plugin making plugin.c with python No protocol registration found make[3]: *** [plugin.c] Error 1 what is the problem ? and how can i solve it ? haythem. Does the packet-my_Plugin.c file in your my_Plugin folder include a proto_register_XXX function? It yes, did you add the file to Makefile.common? Pascal. ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] plugin.c error !!
Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, yes the packet-my_Plugin.c file in my my_Plugin folder include two proto_register_xxxlabel and proto_register_xxxasdu and i added the file to Makefile.common !! but i have this problem regards, haythem. Le Lundi 5 mai 2014 20h46, Pascal Quantin pascal.quan...@gmail.com a écrit : Le 05/05/2014 21:28, khemis haythem a écrit : Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, when i run 'make' i get this error message : make[3]: Entering directory '/home/haythem/wireshark/plugins/my_Plugin making plugin.c with python No protocol registration found make[3]: *** [plugin.c] Error 1 what is the problem ? and how can i solve it ? haythem. Does the packet-my_Plugin.c file in your my_Plugin folder include a proto_register_XXX function? It yes, did you add the file to Makefile.common? Pascal. ___ Sent via: Wireshark-dev mailing list wireshark-dev@wireshark.org Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] plugin.c error !!
Le 05/05/2014 22:47, khemis haythem a écrit : Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, yes the packet-my_Plugin.c file in my my_Plugin folder include two proto_register_xxxlabel and proto_register_xxxasdu and i added the file to Makefile.common !! but i have this problem 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. regards, haythem. Le Lundi 5 mai 2014 20h46, Pascal Quantin pascal.quan...@gmail.com a écrit : Le 05/05/2014 21:28, khemis haythem a écrit : Khemis Haythem Adresse : Boite Postale 101 4118, Mednine GSM : +216 55 69 19 90 E-mail : khemis.hayt...@yahoo.fr mailto:khemis.hayt...@yahoo.fr Statut : Élève ingénieur Spécialité : Génie des Communications et des Réseaux Ecole : Ecole National d'Ingénieurs de Gabes hello, when i run 'make' i get this error message : make[3]: Entering directory '/home/haythem/wireshark/plugins/my_Plugin making plugin.c with python No protocol registration found make[3]: *** [plugin.c] Error 1 what is the problem ? and how can i solve it ? haythem. Does the packet-my_Plugin.c file in your my_Plugin folder include a proto_register_XXX function? It yes, did you add the file to Makefile.common? Pascal. ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org mailto:wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe