Dear Holger,
While compiling wireshark ,after patching 'gsm_abis_oml' I got the following
:
gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.5.0\" -Werror -DINET6
"-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-I/usr/local/include -D_REENTRANT -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/pixman-1 -MT libdissectors_la-packet-gsm_abis_oml.lo -MD -MP
-MF .deps/libdissectors_la-packet-gsm_abis_oml.Tpo -c packet-gsm_abis_oml.c
-fPIC -DPIC -o .libs/libdissectors_la-packet-gsm_abis_oml.o
cc1: warnings being treated as errors
packet-gsm_abis_oml.c: In function 'proto_register_abis_oml':
packet-gsm_abis_oml.c:1555: error: assignment from incompatible pointer type
packet-gsm_abis_oml.c:1556: error: assignment from incompatible pointer type
make[5]: *** [libdissectors_la-packet-gsm_abis_oml.lo] Error 1
inside the patched file it contains an error , can u advise how to fix it ?
I'm moving into the right path now ...
Thanks,
Omar Atia
-----Original Message-----
From: openbsc-bounces(a)lists.gnumonks.org
[mailto:openbsc-bounces@lists.gnumonks.org] On Behalf Of Holger Hans Peter
Freyther
Sent: Wednesday, January 12, 2011 12:16 PM
To: openbsc(a)lists.gnumonks.org
Subject: Re: Adding patches to wireshark...
On 01/12/2011 10:59 AM, Omar Atia wrote:
Dear Holger,,,
I wrote OML in the filter bar ,,,response was it is neither a field or
protocol name ...(is there any other syntax for protocol name for
a-bis-oml).
Just write down protocol name in the filter bar .
Hi Omar,
here are the options to figure out the name of the protocol for wireshark
1.) Edit -> Preferences -> Protocols and search for something that contains
OML, Abis, A-bis in the name. (Actually it is A-bis OML and sorts at the
top).
2.) You can look at the dissector sourcecode and search for
'register_dissector'. It normally comes at the bottom of the dissector
sourcecode. The string is the dissector name.
3.) the convention of epan appears to be packet-FOO.c where FOO is the
protocol name. In your case this would be 'gsm_abis_oml'. Wireshark has nice
completion in the filter bar. By just typing 'g' for GSM it will show you
all
GSM protocols it knows, it should list gsm_abis_oml.