axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Pechorin (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-1503) Missing dependency: libaxis2_mod_log.so depends on libaxis2_engine.so
Date Tue, 16 Nov 2010 10:15:16 GMT
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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message