axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Pechorin (JIRA)" <>
Subject [jira] Created: (AXIS2C-1503) Missing dependency: depends on
Date Tue, 16 Nov 2010 10:15:16 GMT
Missing dependency: depends on

                 Key: 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 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, 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/
--- src/modules/mod_log/     (revision 1035527)
+++ src/modules/mod_log/     (working copy)
@@ -22,7 +22,8 @@

 libaxis2_mod_log_la_LIBADD =  \
                                        $(top_builddir)/util/src/ \
-                                       $(top_builddir)/axiom/src/om/
+                                       $(top_builddir)/axiom/src/om/ \
+                                       $(top_builddir)/src/core/engine/

 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:
For additional commands, e-mail:

View raw message