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

Re: [xmlblaster] link error with the newest program from cvs



pikaiyuan wrote:
> Marcel Ruff,hello!
> 
> 	your meaning is that i must compile c lib first?

Try this:

build c-delete cpp-delete
build c
build cpp


Here is a build.properties (on Windows) as an example:

--------------------------
use-msvc      = 1
XMLCPP_HOME   = C:/xerces-c2_2_0-win32
XMLCPP_VER    = _2
corba.product = TAO
CORBACPP_HOME = C:/ACE_wrappers/TAO
idl.cmd       = C:/ACE_wrappers/bin/tao_idl.exe
CORBACPP_VER  = 1.3

cpp.debug     = true

XMLBLASTER_PERSISTENT_QUEUE=1
sqlite.include.dir=C:/sqlite/src
sqlite.lib.dir=C:/sqlite/src

XMLBLASTER_COMPILE_LOG4CPLUS_PLUGIN=1

COMPILE_SOCKET_PLUGIN = 1
----------------------------

It compiles the CORBA and the SOCKET protocol
(on of it is usually enough).

If you set XMLBLASTER_PERSISTENT_QUEUE to 0 you
don't need the sqlite stuff.

regards

Marcel

> 
> ======= 2004-05-12 17:20:54 has been wrote:=======
> 
> 
>>pikaiyuan wrote:
>>
>>>Hello,
>>
>> freeBlobHolderContent() etc. are defined in
>>
>> xmlBlaster/src/c/util/helper.h
>>
>>The C++ lib depends on the C lib for persistent queue
>>implementation and for SOCKET protocol support.
>>Our build.xml resolves this on my Linux/Windows tests!
>>
>>If you don't use PersistentQueue and SOCKET
>>we should clean up the C++ code to have no C-lib dependencies
>>(TODO for the next release)
>>
>>regards
>>
>>Marcel
>>
>>
>>>       [cc]    Creating library xmlBlasterClient.lib and object xmlBlasterClient
>>>.exp
>>>       [cc] ConnectQueueEntry.obj : error LNK2019: unresolved external symbol _f
>>>reeBlobHolderContent referenced in function "public: virtual __thiscall org::xml
>>>Blaster::util::queue::ConnectQueueEntry::~ConnectQueueEntry(void)" (??1ConnectQu
>>>eueEntry at queue at util at xmlBlaster at org at  at UAE at XZ)
>>>       [cc] PublishQueueEntry.obj : error LNK2001: unresolved external symbol _f
>>>reeBlobHolderContent
>>>       [cc] ConnectQueueEntry.obj : error LNK2019: unresolved external symbol _f
>>>reeBlobDump referenced in function "public: virtual void const * __thiscall org:
>>>:xmlBlaster::util::queue::ConnectQueueEntry::getEmbeddedObject(void)const " (?ge
>>>tEmbeddedObject at ConnectQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] PublishQueueEntry.obj : error LNK2019: unresolved external symbol _f
>>>reeBlobDump referenced in function "public: virtual void const * __thiscall org:
>>>:xmlBlaster::util::queue::PublishQueueEntry::getEmbeddedObject(void)const " (?ge
>>>tEmbeddedObject at PublishQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] ConnectQueueEntry.obj : error LNK2019: unresolved external symbol _b
>>>lobDump referenced in function "public: virtual void const * __thiscall org::xml
>>>Blaster::util::queue::ConnectQueueEntry::getEmbeddedObject(void)const " (?getEmb
>>>eddedObject at ConnectQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] PublishQueueEntry.obj : error LNK2019: unresolved external symbol _b
>>>lobDump referenced in function "public: virtual void const * __thiscall org::xml
>>>Blaster::util::queue::PublishQueueEntry::getEmbeddedObject(void)const " (?getEmb
>>>eddedObject at PublishQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] ConnectQueueEntry.obj : error LNK2019: unresolved external symbol _e
>>>ncodeMsgUnit referenced in function "public: virtual void const * __thiscall org
>>>::xmlBlaster::util::queue::ConnectQueueEntry::getEmbeddedObject(void)const " (?g
>>>etEmbeddedObject at ConnectQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] PublishQueueEntry.obj : error LNK2019: unresolved external symbol _e
>>>ncodeMsgUnit referenced in function "public: virtual void const * __thiscall org
>>>::xmlBlaster::util::queue::PublishQueueEntry::getEmbeddedObject(void)const " (?g
>>>etEmbeddedObject at PublishQueueEntry at queue at util at xmlBlaster at org at  at UBEPBXXZ)
>>>       [cc] xmlBlasterClient.dll : fatal error LNK1120: 4 unresolved externals
>>>
>>>BUILD FAILED
>>>D:\drivers\xmlBlaster\build.xml:2114: link failed with return code 1120	
>>>
>>>   Maybe there is missing several file in cvs, isn't it?
>>>
>>>
>>>thanks any way        
>>> 				
>>>
>>>			   pikaiyuan
>>>			   2004-05-12	   
>>>
>>>
>>
>>
>>-- 
>>http://www.xmlBlaster.org
>>
> 
> 
> = = = = = = = = = = = = = = = = = = = =
> 			
> 
>      
>  
> 				 
> pikaiyuan
> pikaiyuan at 163.com
> 2004-05-12
> 
> 


-- 
http://www.xmlBlaster.org