Hello, I have a function called This question is marked "community wiki". asked 27 Oct '11, 21:52 Terrestrial ... |
One Answer:
Hurray!! I have resolved this by myself!!(though solution is somewhat silly ;-)) I have created a structure called
This answer is marked "community wiki". answered 27 Oct '11, 23:56 Terrestrial ... edited 27 Oct '11, 23:57 I presume that if xyz.fp_catch_first_pkt is null you don't call through it? Otherwise, this will probably crash in TShark, which includes libwireshark (hence the code in epan/dfilter/dfvm.c) but does NOT have any toolbars (hence doesn't have gtk/main_filter_toolbar.c). (28 Oct '11, 02:16) Guy Harris ♦♦ Ok! What would be the good solution to solve this linker error? (28 Oct '11, 02:51) Terrestrial ... That depends on what the ultimate purpose of these changes is, especially if it's something that'd be useful in TShark as well. (28 Oct '11, 03:01) Guy Harris ♦♦ |
Creating library libwireshark.lib and object libwireshark.exp dfilter.lib(dfvm.obj) : error LNK2019: unresolved external symbol _catch_first_filtered_pkt r eferenced in function _any_test libwireshark.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \link.EXE"' : return code '0x460' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN \nmake.exe"' : return code '0x2' Stop.