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

Re: c++ compile?



Cory Bennett wrote:
> 
> Has anyone been able to compile the c++ clients lately?

Yes, there was a bug i have introduced lately,
it is fixed in the current cvs - sorry.


Here the output from the src/c++ section:
=======================================
ruff:~/xmlBlaster/src/c++$ make all
echo target is all
target is all
cd /home/ruff/xmlBlaster/src/c++/generated; make all; cd ..
make[1]: Entering directory `/home/ruff/xmlBlaster/src/c++/generated'
/usr/local/mico/bin/idl --poa
/home/ruff/xmlBlaster/src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl
gcc -I/home/ruff/xmlBlaster/src/c++/generated -I/usr/local/mico/include
-DMICO -c /home/ruff/xmlBlaster/src/c++/generated/xmlBlaster.cc
make[1]: Leaving directory `/home/ruff/xmlBlaster/src/c++/generated'
cd /home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp; make all; cd
/home/ruff/xmlBlaster/src/c++
make[1]: Entering directory
`/home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp'
mkdir -p -m 775 /home/ruff/xmlBlaster/classes/org/xmlBlaster/util
jikes -deprecation -g -d /home/ruff/xmlBlaster/classes
/home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp/HttpIorForCpp.java
jikes -deprecation -g -d /home/ruff/xmlBlaster/classes
/home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp/SetCCProperties.java
DONE ............ All of
/home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp
make[1]: Leaving directory
`/home/ruff/xmlBlaster/src/java/org/xmlBlaster/util/cpp'
cd /home/ruff/xmlBlaster/src/c++/util; make all; cd ..
make[1]: Entering directory `/home/ruff/xmlBlaster/src/c++/util'
java org.xmlBlaster.util.cpp.SetCCProperties > PropertyDef.h
gcc -I/home/ruff/xmlBlaster/src/c++/generated -I/usr/local/mico/include
-DMICO -I.. -c CompatibleCorba.cc
gcc -I/home/ruff/xmlBlaster/src/c++/generated -I/usr/local/mico/include
-DMICO -I.. -c Log.cc
make[1]: Leaving directory `/home/ruff/xmlBlaster/src/c++/util'
cd /home/ruff/xmlBlaster/src/c++/client; make all; cd ..
make[1]: Entering directory `/home/ruff/xmlBlaster/src/c++/client'
gcc -I/home/ruff/xmlBlaster/src/c++/generated -I/usr/local/mico/include
-DMICO -I/opt/xerces -I.. -c CorbaConnection.cc
make[1]: Leaving directory `/home/ruff/xmlBlaster/src/c++/client'
ruff:~/xmlBlaster/src/c++$ 
=======================================

> 
> testsuite/c++ clients all include client/XmlBlasterConnection.h which does not
> exist in the CVS tree.  Maybe this is somehow generated from
> src/java/org/xmlBlaster/client/protocol/XmlBlasterConnection.java?
> 
> testsuite/c++/
> And as far as I can tell src/c++ does not actually produce any binaries, just
> some .o files that get linked into the clients in testsuite/c++.
> 
> If someone has been able to compile the c++ stuff could you send me the make
> session output.

Here the output from testsuite/c++:

===================================================
ruff:~/xmlBlaster/testsuite/c++$ make all
gcc -I/home/ruff/xmlBlaster/src/c++/generated -I/usr/local/mico/include
-DMICO -I/opt/xerces -I/home/ruff/xmlBlaster/src/c++ -c TestGet.cc
gcc TestGet.o /home/ruff/xmlBlaster/src/c++/client/CorbaConnection.o
/home/ruff/xmlBlaster/src/c++/util/CompatibleCorba.o
/home/ruff/xmlBlaster/src/c++/util/Log.o
/home/ruff/xmlBlaster/src/c++/generated/xmlBlaster.o
-o/home/ruff/xmlBlaster/testsuite/c++/bin/TestGet -L/opt/xerces/lib
-lxerces-c1_2 -lpthread -ldl -L/usr/local/mico/lib -lmico2.3.1 -lpthread
-L/usr/local/mico/lib -lmicocoss2.3.1 -lstdc++

...
===================================================

thanks,

Marcel

-- 
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org