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

Re: [xmlblaster] cpp-lib: vc7 hangs up when compiling



Uwe Speck wrote:

Hi everyone,

I tried to compile the cpp-lib with v7 running under Win 2000.

I used the following build.properties entries:

use-msvc    = 1
XMLCPP_HOME   = C:/Dev/xerces-c2_2_0-win32
XMLCPP_VER    = _2
CORBACPP_HOME = C:/Dev/mico
corba.product = MICO
idl.cmd       = ${CORBACPP_HOME}/win32-bin/idl
CORBACPP_VER  = 238
thread.impl   = BOOST

And I used the following command line to build:

build cpp-lib -verbose

The problem: The batch file hangs with the following last messages:

[uptodate] File "E:\xmlBlaster\src\c++\generated\xmlBlaster.cpp" is
up-to-date.
[echo] MICO stubs and skeletons for os=windows are up to date
[echo] Using C:/Dev/xerces-c2_2_0-win32/lib and xerces-c_2
[copy] Copying 1 file to E:\xmlBlaster\src\c++\util
[copy] Copying E:\xmlBlaster\src\c++\util\Global.cpp to
E:\xmlBlaster\src\c++\util\Global_CopyByAnt.cpp
[copy] Replacing: at version at -> 0.843
[copy] Replacing: at build.timestamp at -> 03/19/2003 06:49 PM


I'm quite shure that the build.xml hangs up in the area

     <cc debug="${cpp.debug}" link="${CPP_LINK}"
         outfile="${lib.dir}/xmlBlasterClient" objdir="${build.dir}/obj"
         multithreaded="true" exceptions="true">

....


Uwe,

i have attached the Windows compile output (MICO, XERCES) and the rsp file,
you can use this as a base to compile without ant.

regards

Marcel

