Hi, I downloaded an INAP dissector by Tim Endean. first I tried to compile it as is, but there were some files missing.
For instance, file 'packet-inap-template.c' on line 59 includes the missing file 'packet-inap-hf.c'.
I tried to comment out those includes, and compiled again. But this time I got link problems, these are the errors I got :
dissectors/.libs/libdissectors.al(packet-inap.lo)(.data+0x0): In function `dissect_inap_CallID':
/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap.c:1057: multiple definition of `proto_inap'
dissectors/.libs/libdissectors.al(packet-inap-template.lo)(.data+0x0):/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap-template.c:82: first defined here
dissectors/.libs/libdissectors.al(packet-inap.lo)(.data.rel.ro.local+0xa120): In function `dissect_inap_T_messageType3':
/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap.c:5173: multiple definition of `inap_opr_code_strings'
dissectors/.libs/libdissectors.al(packet-inap-template.lo)(.data.rel.ro.local+0x0):/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap-template.c:82: first defined here
dissectors/.libs/libdissectors.al(packet-inap.lo)(.text+0x18840): In function `proto_register_inap':
/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap.c:12480: multiple definition of `proto_register_inap'
dissectors/.libs/libdissectors.al(packet-inap-template.lo)(.text+0xa70):/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap-template.c:374: first defined here
dissectors/.libs/libdissectors.al(packet-inap.lo)(.text+0x188d0): In function `proto_reg_handoff_inap':
/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap.c:15304: multiple definition of `proto_reg_handoff_inap'
dissectors/.libs/libdissectors.al(packet-inap-template.lo)(.text+0xb00):/ethereal/ethereal-0.10.9/epan/dissectors/packet-inap-template.c:440: first defined here
collect2: ld returned 1 exit status
make[2]: *** [libethereal.la] Error 1
make[2]: Leaving directory `/ethereal/ethereal-0.10.9/epan'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/ethereal/ethereal-0.10.9/epan'
make: *** [install-recursive] Error 1
Has anyone been able to compile this dissector??
Best Regards, Javier
________________________________________________________________
Mensaje enviado desde el Servicio Webmail del Dominio sixbell.cl
_____________________________
La informacion contenida en esta transmision es confidencial, y no puede ser usada por otras personas que su(s) destinatario(s). El uso no autorizado de la informacion contenida en esta transmision puede ser sancionado. Si ha recibido esta transmision por error, por favor destruyala y notifique al remitente telefonicamente, con cobro revertido o via e-mail.
The information contained in this transmission is privileged, and may not be used by any person other than its addressee(s). Unauthorized use of the information contained in this transmission may be punished by law. If received in error, please destroy and notify the sender by calling collect or by e-mail.
_____________________________