You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by "Bhatt, Nitin IN GGN SISL" <Ni...@Siemens.com> on 2006/06/15 08:52:21 UTC
Unable to compile sample applications in axis-c-1.5
Hi,
I am trying to runaxis-c-1.5 client on RHEL4.
When I try and compile the sample application, I get the following error
message:
/tmp/ccx5LrlI.o(.text+0x15): In function `msgbrkr::msgbrkr(char const *,
axiscpp
::AXIS_PROTOCOL_TYPE)':
: undefined reference to `axiscpp::Stub::Stub(char const *,
axiscpp::AXIS_PROTOC
OL_TYPE)'
/tmp/ccx5LrlI.o(.text+0x3c): In function `msgbrkr::msgbrkr(void)':
: undefined reference to `axiscpp::Stub::Stub(char const *,
axiscpp::AXIS_PROTOC
OL_TYPE)'
/tmp/ccx5LrlI.o(.text+0x79): In function `msgbrkr::msgbrkr(void)':
: undefined reference to `axiscpp::Stub::~Stub(void)'
/tmp/ccx5LrlI.o(.text+0xb5): In function `msgbrkr::~msgbrkr(void)':
: undefined reference to `axiscpp::Stub::~Stub(void)'
/tmp/ccx5LrlI.o(.text+0x130): In function `msgbrkr::queueMsg(char *)':
: undefined reference to `axiscpp::Call::getTransportProperty(char const
*, bool )'
/tmp/ccx5LrlI.o(.text+0x1a2): In function `msgbrkr::queueMsg(char *)':
: undefined reference to `axiscpp::Stub::applyUserPreferences(void)'
/tmp/ccx5LrlI.o(.text+0x26e): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x296): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x319): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::AxisException &)'
/tmp/ccx5LrlI.o(.text+0x33b): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::SoapFaultException const &)'
/tmp/ccx5LrlI.o(.text+0x348): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x350): In function `msgbrkr::queueMsg(char *)':
: undefined reference to `axiscpp::SoapFaultException type_info
function'
/tmp/ccx5LrlI.o(.text+0x3be): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::AxisException &)'
/tmp/ccx5LrlI.o(.text+0x3e0): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::SoapFaultException const &)'
/tmp/ccx5LrlI.o(.text+0x3ed): In function `msgbrkr::queueMsg(char *)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x3f5): In function `msgbrkr::queueMsg(char *)':
: undefined reference to `axiscpp::SoapFaultException type_info
function'
/tmp/ccx5LrlI.o(.text+0x478): In function `msgbrkr::aboutService(void)':
: undefined reference to `axiscpp::Call::getTransportProperty(char const
*, bool )'
/tmp/ccx5LrlI.o(.text+0x4ea): In function `msgbrkr::aboutService(void)':
: undefined reference to `axiscpp::Stub::applyUserPreferences(void)'
/tmp/ccx5LrlI.o(.text+0x596): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x5be): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x641): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::AxisException &)'
/tmp/ccx5LrlI.o(.text+0x663): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::SoapFaultException const &)'
/tmp/ccx5LrlI.o(.text+0x670): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x678): In function `msgbrkr::aboutService(void)':
: undefined reference to `axiscpp::SoapFaultException type_info
function'
/tmp/ccx5LrlI.o(.text+0x6e6): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::AxisException &)'
/tmp/ccx5LrlI.o(.text+0x708): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::SoapFaultException(axiscp
p::SoapFaultException const &)'
/tmp/ccx5LrlI.o(.text+0x715): In function `msgbrkr::aboutService(void)':
: undefined reference to
`axiscpp::SoapFaultException::~SoapFaultException(void)
'
/tmp/ccx5LrlI.o(.text+0x71d): In function `msgbrkr::aboutService(void)':
: undefined reference to `axiscpp::SoapFaultException type_info
function'
/tmp/ccx5LrlI.o(.gnu.linkonce.t.__tf7msgbrkr+0x10): In function `msgbrkr
type_in fo function':
: undefined reference to `axiscpp::Stub type_info function'
/tmp/ccx5LrlI.o(.gnu.linkonce.t.__tf7msgbrkr+0x18): In function `msgbrkr
type_in fo function':
: undefined reference to `axiscpp::Stub type_info node'
collect2: ld returned 1 exit status
The command I used to compile is
gcc296 *.cpp -I/home/nitin/axis-c/axis-c-1.5.0-linux-bin/include
-L/home/nitin/axis-c/axis-c-1.5.0-linux-bin/lib -ldl -laxis_client
-oClient
I have already made the changes and appropriate settings in
LD_LIBRARY_PATH .
Need advice how to resolve this issue.
Thanks
Nitin