[ 
https://issues.apache.org/jira/browse/AXIS2C-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Samisa Abeysinghe resolved AXIS2C-1503.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Samisa Abeysinghe

Applied the patch. Thanks for the patch. 

Committed revision 1163196.

> 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
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>             Fix For: 1.7.0
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to