Ethereal-dev: RE: [Ethereal-dev] Unable to compile INAP dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Tim" <tim@xxxxxxxxxxxxxxx>
Date: Wed, 9 Mar 2005 21:54:07 -0000
Javier,

The dissector is now in the build tree use svn to update your build, and
it should compile.

Change with the ssn settings for tcap and inap to get it to dissect your
trace.

Also (as with the alpha camel dissector I have just e-mailed you) these
files need to be untared into the ethereal/asn1 directory and make run
in there, asn2eth.py python script creates the dissector from the .asn1,
.cnf and the template file and copies it into the dissectors directory
ready for compiling. This tool is excellent as you can usually adjust
the asn.1 and then recompile, a feature that I have just not seen in any
other analyzer.

Tim

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Javier Acuña
Sent: 09 March 2005 21:12
To: ethereal-dev@xxxxxxxxxxxx
Cc: jacuna@xxxxxxxxxxxxx
Subject: [Ethereal-dev] Unable to compile INAP dissector



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):/e
thereal/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+0xa
120): 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-templat
e.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. _____________________________

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev