[
https://issues.apache.org/jira/browse/AXIS2C-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932421#action_12932421
]
Ivan Pechorin commented on AXIS2C-1503:
---------------------------------------
The same applies to axis2_sender: it also depends on axis2_engine, which is not
listed as dependency.
Index: src/core/transport/http/sender/Makefile.am
===================================================================
--- src/core/transport/http/sender/Makefile.am (revision 1035527)
+++ src/core/transport/http/sender/Makefile.am (working copy)
@@ -48,6 +48,7 @@
$(top_builddir)/src/core/transport/http/util/libaxis2_http_util.la\
$(top_builddir)/axiom/src/om/libaxis2_axiom.la\
$(top_builddir)/util/src/libaxutil.la\
+
$(top_builddir)/src/core/engine/libaxis2_engine.la\
$(LIBCURL_LIBS)\
$(SSL_LIBS)
> Missing dependency: libaxis2_mod_log.so depends on libaxis2_engine.so
> ---------------------------------------------------------------------
>
> Key: AXIS2C-1503
> URL: https://issues.apache.org/jira/browse/AXIS2C-1503
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Affects Versions: Current (Nightly)
> Environment: GNU/Linux (RHEL4) 32-bit, gcc 3.4.6
> Reporter: Ivan Pechorin
> Priority: Trivial
>
> It seems like there is trivial bug in Makefile.am: libaxis2_mod_log uses
> axis2_handler_create(), axis2_handler_set_invoke() and
> axis2_msg_ctx_get_soap_envelope(), provided by axis2_engine. However, this
> dependency is not listed in the Makefile.am, not provided to linker (as
> -laxis2_engine) and finally I get error at runtime.
> As far as I remember, newer versions of GCC are more explicit about
> dependencies and therefore should fail at link time, not runtime.
> Here is the patch against current trunk:
> Index: src/modules/mod_log/Makefile.am
> ===================================================================
> --- src/modules/mod_log/Makefile.am (revision 1035527)
> +++ src/modules/mod_log/Makefile.am (working copy)
> @@ -22,7 +22,8 @@
> libaxis2_mod_log_la_LIBADD = \
> $(top_builddir)/util/src/libaxutil.la
> \
> -
> $(top_builddir)/axiom/src/om/libaxis2_axiom.la
> +
> $(top_builddir)/axiom/src/om/libaxis2_axiom.la \
> +
> $(top_builddir)/src/core/engine/libaxis2_engine.la
> libaxis2_mod_log_la_LDFLAGS = -version-info $(VERSION_NO)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]