Wireshark mailing list archives

undefined reference to proto_register_protocol


From: sagar Guledagudda <sagu072 () gmail com>
Date: Tue, 19 Jul 2011 15:06:23 +0530

Hi, I am getting the below error during the compilation of decoder on Linux.
i tried including the epan/proto.h but still i am getting the same error. i
think this is linking problem. does anybody have the solution for it

ast.cpp:(.text+0x13e): undefined reference to `proto_register_protocol'
ast.cpp:(.text+0x15b): undefined reference to `proto_register_field_array'
ast.cpp:(.text+0x16c): undefined reference to `proto_register_subtree_array'
ast.cpp:(.text+0x185): undefined reference to `register_dissector'
ast.cpp:(.text+0x197): undefined reference to `prefs_register_protocol'
ast.cpp:(.text+0x1c6): undefined reference to
`prefs_register_uint_preference'
ast.cpp:(.text+0x1ee): undefined reference to
`prefs_register_string_preference'
ast.cpp:(.text+0x1fa): undefined reference to `register_init_routine'
ast.cpp:(.text+0x206): undefined reference to
`register_postseq_cleanup_routine'


thank you
sagar
___________________________________________________________________________
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-request () wireshark org?subject=unsubscribe

Current thread: