Le 16 sept. 2014 10:55, "Christina Obermaier" <christina.oberma...@yahoo.de> a écrit : > > Hi, > > I have a question according to the creation of an asn1 dissector plugin. > > I used the Toyasn1 sample to create my own dissector. > The only thing i changes were the .asn files. There i used my own files (CAM.asn and ITS-Container.asn) which i specified in the makefile. > > Then i tryed to compile the plugin. I think this works very well, only a few wunused-function warnings are appearing. > So i started Wireshark and get the error: undefined Symbol: dissect_TOYASN1_MESSAGE_PDU > > In the .cnf file is specified: > .#PDU > TOYASN1-MESSAGE > > So now i dont know what i have to do, to solve the error. > > I hope someone can help me.. > Greetings Christina >
Hi, You need to replace this line with the name of the top level PPU in your ASN.1 file. For example if you look at the files in asn1/c1222, you will see that the c1222.cnf file contains: #.PDU MESSAGE where MESSAGE is the top PDU in the c1222.asn file. Then you need to edit the .c file to put the corresponding function name that will be generated by asn2wrs (for c1222 dissector it is dissect_MESSAGE_PDU). Regards, Pascal.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe