Hello everybody! I am new in this list so... be nice, want you? lol Well, I am writing web services with Axis2c I have built successfully one and is deployed on Apache2 and the Simple HTTP Server which is included with Axis2c distribution. But as usual with C, is falling with a segmentation fault, :D, this is not the problem, in fact i don't know if this is the place to make my question, but i am trying to set the "--mode=compile" flag to "--mode=execute gdb" for libtool because when i am debugging my web service i can't reach with gdb the code of the dynamic linked library which is my web service. I hope to be clear enough! Sorry if my English is bad! :( ¡¡¡¡Thanks in advance!!!! Attached: the configure.in and Makefile.am "code" and gdb output. ## CONFIGURE.IN AC_PREREQ(2.61) AC_INIT(WS_NASTY, 0.0.1, XXXXXXXX@xxxxxxxxxxx) AC_CONFIG_SRCDIR([src/]) AC_CONFIG_HEADER([src/config.h]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_ARG_WITH(axis2, [ --with-axis2=<path> prefijo de la instalacion del axis2c e.g. /usr ], [ AXIS2_PREFIX=$with_axis2 ], AC_MSG_ERROR([Debes utilizar la opcion --with-axis2 para enlazar con esta biblioteca por ejemplo --with-axis2=/usr]) ) AC_SUBST(AXIS2_PREFIX) AXIS2_LIBS="-L${AXIS2_PREFIX}/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine -laxis2_http_sender -laxis2_http_receiver" AXIS2_CFLAGS="-I${AXIS2_PREFIX}/include/axis2-1.5.0" AC_SUBST(AXIS2_LIBS) AC_SUBST(AXIS2_CFLAGS) AM_INIT_AUTOMAKE AC_PROG_LIBTOOL AC_PROG_CXX AC_OUTPUT ## MAKEFILE.AM prglibdir=$(prefix)/services/NastyWS prglib_LTLIBRARIES=libNastyWS.la prglib_DATA=services.xml libNastyWS_la_SOURCES=a.cpp a.h ai.h b.cpp b.h CFLAGS=-ggdb -O0 ##This is wrong i know CXXFLAGS=-ggdb -O0 ##This is wrong i know INCLUDES=$(AXIS2_CFLAGS) LIBS=$(AXIS2_LIBS) ## GDB OUTPUT (gdb) r Starting program: /usr/local/bin/axis2_http_server [Thread debugging using libthread_db enabled] [New Thread 0xb764b8f0 (LWP 15514)] Started Simple Axis2 HTTP Server ... [New Thread 0xb764ab90 (LWP 15518)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb764ab90 (LWP 15518)] 0x6c707061 in ?? () (gdb) bt #0 0x6c707061 in ?? () #1 0xb7d7f528 in axis2_msg_recv_make_new_svc_obj (msg_recv=0x87dcdf0, env=0x88160c0, msg_ctx=0x8820390) at msg_recv.c:166 #2 0xb7d7f626 in axis2_msg_recv_get_impl_obj (msg_recv=0x87dcdf0, env=0x88160c0, msg_ctx=0x8820390) at msg_recv.c:194 #3 0xb7d7fff2 in axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (msg_recv=0x87dcdf0, env=0x88160c0, msg_ctx=0x8820390, new_msg_ctx=0x8828510) at raw_xml_in_out_msg_recv.c:99 #4 0xb7d7fcf3 in axis2_msg_recv_invoke_business_logic (msg_recv=0x87dcdf0, env=0x88160c0, in_msg_ctx=0x8820390, out_msg_ctx=0x8828510) at msg_recv.c:397 #5 0xb7d7fad1 in axis2_msg_recv_receive_impl (msg_recv=0x87dcdf0, env=0x88160c0, msg_ctx=0x8820390, callback_recv_param=0x0) at msg_recv.c:319 #6 0xb7d7fd4f in axis2_msg_recv_receive (msg_recv=0x87dcdf0, env=0x88160c0, msg_ctx=0x8820390, callback_recv_param=0x0) at msg_recv.c:436 #7 0xb7d713d1 in axis2_engine_receive (engine=0x88280a8, env=0x88160c0, msg_ctx=0x8820390) at engine.c:318 #8 0xb7dd1883 in axis2_http_transport_utils_process_http_post_request (env=0x88160c0, msg_ctx=0x8820390, in_stream=0x88160f0, out_stream=0x8816120, content_type=0x88161b8 "text/xml; charset=UTF-8", content_length=510, soap_action_header=0x8821a68, request_uri=0x8821a80 "http://127.0.0.1:9090/axis2/services/SaludoWS") at http_transport_utils.c:659 #9 0xb7dcdb0d in axis2_http_worker_process_request (http_worker=0x8815740, env=0x88160c0, svr_conn=0x88160e0, simple_request=0x88161a0) at http_worker.c:908 #10 0xb7d2f719 in axis2_svr_thread_worker_func (thd=0x8815fe8, data=0x8815fd0) at http_svr_thread.c:259 #11 0xb7dfbd15 in dummy_worker (opaque=0x8815fe8) at thread_unix.c:93 #12 0xb7cf51a2 in start_thread () from /lib/libpthread.so.0 #13 0xb7c6948e in clone () from /lib/libc.so.6 _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf