[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: learning about Makefiles
From:       Benjamin Reed <ranger () befunk ! com>
Date:       2003-07-22 12:03:29
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arnold Krille wrote:

> linking ./arts/tools/artscontrol
> 
> *** Warning: Linking the executable arts/tools/artscontrol against the 
> loadable module
> *** libartscontrolsupport.so is not portable!

This means you're linking an executable against a library that was built 
with -module (ie, a library designed to be dlopened at runtime).

Some platforms don't allow this, and as of libtool 1.5 they warn about 
it (it used to not say anything, but this behavior has never been 
portable...)

The fix is usually to either break the bits out of 
libartscontrolsupport.so that need to be shared into another library, or 
to build it as a shared library instead of a runtime-loadable module 
(remove any -module lines from it's LDFLAGS and change any $(KDE_PLUGIN) 
bits to $(KDE_RPATH) if necessary)

- -- 
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
"You can scoff, Lister, that's nothing new.  They laughed at Galileo.
They laughed at Edison.  They laughed at Columbo."   "Who's Columbo?"
"The man with the dirty mac who discovered America."   -- _Red Dwarf_

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/HSgRUu+jZtP2Zf4RAmKdAJ9Cqf7hq4UbZjUkgFRRNtvnBE0cHACfRYCh
G1+eXzfMFEk/X97e+knB99o=
=VvLF
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic