Wireshark-dev: Re: [Wireshark-dev] Linker error LNK2019-unresolved external symbol _dissect_ber
From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 May 2010 16:36:30 +0200
Helo,

which Wireshark version do you use?
 
The dissect_ber_set was added into the libwireshark.def (which exports symbols from the libwireshark.dll) last November in 1.3.x development line.

If you use 1.2.x line then dissect_ber_set is not exported.

Best regards,
  Tomas

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Petr Kovář
Sent: Tuesday, May 25, 2010 4:14 PM
To: wireshark-dev
Subject: [Wireshark-dev] Linker error LNK2019-unresolved external symbol _dissect_ber_set


Hello all,
during the building of the ASN1-based DLL I get the following linker error:

   Creating library spbp-gti.lib and object spbp-gti.exp
packet-spbp-gti.obj : error LNK2019: unresolved external symbol _dissect_ber_set
 referenced in function _dissect_spbp_gti_SPBPOpen_U
spbp-gti.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBIN
link.EXE"' : return code '0x460'
Stop.

Function dissect_ber_set is defined in the packet-ber.h, which is included in the source template file, so I don't understand why it is not found.  Does anyone know where could be the fault, please? Or did anybody have similar trouble with linking from the packet-ber header ?

Thanks, Petr
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe