Re: Link error when compiling on VS2005
From: "asad hasnain" <asadhasnain@xxxxxxxxx>
Date: Thu, 18 Oct 2007 14:33:40 +0200 (CEST)
Thanks yeah i came to know that after posting you any ways so thanks for
your reply

On 10/18/07, Ilian Jeri Pinzon <ilianpinzon@xxxxxxxxx> wrote:
>
> Hi,
>
> I quick look in MSDN should have told you what libs are missing. :)
>
> Anyway, you need to put the following as additional dependencies:
> crypt32.lib dnsapi.lib secur32.lib.
>
> - Ilian
>
> On 10/18/07, asad hasnain <asadhasnain@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I am new to IM found you library on net....but when compiling i am
> > getting following link error...
> >
> > LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found
> > from OleAcc.dll
> > dns.obj : error LNK2019: unresolved external symbol _DnsRecordListFree@8
> > referenced in function "public: static class std::map<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> >,int,struct std::less<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > >,class std::allocator<struct std::pair<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const ,int> > > __cdecl gloox::DNS::resolve(class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const &,class std::basic_string<char,struct
> > std::char_traits<char>,class std::allocator<char> > const &,class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const &,class gloox::LogSink const &)" (?resolve@
> > DNS@gloox@@SA?AV?$map@V?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@HU?$less@V?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@
> > DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@H@std@@@2@@std@@
> > ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@
> > 4@00ABVLogSink@2@@Z)
> > dns.obj : error LNK2019: unresolved external symbol _DnsQuery_A@24
> > referenced in function "public: static class std::map<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> >,int,struct std::less<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > >,class std::allocator<struct std::pair<class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const ,int> > > __cdecl gloox::DNS::resolve(class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const &,class std::basic_string<char,struct
> > std::char_traits<char>,class std::allocator<char> > const &,class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const &,class gloox::LogSink const &)" (?resolve@
> > DNS@gloox@@SA?AV?$map@V?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@HU?$less@V?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@
> > DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@H@std@@@2@@std@@
> > ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@
> > 4@00ABVLogSink@2@@Z)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _EncryptMessage@16 referenced in function "public: virtual bool __thiscall
> > gloox::SChannel::encrypt(class std::basic_string<char,struct
> > std::char_traits<char>,class std::allocator<char> > const &)" (?encrypt@
> > SChannel@gloox@@UAE_NABV?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@@Z)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _DecryptMessage@16 referenced in function "public: virtual int __thiscall
> > gloox::SChannel::decrypt(class std::basic_string<char,struct
> > std::char_traits<char>,class std::allocator<char> > const &)" (?decrypt@
> > SChannel@gloox@@UAEHABV?$basic_string@DU?$char_traits@D@std@@
> > V?$allocator@D@2@@std@@@Z)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__FreeCredentialsHandle@4 referenced in function "public: virtual void
> > __thiscall gloox::SChannel::cleanup(void)" (?cleanup@ SChannel@gloox
> > @@UAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__DeleteSecurityContext@4 referenced in function "public: virtual void
> > __thiscall gloox::SChannel::cleanup(void)" (?cleanup@ SChannel@gloox
> > @@UAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _FreeContextBuffer@4 referenced in function "public: virtual bool __thiscall
> > gloox::SChannel::handshake(void)" (?handshake@ SChannel@gloox @@UAE_NXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _InitializeSecurityContextA@48 referenced in function "public: virtual bool
> > __thiscall gloox::SChannel::handshake(void)" 
> > (?handshake@SChannel@gloox@@UAE_NXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _AcquireCredentialsHandleA@36 referenced in function "public: virtual bool
> > __thiscall gloox::SChannel::handshake(void)" 
> > (?handshake@SChannel@gloox@@UAE_NXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > _QueryContextAttributesA@12 referenced in function "private: void __thiscall
> > gloox::SChannel::setSizes(void)" (?setSizes@SChannel@gloox@@AAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__CertFreeCertificateChain@4 referenced in function "private: void
> > __thiscall gloox::SChannel::validateCert(void)" (?validateCert@
> > SChannel@gloox @@AAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__CertVerifyCertificateChainPolicy@16 referenced in function "private:
> > void __thiscall gloox::SChannel::validateCert(void)" (?validateCert@
> > SChannel@gloox@@AAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__CertGetCertificateChain@32 referenced in function "private: void
> > __thiscall gloox::SChannel::validateCert(void)" (?validateCert@
> > SChannel@gloox@@AAEXXZ)
> > tlsschannel.obj : error LNK2019: unresolved external symbol
> > __imp__CertNameToStrA@20 referenced in function "private: void __thiscall
> > gloox::SChannel::certData(void)" (?certData@SChannel@gloox @@AAEXXZ)
> > .\Debug/gloox.dll : fatal error LNK1120: 14 unresolved externals
> >
> >
> > Please suggest some thing on early basis because it really urgent
> >
> > Regards,
> > A H
> >
> >
> >
> > --
> > gloox-dev mailing list
> > to unsubscribe:
> > send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx
> >
> >
>
>
> --
> gloox-dev mailing list
> to unsubscribe:
> send a message with subject 'unsubscribe gloox-dev' to
> minimalist@xxxxxxxxxx
>