This is our old Q&A Site. Please post any new questions and answers at

I compiled wireshark on linux successfully, but not found libwireshark static library(libwireshark.a) ,only found libwireshark_generated.a libwireshark_asmopt.a.

secondary development wireshark on linux, there are errors as follows(why?):

   undefined symbol: proto_item_fill_label (./
   undefined symbol: g_sprintf     (./
   undefined symbol: g_assertion_message_expr      (./
   undefined symbol: register_all_protocol_handoffs        (./
   undefined symbol: register_all_protocols        (./
   undefined symbol: epan_init     (./
   undefined symbol: epan_dissect_init     (./
   undefined symbol: frame_data_set_before_dissect (./
   undefined symbol: epan_dissect_run      (./
   undefined symbol: epan_dissect_cleanup  (./
   undefined symbol: g_malloc0     (./

asked 25 Oct '12, 18:53

ylda_ljm0620's gravatar image

accept rate: 0%

libtool, by default, sets up the Makefile only to build dynamic libraries. You might try running the configure script with --enable-static and rebuilding (you might need to run make distclean first) and see whether that builds libwireshark.a.

permanent link

answered 26 Oct '12, 18:24

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Thank you very much. just ./configure --enable-static, then make, can build static library.

(12 Nov '12, 22:25) ylda_ljm0620
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 25 Oct '12, 18:53

question was seen: 2,124 times

last updated: 12 Nov '12, 23:55

p​o​w​e​r​e​d by O​S​Q​A