/NOLOGO
/DEBUG
/DLL
/INCREMENTAL:NO
/OUT:xmlBlasterClient.dll
"..\..\..\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib\WS2_32.Lib"
..\..\mico\win32-bin\lib\mico238.lib
..\..\mico\win32-bin\lib\micocoss238.lib
..\..\xerces-c2_2_0-win32\lib\xerces-c_2.lib
..\build\obj\QueryKeyData.obj
..\build\obj\Timeout.obj
..\build\obj\SubscribeQueueEntry.obj
..\build\obj\NodeId.obj
..\build\obj\UnSubscribeKey.obj
..\build\obj\CorbaDriver.obj
..\build\obj\EmbeddedServer.obj
..\build\obj\Timestamp.obj
..\build\obj\MsgKeyBase.obj
..\build\obj\ConnectQos.obj
..\build\obj\threadmon.obj
..\build\obj\XmlQoSBase.obj
..\build\obj\PublishQos.obj
..\build\obj\Destination.obj
..\build\obj\TopicProperty.obj
..\build\obj\exceptions.obj
..\build\obj\once.obj
..\build\obj\condition.obj
..\build\obj\DefaultCallback.obj
..\build\obj\tss.obj
..\build\obj\DisconnectQos.obj
..\build\obj\UnSubscribeQueueEntry.obj
..\build\obj\xmlBlaster.obj
..\build\obj\SubscribeKey.obj
..\build\obj\NodeInfo.obj
..\build\obj\ConnectQueueEntry.obj
..\build\obj\GetReturnQos.obj
..\build\obj\Log.obj
..\build\obj\SaxHandlerBase.obj
..\build\obj\PublishKey.obj
..\build\obj\QueuePropertyBase.obj
..\build\obj\XmlBlasterAccess.obj
..\build\obj\HistoryQueueProperty.obj
..\build\obj\recursive_mutex.obj
..\build\obj\Queue.obj
..\build\obj\HistoryQos.obj
..\build\obj\MessageUnit.obj
..\build\obj\MsgQosFactory.obj
..\build\obj\SecurityQos.obj
..\build\obj\CorbaDriverFactory.obj
..\build\obj\Query.obj
..\build\obj\MsgQueueEntry.obj
..\build\obj\AddressFactory.obj
..\build\obj\MsgQosData.obj
..\build\obj\CorbaConnection.obj
..\build\obj\ReferenceCounterBase.obj
..\build\obj\StatusQosFactory.obj
..\build\obj\CompatibleCorba.obj
..\build\obj\xtime.obj
..\build\obj\ThreadImpl.obj
..\build\obj\UpdateReturnQos.obj
..\build\obj\UpdateQos.obj
..\build\obj\QueuePropertyFactory.obj
..\build\obj\MsgUnitStoreProperty.obj
..\build\obj\SessionQos.obj
..\build\obj\SecurityQosFactory.obj
..\build\obj\PriorityEnum.obj
..\build\obj\QueueProperty.obj
..\build\obj\CbServerPluginManager.obj
..\build\obj\MsgKeyData.obj
..\build\obj\GetQos.obj
..\build\obj\RouteInfo.obj
..\build\obj\SubscribeReturnQos.obj
..\build\obj\PublishReturnQos.obj
..\build\obj\AddressBase.obj
..\build\obj\QosData.obj
..\build\obj\UpdateKey.obj
..\build\obj\PlatformUtils.obj
..\build\obj\thread.obj
..\build\obj\QueryQosData.obj
..\build\obj\ConnectionsHandler.obj
..\build\obj\SubscribeQos.obj
..\build\obj\DeliveryManager.obj
..\build\obj\PublishQueueEntry.obj
..\build\obj\EraseQos.obj
..\build\obj\MsgKeyFactory.obj
..\build\obj\XmlBlasterException.obj
..\build\obj\StatusQosData.obj
..\build\obj\GetReturnKey.obj
..\build\obj\Global_CopyByAnt.obj
..\build\obj\MsgQueue.obj
..\build\obj\ServerRef.obj
..\build\obj\Address.obj
..\build\obj\UnSubscribeQos.obj
..\build\obj\CallbackAddress.obj
..\build\obj\ConnectQosFactory.obj
..\build\obj\AccessFilterQos.obj
..\build\obj\KeyData.obj
..\build\obj\Property.obj
..\build\obj\CbQueueProperty.obj
..\build\obj\mutex.obj
..\build\obj\Constants.obj
xmlBlaster Build System
-------------------
Building with classpath C:\Marcel\jdk\lib\tools.jar;C:\Marcel\xmlBlaster\lib\ant\ant.jar;C:\Marcel\xmlBlaster\lib\ant\cpptasks.jar;C:\Marcel\xmlBlaster\lib\ant\ant-contrib.jar;C:\Marcel\xmlBlaster\lib\ant\xerces.jar;C:\Marcel\xmlBlaster\lib\ant\optional.jar;C:\Marcel\xmlBlaster\lib\junit.jar;C:\Marcel\xmlBlaster\lib\ant\xalan.jar;C:\Marcel\xmlBlaster\lib\ant\xml-apis.jar
Starting Ant...
Apache Ant version 1.6alpha compiled on February 4 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\Marcel\jdk\jre
Detected OS: Windows XP
parsing buildfile C:\Marcel\xmlBlaster\build.xml with URI = file:///C:/Marcel/xmlBlaster/build.xml
Project base dir set to: C:\Marcel\xmlBlaster
  [taskdef] Loading definitions from resource cpptasks.tasks
  [typedef] Loading definitions from resource cpptasks.types
  [taskdef] Loading definitions from resource net/sf/antcontrib/antcontrib.properties
 [property] Loading C:\Documents and Settings\marcel\build.properties
 [property] Unable to find property file: C:\Documents and Settings\marcel\build.properties
 [property] Loading C:\Marcel\xmlBlaster\build.properties
Property ${JAVA_HOME} has not been set
Override ignored for property CORBACPP_VER
Override ignored for property CORBACPP_HOME
Override ignored for property XMLCPP_VER
Override ignored for property XMLCPP_HOME
Override ignored for property thread.impl
Override ignored for property corba.product

