Bug ID |
13076
|
Summary |
GPRS CDR: errors when updating definitions
|
Product |
Wireshark
|
Version |
2.3.x (Experimental)
|
Hardware |
x86
|
OS |
Linux (other)
|
Status |
UNCONFIRMED
|
Severity |
Major
|
Priority |
Low
|
Component |
Dissection engine (libwireshark)
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
Build Information:
Version 2.3.0 (v2.3.0rc0-1107-gba00be5 from unknown)
Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GTK+ 3.12.2, with Cairo 1.14.0, with Pango 1.36.8, with
libpcap, without POSIX capabilities, without libnl, with GLib 2.44.1, with zlib
1.2.3, without SMI, without c-ares, with Lua 5.1.4, without GnuTLS, without
Gcrypt, with MIT Kerberos, without GeoIP, without nghttp2, without LZ4, without
Snappy, without PortAudio, without AirPcap.
Running on Linux 2.6.32-220.7.1.el6.x86_64, with Intel(R) Xeon(R) CPU
X3440 @ 2.53GHz (with SSE4.2), with 15943 MB of physical memory, with locale
en_US.UTF-8, with libpcap version 1.7.2, with zlib 1.2.3.
Built using gcc 4.4.7 20120313 (Red Hat 4.4.7-11).
--
Hello,
I am trying to update the GPRS CDR dissector for the latest version of 3GPP TS
( version 14 of 32.298). I've created new .asn files and updated Makefile.am
(in epan/dissectors/asn1/gprscdr) to use these, and then generated
packet-gprscdr.c from them. However, when I try to build wireshark, I get the
following error output:
CC packet-gprscdr.lo
./asn1/gprscdr/gprscdr.cnf:2142: error: ‘dissect_xxx_SGSNMTLCSRecord’
undeclared here (not in a function)
cc1: warnings being treated as errors
./asn1/gprscdr/gprscdr.cnf:2142: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2142: error: (near initialization for
‘GPRSRecord_choice[5].func’)
./asn1/gprscdr/gprscdr.cnf:2143: error: ‘dissect_xxx_SGSNMOLCSRecord’
undeclared here (not in a function)
./asn1/gprscdr/gprscdr.cnf:2143: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2143: error: (near initialization for
‘GPRSRecord_choice[6].func’)
./asn1/gprscdr/gprscdr.cnf:2144: error: ‘dissect_xxx_SGSNNILCSRecord’
undeclared here (not in a function)
./asn1/gprscdr/gprscdr.cnf:2144: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2144: error: (near initialization for
‘GPRSRecord_choice[7].func’)
./asn1/gprscdr/gprscdr.cnf:2146: error: ‘dissect_xxx_SGSNMBMSRecord’ undeclared
here (not in a function)
./asn1/gprscdr/gprscdr.cnf:2146: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2146: error: (near initialization for
‘GPRSRecord_choice[9].func’)
./asn1/gprscdr/gprscdr.cnf:2147: error: ‘dissect_xxx_GGSNMBMSRecord’ undeclared
here (not in a function)
./asn1/gprscdr/gprscdr.cnf:2147: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2147: error: (near initialization for
‘GPRSRecord_choice[10].func’)
./asn1/gprscdr/gprscdr.cnf:2150: error: ‘dissect_xxx_GWMBMSRecord’ undeclared
here (not in a function)
./asn1/gprscdr/gprscdr.cnf:2150: error: missing initializer
./asn1/gprscdr/gprscdr.cnf:2150: error: (near initialization for
‘GPRSRecord_choice[13].func’)
After a bit of digging through the files used for generating the packet-gprscdr
code, it appears that these functions aren't generated from their respective
sets in the .asn files, despite being defined the same way as all the other
sets.
Could someone offer an explanation as to why this is happening (and how to fix
it)?
You are receiving this mail because:
- You are watching all bug changes.