axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martina08 <>
Subject compiling with gcc
Date Wed, 20 Aug 2008 10:43:51 GMT

I want to build the math-example. My command is like the manual:
gcc -o mathexecute -I$AXIS2C_HOME/include/axis2-1.5.0/ -L$AXIS2C_HOME/lib
-laxutil -laxis2_axiom -laxis2_parser -laxis2_engine -lpthread
-laxis2_http_sender -laxis2_http_receiver math_client.c ldl -Wl,--rpath

There is the error "Cannot find -laxutil ". I know the Libraries exist and I
set the $AXIS2C_HOME/lib to the LD_LIBRARY_PATH but this dont solve the
problem. In which folder I must execute this command?
Have i forget something?
When i use the complete Path to the libs like:
gcc -o mathexecute -I$AXIS2C_HOME/include/axis2-1.5.0/ -L$AXIS2C_HOME/lib
then the compiler find the libraries(there is no error) but then i get much
more "undefined reference to"-errors in function main like:
undefined reference to axutil_env_create_all
undefined reference to axutil_strcmp
Does somebody know where is my mistake?
View this message in context:
Sent from the Axis - C++ - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message