Chilkat Forum

Programming Languages / Environments => C / C++ => Topic started by: johnk73 on October 31, 2017, 08:45:26 PM

Title: VC 7.1 undefined symbols: SfxConfig, ClsCsp
Post by: johnk73 on October 31, 2017, 08:45:26 PM
Linking with https://chilkatdownload.com/9.5.0.69/chilkat-9.5.0-x86-vc71.zip (https://chilkatdownload.com/9.5.0.69/chilkat-9.5.0-x86-vc71.zip) libraries I get these errors.

Code: [Select]
ChilkatRel.lib(ClsMailMan.obj) : error LNK2001: unresolved external symbol "public: void __thiscall ClsCsp::copyToCryptSettings(class CryptoSettings2 &,int &,int &,int &,class LogBase &)" (?copyToCryptSettings@ClsCsp@@QAEXAAVCryptoSettings2@@AAH11AAVLogBase@@@Z)
ChilkatRel.lib(ClsEmail.obj) : error LNK2001: unresolved external symbol "public: void __thiscall ClsCsp::copyToCryptSettings(class CryptoSettings2 &,int &,int &,int &,class LogBase &)" (?copyToCryptSettings@ClsCsp@@QAEXAAVCryptoSettings2@@AAH11AAVLogBase@@@Z)
ChilkatRel.lib(ClsZip2_basic.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall SfxConfig::~SfxConfig(void)" (??1SfxConfig@@UAE@XZ)
ChilkatRel.lib(ClsZip2_basic.obj) : error LNK2001: unresolved external symbol "public: __thiscall SfxConfig::SfxConfig(void)" (??0SfxConfig@@QAE@XZ)

I was thinking maybe my header files were out of sync (stale version) but it looks like there are references in the .lib file itself. (The linker error suggests that too, but I'm a noob at C++.) Comparing SfxConfig (UNDEF) with CkMailMan (SECT5).

Code: [Select]
$ dumpbin /symbols ChilkatRel.lib | fgrep -e SfxConfig::SfxConfig -e CkMailMan::CkMailMan
0C7 00000000 UNDEF  notype ()    External     | ??0SfxConfig@@QAE@XZ (public: __thiscall SfxConfig::SfxConfig(void))
085 00000000 SECT5  notype ()    External     | ??0CkMailMan@@AAE@ABV0@@Z (private: __thiscall CkMailMan::CkMailMan(class CkMailMan const &))
0AE 00000230 SECT5  notype ()    External     | ??0CkMailMan@@QAE@XZ (public: __thiscall CkMailMan::CkMailMan(void))

John Kalstrom
Title: Re: VC 7.1 undefined symbols: SfxConfig, ClsCsp
Post by: Chilkat on November 02, 2017, 10:11:47 AM
This will be fixed in the next version of Chilkat released near the end of this month.   
Title: Re: VC 7.1 undefined symbols: SfxConfig, ClsCsp
Post by: johnk73 on January 09, 2018, 08:55:30 PM
Links!  https://chilkatdownload.com/9.5.0.70/chilkat-9.5.0-x86-vc71.zip