Wireshark mailing list archives
Re: error LNK2001: unresolved external symbol (linking with dissctors.lib)
From: Anders Broman <anders.broman () ericsson com>
Date: Mon, 15 Oct 2012 14:23:41 +0000
If you are building a plugin export of true_false and value strings does not work. Define them locally foo_tfs_set_notset.
I tried integrated packet-rohc in to PDCP dissector and i got the linker problem described below. i checked and both dissectors.lib and libwireshark.lib are compiled and up to date. can anyone help me with this?
Not sure what you mean by this rohc was explicitly moved into it's own dissector as rohc is it's own protocol and may be used directly on Ethernet. Moving it back into PDCP seems like the wrong thing to do. If you want to work with the community you might consider offering your changes as patches. Regards Anders ________________________________ From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Alexis La Goutte Sent: den 15 oktober 2012 16:10 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] error LNK2001: unresolved external symbol (linking with dissctors.lib) On Sun, Oct 14, 2012 at 8:57 AM, Zadik, Maayan <mzadik () qti qualcomm com<mailto:mzadik () qti qualcomm com>> wrote: ipproto_val_ext is no in the def file but these are: tfs_set_notset DATA tfs_present_not_present DATA how do i add the missing values? just write them in and recompile? Yes... ________________________________ From: wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org> [wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org>] on behalf of Graham Bloice [graham.bloice () trihedral com<mailto:graham.bloice () trihedral com>] Sent: Friday, October 12, 2012 4:28 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] error LNK2001: unresolved external symbol (linking with dissctors.lib) The usual cause is the symbols not being exported as they aren't in libwireshark.def From: wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org> [mailto:wireshark-dev-bounces () wireshark org<mailto:wireshark-dev-bounces () wireshark org>] On Behalf Of Zadik, Maayan Sent: 11 October 2012 18:02 To: wireshark-dev () wireshark org<mailto:wireshark-dev () wireshark org> Subject: [Wireshark-dev] error LNK2001: unresolved external symbol (linking with dissctors.lib) Hi all, i tried integrated packet-rohc in to PDCP dissector and i got the linker problem described below. i checked and both dissectors.lib and libwireshark.lib are compiled and up to date. can anyone help me with this? 1> link -dll /out:myLib.dll /NOLOGO /INCREMENTAL:no /DEBUG /MACHINE:x86 /SafeSEH /DYNAMICBASE /FIXED:no /MANIFEST:no packet-myLib.obj packet-mac-lte-myLib.obj packet-rlc-lte-myLib.obj packet-pdcp-lte-myLib.obj plugin.obj ..\..\libwireshark.lib ..\dissectors.lib C:\wireshark-win32-libs\gtk2\lib\glib-2.0.lib C:\wireshark-win32-libs\gtk2\lib\gmodule-2.0.lib C:\wireshark-win32-libs\gtk2\lib\gobject-2.0.lib myLib.res 1> Creating library myLib.lib and object myLib.exp 1>dissectors.lib(packet-rohc.obj) : error LNK2001: unresolved external symbol _tfs_set_notset 1>dissectors.lib(packet-rtp.obj) : error LNK2001: unresolved external symbol _tfs_set_notset 1>dissectors.lib(packet-rohc.obj) : error LNK2001: unresolved external symbol _ipproto_val_ext 1>dissectors.lib(packet-rohc.obj) : error LNK2001: unresolved external symbol _tfs_present_not_present 1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.EXE"' : return code '0x460' 1>Stop. 1>myLib.dll : fatal error LNK1120: 3 unresolved externals Regards, Maayan ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto: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<mailto:wireshark-dev-request () wireshark org>?subject=unsubscribe
___________________________________________________________________________ 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:
- error LNK2001: unresolved external symbol (linking with dissctors.lib) Zadik, Maayan (Oct 12)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Graham Bloice (Oct 12)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Zadik, Maayan (Oct 15)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Alexis La Goutte (Oct 15)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Anders Broman (Oct 15)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Zadik, Maayan (Oct 15)
- Re: error LNK2001: unresolved external symbol (linking with dissctors.lib) Graham Bloice (Oct 12)