Please help us to solve linker error problem in PTLIB package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys
I solve my last problem that sent by mail to you, but i have another problem with H323plus 1.21 & Ptlib 2.4.5 from H323PLUS.org package.When we try to run PTLIB-DLL  package from ptlib package, I define below error :
 
 
------ Build started: Project: PTLib Static, Configuration: Release Win32 ------
PTLib Static - up-to-date.
 
------ Build started: Project: PTLib DLL, Configuration: Debug Win32 ------
Linking...
Creating library c:\ptlib\Lib\\PTLibd.lib and object c:\ptlib\Lib\\PTLibd.exp
ptlibs.lib(object.obj) : error LNK2005: "void __cdecl PAssertFunc(char const *,int,char const *,char const *)" (?PAssertFunc@@YAXPBDH00@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual enum PObject::Comparison __thiscall PObject::CompareObjectMemoryDirect(class PObject const &)const " (?CompareObjectMemoryDirect@PObject@@UBE?AW4Comparison@1@ABV1@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual enum PObject::Comparison __thiscall PObject::Compare(class PObject const &)const " (?Compare@PObject@@UBE?AW4Comparison@1@ABV1@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual void __thiscall PObject::PrintOn(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?PrintOn@PObject@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual void __thiscall PObject::ReadFrom(class std::basic_istream<char,struct std::char_traits<char> > &)" (?ReadFrom@PObject@@UAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual int __thiscall PObject::HashFunction(void)const " (?HashFunction@PObject@@UBEHXZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: static class PCriticalSection & __cdecl PFactoryBase::GetFactoriesMutex(void)" (?GetFactoriesMutex@PFactoryBase@@SAAAVPCriticalSection@@XZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "void __cdecl PAssertFunc(char const *,int,char const *,enum PStandardAssertMessage)" (?PAssertFunc@@YAXPBDH0W4PStandardAssertMessage@@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual class PObject * __thiscall PObject::Clone(void)const " (?Clone@PObject@@UBEPAV1@XZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: __thiscall PSmartPointer::PSmartPointer(class PSmartPointer const &)" (??0PSmartPointer@@QAE@ABV0@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: class PSmartPointer & __thiscall PSmartPointer::operator=(class PSmartPointer const &)" (??4PSmartPointer@@QAEAAV0@ABV0@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual __thiscall PSmartPointer::~PSmartPointer(void)" (??1PSmartPointer@@UAE@XZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: virtual enum PObject::Comparison __thiscall PSmartPointer::Compare(class PObject const &)const " (?Compare@PSmartPointer@@UBE?AW4Comparison@PObject@@ABV3@@Z) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: __thiscall PFactoryBase::FactoryMap::~FactoryMap(void)" (??1FactoryMap@PFactoryBase@@QAE@XZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(object.obj) : error LNK2005: "public: static class PFactoryBase::FactoryMap & __cdecl PFactoryBase::GetFactories(void)" (?GetFactories@PFactoryBase@@SAAAVFactoryMap@1@XZ) already defined in ptlibsd.lib(object.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "protected: static int * PTextToSpeech_SAPI::refCount" (?refCount@PTextToSpeech_SAPI@@1PAHA) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "int PWLibFactoryLoader::PTextToSpeech_PString_loader" (?PTextToSpeech_PString_loader@PWLibFactoryLoader@@3HA) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::OpenChannel(class PChannel *)" (?OpenChannel@PTextToSpeech_SAPI@@UAE_NPAVPChannel@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::SetVoice(class PString const &)" (?SetVoice@PTextToSpeech_SAPI@@UAE_NABVPString@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::SetRate(unsigned int)" (?SetRate@PTextToSpeech_SAPI@@UAE_NI@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual unsigned int __thiscall PTextToSpeech_SAPI::GetRate(void)" (?GetRate@PTextToSpeech_SAPI@@UAEIXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::SetVolume(unsigned int)" (?SetVolume@PTextToSpeech_SAPI@@UAE_NI@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual unsigned int __thiscall PTextToSpeech_SAPI::GetVolume(void)" (?GetVolume@PTextToSpeech_SAPI@@UAEIXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual __thiscall PTextToSpeech_Festival::~PTextToSpeech_Festival(void)" (??1PTextToSpeech_Festival@@UAE@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::OpenChannel(class PChannel *)" (?OpenChannel@PTextToSpeech_Festival@@UAE_NPAVPChannel@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::OpenFile(class PFilePath const &)" (?OpenFile@PTextToSpeech_Festival@@UAE_NABVPFilePath@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::Speak(class PString const &,enum PTextToSpeech::TextType)" (?Speak@PTextToSpeech_Festival@@UAE_NABVPString@@W4TextType@PTextToSpeech@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::SetVoice(class PString const &)" (?SetVoice@PTextToSpeech_Festival@@UAE_NABVPString@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::SetRate(unsigned int)" (?SetRate@PTextToSpeech_Festival@@UAE_NI@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual unsigned int __thiscall PTextToSpeech_Festival::GetRate(void)" (?GetRate@PTextToSpeech_Festival@@UAEIXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::SetVolume(unsigned int)" (?SetVolume@PTextToSpeech_Festival@@UAE_NI@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual unsigned int __thiscall PTextToSpeech_Festival::GetVolume(void)" (?GetVolume@PTextToSpeech_Festival@@UAEIXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual __thiscall PTextToSpeech_SAPI::~PTextToSpeech_SAPI(void)" (??1PTextToSpeech_SAPI@@UAE@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "protected: bool __thiscall PTextToSpeech_SAPI::OpenVoice(void)" (?OpenVoice@PTextToSpeech_SAPI@@IAE_NXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::OpenFile(class PFilePath const &)" (?OpenFile@PTextToSpeech_SAPI@@UAE_NABVPFilePath@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::Close(void)" (?Close@PTextToSpeech_SAPI@@UAE_NXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_SAPI::Speak(class PString const &,enum PTextToSpeech::TextType)" (?Speak@PTextToSpeech_SAPI@@UAE_NABVPString@@W4TextType@PTextToSpeech@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: __thiscall PTextToSpeech_Festival::PTextToSpeech_Festival(void)" (??0PTextToSpeech_Festival@@QAE@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "protected: bool __thiscall PTextToSpeech_Festival::Invoke(class PString const &,class PFilePath const &)" (?Invoke@PTextToSpeech_Festival@@IAE_NABVPString@@ABVPFilePath@@@Z) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: __thiscall PTextToSpeech_SAPI::PTextToSpeech_SAPI(void)" (??0PTextToSpeech_SAPI@@QAE@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual bool __thiscall PTextToSpeech_Festival::Close(void)" (?Close@PTextToSpeech_Festival@@UAE_NXZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual class PStringArray __thiscall PTextToSpeech_Festival::GetVoiceList(void)" (?GetVoiceList@PTextToSpeech_Festival@@UAE?AVPStringArray@@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "public: virtual class PStringArray __thiscall PTextToSpeech_SAPI::GetVoiceList(void)" (?GetVoiceList@PTextToSpeech_SAPI@@UAE?AVPStringArray@@XZ) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "class PFactory<class PTextToSpeech,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Worker<class PTextToSpeech_SAPI> sapiTTSFactory" (?sapiTTSFactory@@3V?$Worker@VPTextToSpeech_SAPI@@@?$PFactory@VPTextToSpeech@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@A) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "protected: static class PCriticalSection PTextToSpeech_SAPI::refMutex" (?refMutex@PTextToSpeech_SAPI@@1VPCriticalSection@@A) already defined in ptlibsd.lib(ptts.obj)
ptlibs.lib(ptts.obj) : error LNK2005: "class PFactory<class PTextToSpeech,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Worker<class PTextToSpeech_Festival> festivalTTSFactory" (?festivalTTSFactory@@3V?$Worker@VPTextToSpeech_Festival@@@?$PFactory@VPTextToSpeech@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@A) already defined in ptlibsd.lib(ptts.obj)
libcmt.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj)
libcmt.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj)
libcmt.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(xtoa.obj) : error LNK2005: __i64toa already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(xtoa.obj) : error LNK2005: __ui64toa already defined in MSVCRTD.lib(MSVCR71D.dll)
libcmt.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRTD.lib(MSVCR71D.dll)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libcmt.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
..\..\..\Lib\PTLibd.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\ptlib\Lib\Debug\BuildLog.htm"
PTLib DLL - 59 error(s), 3 warning(s)
 
---------------------- Done ----------------------
Build: 1 succeeded, 1 failed, 0 skipped
 
How can we solve this linker error problem?
please help us to run these package, I am in wait.
Best Regards.
Zahra


--- On Mon, 10/8/09, Simon Horne <s.horne@xxxxxxxxxxxxxx> wrote:

From: Simon Horne <s.horne@xxxxxxxxxxxxxx>
Subject: [h323plus] H.460.18/.19/.23/.24/.24A support now in GnuGk / H323plus
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx, h323plus@xxxxxxxxxxxxxxxxxxxx
Date: Monday, 10 August, 2009, 3:58 AM

Guys

 

I would just like to let you know that GnuGk 2.3.1 (CVS) and H323plus 1.21 (CVS) now support the complete H.323 NAT Traversal solution.

 

This a major step forward for both projects and H.323.

 

I have built a sample windows installer for GnuGk and MyPhone (CVS version) for demonstration purposes.

 

GnuGk Windows Installer (Win2000 or above)

www.h323plus.org/standards/GnuGkSetup231.exe

 

MyPhone Installer (XP or above)

www.h323plus.org/standards/MyPhoneSetup121.exe

 

Any queries then please address them to the appropriate mailing lists.

 

Details for what the standards do:

H.460.18

Mechanism to enable registration and call signalling traversal across a NAT/FW

 

H.460.19

Mechanism to enable media traversal (proxying) across a NAT/FW

 

H.460.23 (ITU approval in November)

NAT detection and classification

 

H.460.24 (ITU approval in November)

Point to Point Media through NAT. Allows media to traverse NAT/FW without the need to proxy media (disable H.460.19).

 

H.460.24 Annex A

Same NAT RTCP probe. Extension of H.460.24 to allow endpoints behind the same NAT/FW to probe for direct connectivity.

 

The standards documents are available from Packetizer.

http://www.packetizer.com/ipmc/h323/standards.html

http://www.packetizer.com/ipmc/h323/doc_status.html

 

 

Simon

 

 



Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux