Hello Tomas, Thanks for the advice I will take a look at the simpler examples. So the asn2wrs tool does generate suitable dissectors for current wireshark versions?
Regards, Chris -----Original Message----- From: Kukosa, Tomas [mailto:[email protected]] Sent: 17 April 2009 13:43 To: [email protected]; Developer support list for Wireshark Subject: RE: [Wireshark-dev] using simple ASN.1 example with asn2wrs Hello Chris, the wiki is not updated. Please, look into asn1 directory http://anonsvn.wireshark.org/viewvc/trunk/asn1/ where you can fine more than 80 dissectors as examples. Do not panic if you open some very complex dissector, you can find there simple expamles too (e.g. wlancertextn or h323). regards, Tomas > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > [email protected] > Sent: Friday, April 17, 2009 1:00 PM > To: [email protected] > Subject: [Wireshark-dev] using simple ASN.1 example with asn2wrs > > Hi All, > I am interested in building an ASN.1 dissector using the > asn2wrs tools. > To start with, I thought I would try building the example ASN.1 > dissector which is documented on the wireshark wiki pages. So > I am using > this as a tutorial to get a basic understanding. > > However, I have run into problems. After copying the generated > packet-foo.c/h files to the epan/dissector directory, the make fails > with syntax errors whilst compiling packet-foo.c. > > packet-foo-fn.c:4: error: syntax error before "asn1_ctx_t" > > Since packet-foo.c is generated, I did not want to start playig around > with it. > I am using the wireshark 1.1.3 version sources and respective tools > (asn2wrs). > I have a fedora core 6 OS. > > Anyone any ideas what I might be doing wrong? I have followed the > instructions on the wiki pages exactly. > > Regards, > Chris > > > > ______________________________________________________________ > _____________ > Sent via: Wireshark-dev mailing list <[email protected]> > Archives: http://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > > mailto:[email protected]?subject=unsubscribe > ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
