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

hello guys,

I just add a sub-menu in menu 'statistics', and I created a new file named 'vss_dlg.c' and then copy some code from 'summary_dlg.c' and filled into the 'vss_dlg.c', some related code also modified, but still some ERROR founded as below:

libui.lib(vss_dlg.obj) : error LNK2019: unresolved external symbol _vss_fill_in_capture referenced in function _vss_open_cb

libui.lib(vss_dlg.obj) : error LNK2019: unresolved external symbol _vss_fill_in referenced in function _vss_open_cb

wireshark.exe : fatal error LNK1120: 2 unresolved externals

NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBINlink.EXE"' : return code '0x460' Stop.

Who guys met this problem before?

Many thanks in advance!

Sam

asked 28 Oct '11, 17:53

Sam's gravatar image

Sam
517914
accept rate: 0%


Your changes have introduced the error but as you haven't really told us what your changes are we can't really help you.

However the explanation of the LNK2019 error is that a function is called, but there is no definition of the function in any object file fed to the linker.

In your case you are calling vss_fill_in_capture and vss_open_cb which are presumably new functions from your changes but there is no definition of these two functions in any of the object files fed to the linker when linking libui.lib.

See also the MSDN page for the error here.

permanent link

answered 29 Oct '11, 12:03

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

thanks a lot, Grahamb.

(30 Oct '11, 18:09) Sam
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×193
×3

question asked: 28 Oct '11, 17:53

question was seen: 3,187 times

last updated: 31 Oct '11, 00:32

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