Menu

#57 missing depenencies

Release_2.1
open
nobody
5
2013-01-10
2007-12-06
No

If in a publich-header file of a package the interface of another package is provided, Confix fails to add the libraries of the provided interface to the linker line.

Example of wx-utils:

In "wx-utils/values/Value.h" "wamas/platform/utils/Error.h" is included.

If anywherer "wamas/platform/utils/Value.h" is included also the interface for libwx-utils_error is provided.
So anyone can use wamas::platform::utils::Error without including "wamas/platform/utils/Error.h".
But during linking with shared-libs unresolved symbols of wamas::platform::utils::Error are found, because libwx-utils_error is not placed on the linker line.

The problem can be solved if Confix adds the libraries for all intefaces to the linker line.

Discussion

  • Elmar Rudigier

    Elmar Rudigier - 2007-12-10

    Logged In: YES
    user_id=1021060
    Originator: YES

    To solve this problem everytime the full dependencies have to be resolved. Not only in case of interix or self written linker lines.
    File Added: dependencies.patch

     
  • Elmar Rudigier

    Elmar Rudigier - 2007-12-10

    resolve full dependencies ever

     

Log in to post a comment.

MongoDB Logo MongoDB