From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Re: skin libs, libtool warnings, and -module
Date: Mon, 27 Feb 2006 15:05:14 +0100 [thread overview]
Message-ID: <4403071A.6010703@domain.hid> (raw)
In-Reply-To: <43FF18FF.20001@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
Jan Kiszka wrote:
> Philippe Gerum wrote:
>> Jan Kiszka wrote:
>>> Hi Philippe,
>>>
>>> I noticed you fixed the libtool warning during xenomai build - by
>>> linking the testsuite statically... :-/ This is just a workaround and
>>> doesn't help external users.
>> Yes, it's clearly hacky-patchy, however, I don't see how this would
>> impact external users (yet)?
>
> Those who also use libtool for their apps...
>
>>> Isn't the reason for this warnings that "-module" in every skin
>>> Makefile.am? At least, removing it also fixes external apps. Do we need
>>> it? I don't think so: -module is for preparing dlopen usage, but who
>>> will use it with skin libs?
>>
>> E.g. People who need to do late binding from some interpreter engine to
>> the routines defined by those APIs.
>>
>
> Well, then we may better hack the related *.la files when installing
> them ("shouldnotlink=no"). I must confess that I still don't understand
> the reason behind this, but it seems that this warning is really useless
> at least on Linux.
>
And this is an attempt to silence them at least for the installed
libnative.la:
--- src/skins/native/Makefile.am (revision 612)
+++ src/skins/native/Makefile.am (working copy)
@@ -20,3 +20,9 @@
libnative_la_CPPFLAGS = \
@XENO_USER_CFLAGS@ \
-I$(top_srcdir)/include
+
+install-exec-hook:
+ for la in $(lib_LTLIBRARIES); do \
+ sed -e 's/shouldnotlink=yes/shouldnotlink=no/'
$(DESTDIR)$(libdir)/$$la > $(DESTDIR)$(libdir)/$$la.patched; \
+ mv $(DESTDIR)$(libdir)/$$la.patched $(DESTDIR)$(libdir)/$$la; \
+ done
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
prev parent reply other threads:[~2006-02-27 14:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-24 14:10 [Xenomai-core] skin libs, libtool warnings, and -module Jan Kiszka
2006-02-24 14:21 ` [Xenomai-core] " Philippe Gerum
2006-02-24 14:32 ` Jan Kiszka
2006-02-27 14:05 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4403071A.6010703@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.