prepare:
     [echo] os.family=windows os.name=Windows XP
     [echo] Build timestamp = 03/20/2003 10:33 AM version = 0.843
     [echo] xmlBlaster.home=C:\Marcel\xmlBlaster

prepare-cpp:
     [echo] Adjust following settings in build.properties if necessary:
     [echo]  XMLCPP_HOME   = C:/Marcel/xerces-c2_2_0-win32
     [echo]  XMLCPP_VER    = _2
     [echo]  CORBACPP_HOME = C:/Marcel/mico
     [echo]  CORBACPP_VER  = 238
Property ${use-gcc} has not been set
     [echo]  use-gcc       = ${use-gcc}
Property ${use-CC} has not been set
     [echo]  use-CC        = ${use-CC}
     [echo]  use-msvc      = 1
Property ${use-bcc} has not been set
     [echo]  use-bcc       = ${use-bcc}
     [echo]  Setting MICO = true
     [echo]  Setting MICO,windows = true
     [echo]  Setting BOOST = true

cpp-lib:
     [echo] calling ant target cpp-corba-idl-MICO ...

  [antcall] calling target cpp-corba-idl-MICO in build file C:\Marcel\xmlBlaster\build.xml
Build sequence for target `cpp-corba-idl-MICO' is [cpp-corba-idl-MICO]
Complete build sequence is [cpp-corba-idl-MICO, prepare, prepare-cpp, cpp-lib, runTests, whitepaper-delete, report, runTestsAndReport, java-corba-idl, prepare-src, xmlBlaster, k2, jms-adapter, cpp-demo, cpp-clean, clean, cpp-delete, javadocs-delete, html-delete, requirements-delete, docs-delete, delete, demo, testsuite-only, testsuite, all, dist-only, dist, compileCppExe, dist-client-only, cpp-corba-idl-TAO, startXmlBlasterServer, usage, jboss-sar, requirements, cpp-test-single, cpp-corba-idl-ORBIX, deploy_war, cpp-demo-single, dist-client, runJunit, html, javadocs, cpp-corba-idl-OMNIORB, whitepaper, docs, cpp-test, cpp, ]

cpp-corba-idl-MICO:
Override ignored for property idl.cmd
 [uptodate] xmlBlaster.idl omitted as C:\Marcel\xmlBlaster\src\c++\generated\xmlBlaster.cpp is up to date.
 [uptodate] File "C:\Marcel\xmlBlaster\src\c++\generated\xmlBlaster.cpp" is up-to-date.
     [echo] MICO stubs and skeletons for os=windows are up to date
     [echo] Using C:/Marcel/xerces-c2_2_0-win32/lib and xerces-c_2
     [copy] Copying 1 file to C:\Marcel\xmlBlaster\src\c++\util
     [copy] Copying C:\Marcel\xmlBlaster\src\c++\util\Global.cpp to C:\Marcel\xmlBlaster\src\c++\util\Global_CopyByAnt.cpp
       [cc] Starting dependency analysis for 91 files.
       [cc] 91 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 1 total files to be compiled.
       [cc] cl /W3 -DBOOST /c /nologo /GX /Zi /Od /GZ /D_DEBUG /MDd /DXMLBLASTER_MICO=1 /D__WIN32__ /D_WIN32_WINNT=0x0400 /D__x86__ /D__NT__ /D__OSVERSION__=4 /D_OMNITHREAD_DLL=1 /DWIN32=1 /DDLL_BUILD=1 /D_MBCS=1 /DBOOST_ASSERT_CONFIG=1 /D_WINDOWS=1 /IC:\Marcel\xmlBlaster\src\c++ /IC:\Marcel\mico /IC:\Marcel /IC:\Marcel\mico\orbsvcs /IC:\Marcel\mico\include /IC:\Marcel\mico\include\windows /IC:\Marcel\xerces-c2_2_0-win32\src /IC:\Marcel\xerces-c2_2_0-win32\src\xercesc /IC:\Marcel\xerces-c2_2_0-win32\include /IC:\Marcel\xerces-c2_2_0-win32\include\xercesc C:\Marcel\xmlBlaster\src\c++\util\Global_CopyByAnt.cpp
       [cc] Global_CopyByAnt.cpp
       [cc] Starting link
       [cc] link  at C:\Marcel\xmlBlaster\lib\xmlBlasterClient.rsp
       [cc]    Creating library xmlBlasterClient.lib and object xmlBlasterClient.exp

  [antcall] calling target compileCppExe in build file C:\Marcel\xmlBlaster\build.xml
parsing buildfile C:\Marcel\xmlBlaster\build.xml with URI = file:///C:/Marcel/xmlBlaster/build.xml
Project base dir set to: C:\Marcel\xmlBlaster
  [taskdef] Loading definitions from resource cpptasks.tasks
Ignoring override for task cc, it is already defined by the same class.
  [typedef] Loading definitions from resource cpptasks.types
Ignoring override for datatype compiler, it is already defined by the same class.
Ignoring override for datatype defineset, it is already defined by the same class.
Ignoring override for datatype linker, it is already defined by the same class.
  [taskdef] Loading definitions from resource net/sf/antcontrib/antcontrib.properties
Ignoring override for task propertycopy, it is already defined by the same class.
Ignoring override for task foreach, it is already defined by the same class.
Ignoring override for task osfamily, it is already defined by the same class.
Ignoring override for task switch, it is already defined by the same class.
Ignoring override for task trycatch, it is already defined by the same class.
Ignoring override for task throw, it is already defined by the same class.
Ignoring override for task if, it is already defined by the same class.
 [property] Loading C:\Documents and Settings\marcel\build.properties
 [property] Unable to find property file: C:\Documents and Settings\marcel\build.properties
 [property] Loading C:\Marcel\xmlBlaster\build.properties
Build sequence for target `compileCppExe' is [compileCppExe]
Complete build sequence is [compileCppExe, prepare, prepare-cpp, cpp-lib, runTests, whitepaper-delete, report, runTestsAndReport, java-corba-idl, prepare-src, xmlBlaster, k2, jms-adapter, cpp-demo, cpp-clean, clean, cpp-delete, javadocs-delete, html-delete, requirements-delete, docs-delete, delete, demo, testsuite-only, testsuite, all, dist-only, dist, dist-client-only, cpp-corba-idl-TAO, startXmlBlasterServer, usage, jboss-sar, requirements, cpp-test-single, cpp-corba-idl-ORBIX, deploy_war, cpp-demo-single, dist-client, runJunit, html, javadocs, cpp-corba-idl-OMNIORB, whitepaper, docs, cpp-test, cpp-corba-idl-MICO, cpp, ]

compileCppExe:
     [echo] Compiling of C++ test client './testsuite/src/c++/bin/TestSub' ...
       [cc] 1 total files to be compiled.
       [cc] cl /W3 -DBOOST /c /nologo /GX /Zi /Od /GZ /D_DEBUG /MDd /DXMLBLASTER_MICO=1 /DWIN32=1 /D_MBCS=1 /D_USRDLL=1 /D_WINDOWS=1 /IC:\Marcel\xmlBlaster\src\c++ /IC:\Marcel\mico\include /IC:\Marcel\xerces-c2_2_0-win32\include /IC:\Marcel\xerces-c2_2_0-win32\include\xercesc C:\Marcel\xmlBlaster\testsuite\src\c++\TestSub.cpp
       [cc] TestSub.cpp
       [cc] Starting link
       [cc] link /NOLOGO /DEBUG /INCREMENTAL:NO /OUT:TestSub.exe ..\..\..\..\..\mico\win32-bin\lib\mico238.lib ..\..\..\..\..\mico\win32-bin\lib\micocoss238.lib ..\..\..\..\..\xerces-c2_2_0-win32\lib\xerces-c_2.lib ..\..\..\..\lib\xmlBlasterClient.lib ..\..\..\..\build\obj\TestSub.obj