| Ahmad Jalil Qarshi 2005-11-24, 7:48 am |
| hi!
I have developed a simple CORBA client application on AIX 5.2 Machine
using Tuxedo8.1. when I compile it *.o files are created but compiler
generates few errors at link time. I tried to find out the solution but
couldn't as I am new to C++ programming on Unix.
I changed the environment variables as follow
CC=3Dxlc
CXX=3DxlC_r
and I m using the following command to compile the client.
buildobjclient -v -o Client -f "CosNaming_c.cpp Hello_c.cpp client.cpp"
Errors displayed are as follows:
****************************************
***********************************=
=AD*****************
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol:
..OBB::MarshalBuf::operator<<(unsigned int)
ld: 0711-317 ERROR: Undefined symbol:
..OBB::MarshalBuf::operator<<(CORBA::Object*)
CMDTUX_CAT:512: ERROR: Cannot execute C compiler xlC_r -D_THREAD_SAFE
-D_TOBJ -I$TUXDIR/include -o Client -qstaticinline -L${TUXDIR}/lib
-q64 -D_LARGE_FILES -D__XCOFF32__ -D__XCOFF64__ CosNaming_c.cpp
Hello_c.cpp client.cpp -brtl -lenv -lomg -lorb -lorbutl -licbgp
-lengine -lpthreads_compat -lpthread
****************************************
***********************************=
=AD******************
any ideas?
Thanks in advance.=20
With best regards,=20
Ahmad Jalil Qarshi
|