Adresse
: Boite Postale 101 4118, Mednine
Spécialité :
Génie des Communications et des Réseaux
Ecole :
Ecole National d'Ingénieurs de Gabes
when i trying to add a plugin, i get this error message:
packet-xxxx.c : In function 'dissect_xxxxx' :
packet-xxxx.c : 1164:13: error: implicite declaration of function 'tvb_get_gunit16' [ -Werror=implicit-function-declaration]
^
tvb_get_ntohs or tvb_get_letohs
packet-xxxx.c : 1177:1: error: implicite declaration of function 'tvb_get_gunit8'
[ -Werror=implicit-function-declaration]
^
tvb_get_guint8
packet-xxxx.c :1204:12: error: invalid storage class for function 'dissect_xxxxreas'
also i get another error that i can't solve it :
packet-xxxx.c: 1204:41 error: declaration of 'tvb' shadows a parameter [ - Werror=shadow]
If you declared tvbuff_t *tvb and have a function declaration with .. tvb in it you should change your declaration to say new_tvb or
something like that
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'pinfo' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'tree' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
packet-xxxx.c: 1204:41 error: declaration of 'data' shadows a parameter [ - Werror=shadow]
packet-xxxx.c: 1135:42: error: shadowed declaration is here [ -Werror=shadow]
what can i do to solve these errors ? who can help me ?