Bugs item #1862689, was opened at 2008-01-02 21:33
Message generated for change (Comment added) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862689&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compile-Time
Group: Latest release
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Macks (dmacks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Misused libtool linking flags can cause linker failure

Initial Comment:
The flags that are used for linking synfig's modules and other components  
libsynfig are not up to the standards specified in the libtool/automake manuals 
for how one should be linking against a library in the build directory. 
Specific example of this would be synfig-0.61.07/src/modules/mod_dv/Makefile.am:

libmod_dv_la_LIBADD = -L../../synfig -lsynfig @SYNFIG_LIBS@

By relying on the linker to find libsynfig via a search of -L paths, I get 
failures if there is an unrelated or incompatible or other "unexpected" 
libsynfig in a path passed by a prior -L flag. Instead, one should do:

libmod_dv_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@

so that the specific libsynfig in that location is linked. Same issue and 
analogous solution for virtually every Makefile.am in the synfig-0.61.07 source 
distro.


----------------------------------------------------------------------

>Comment By: dooglus (dooglus)
Date: 2008-01-03 03:06

Message:
Logged In: YES 
user_id=1546005
Originator: NO

Fixed in svn r1259 & r1260.  Thanks Daniel.

----------------------------------------------------------------------

Comment By: Daniel Macks (dmacks)
Date: 2008-01-02 21:54

Message:
Logged In: YES 
user_id=535292
Originator: YES

Interestingly, src/modules/example/Makefile.am *does* do it correctly:

libexample_la_LIBADD = ../../synfig/libsynfig.la @SYNFIG_LIBS@

so the rest of synfig just needs to follow its own example.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862689&group_id=144022

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to