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 -Wl,$AXIS2C_HOME/lib
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 -L$AXIS2C_HOME/lib/libaxutil.so -L$AXIS2C_HOME/lib/libaxis2_axiom.so ........... 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: http://www.nabble.com/compiling-with-gcc-tp19066875p19066875.html Sent from the Axis - C++ - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
