Return-Path: Delivered-To: apmail-xml-xerces-c-dev-archive@www.apache.org Received: (qmail 73451 invoked from network); 3 Mar 2004 17:15:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Mar 2004 17:15:58 -0000 Received: (qmail 18213 invoked by uid 500); 3 Mar 2004 17:15:46 -0000 Delivered-To: apmail-xml-xerces-c-dev-archive@xml.apache.org Received: (qmail 18153 invoked by uid 500); 3 Mar 2004 17:15:46 -0000 Mailing-List: contact xerces-c-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: xerces-c-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list xerces-c-dev@xml.apache.org Received: (qmail 18082 invoked from network); 3 Mar 2004 17:15:45 -0000 Received: from unknown (HELO pscgate.progress.com) (192.77.186.1) by daedalus.apache.org with SMTP; 3 Mar 2004 17:15:45 -0000 Received: from elvirus.progress.com (elvirus [192.77.186.100]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i23HFiwN011127 for ; Wed, 3 Mar 2004 12:15:45 -0500 (EST) Received: from progress.com (localhost [127.0.0.1]) by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i23HFl221713 for ; Wed, 3 Mar 2004 12:15:47 -0500 (EST) X-Authentication-Warning: elvirus.progress.com: iscan owned process doing -bs Received: from naserv.bedford.progress.com (naserv [172.16.5.174]) by progress.com (8.11.6/8.11.6) with ESMTP id i23HFin23664 for ; Wed, 3 Mar 2004 12:15:44 -0500 (EST) Received: from AlbertoMassari.progress.com by naserv.bedford.progress.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HU000701FXZ2I@naserv.bedford.progress.com> for xerces-c-dev@xml.apache.org; Wed, 03 Mar 2004 12:15:44 -0500 (EST) Date: Wed, 03 Mar 2004 18:15:32 +0100 From: Alberto Massari Subject: Re: unresolved symbols (external) In-reply-to: <20040303170823.FHQN2031.out003.verizon.net@outgoing.verizo n.net> X-Sender: amassari@namail.bedford.progress.com To: xerces-c-dev@xml.apache.org Message-id: <6.0.3.0.2.20040303181348.036d2ec0@namail.bedford.progress.com> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <20040303170823.FHQN2031.out003.verizon.net@outgoing.verizon.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 09.08 03/03/2004 -0800, Jimmy Yu wrote: >Hello, > >My previous 2 postings didn't get through (At least they weren't >on the web site.) If this is a repeat for you, please forgive me. > >I am using VC++ 6.0, before I merged my code into the main project, >everything was fine independently. However, now I am getting these >errors below. If anyone can shed any light on the matter, it would >be appreciated... From what I can see from the log, you built a static library using Xerces, and you are now building a DLL named "Engine" linking against this static library. In this case, you need to link Engine against Xerces too. Alberto >--------------------Configuration: Engine - Win32 Debug-------------------- >Linking... > Creating library Debug/Engine.lib and object Debug/Engine.exp >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static void __stdcall >xercesc_2_5::XMemory::operator delete(void *)" >(__imp_??3XMemory@xercesc_2_5@@SGXPAX@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static void * __stdcall >xercesc_2_5::XMemory::operator new(unsigned int)" >(__imp_??2XMemory@xercesc_2_5@@SGPAXI@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static void __stdcall >xercesc_2_5::XMLString::release(char * *)" >(__imp_?release@XMLString@xercesc_2_5@@SGXPAPAD@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static char * __stdcall >xercesc_2_5::XMLString::transcode(unsigned short const * const)" >(__imp_?transcode@XMLString@xercesc_2_5@@SGPADQBG@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"public: class ostream & __thiscall ostream::operator<<(int)" >(??6ostream@@QAEAAV0@H@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"public: class ostream & __thiscall ostream::operator<<(char const *)" >(??6ostream@@QAEAAV0@PBD@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"class ostream_withassign cout" (?cout@@3Vostream_withassign@@A) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"public: class ostream & __thiscall ostream::operator<<(unsigned char)" >(??6ostream@@QAEAAV0@E@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"public: class ostream & __thiscall ostream::flush(void)" >(?flush@ostream@@QAEAAV1@XZ) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static class xercesc_2_5::DOMImplementation >* __stdcall >xercesc_2_5::DOMImplementationRegistry::getDOMImplementation(unsigned >short const *)" ( >__imp_?getDOMImplementation@DOMImplementationRegistry@xercesc_2_5@@SGPAVDOMImplementation@2@PBG@Z) >Lib.lib(ConstraintChecker.obj) : error LNK2001: unresolved external symbol >"__declspec(dllimport) public: static void __stdcall >xercesc_2_5::XMLPlatformUtils::Initialize(char const * const,char const * >const,class xercesc_2_5::PanicHandler * const,c >lass xercesc_2_5::MemoryManager * const)" >(__imp_?Initialize@XMLPlatformUtils@xercesc_2_5@@SGXQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z) >Debug/Engine.dll : fatal error LNK1120: 11 unresolved externals >Error executing link.exe. > >Install.exe - 12 error(s), 0 warning(s) > >Sincerely >-- Jimmy Yu > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org >For additional commands, e-mail: xerces-c-dev-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org For additional commands, e-mail: xerces-c-dev-help@xml.apache.org