* link error with modules fcntl + lib-symbol-visibility
@ 2016-01-14 12:37 Tim Ruehsen
2016-01-15 12:04 ` [SOLVED] " Tim Ruehsen
0 siblings, 1 reply; 2+ messages in thread
From: Tim Ruehsen @ 2016-01-14 12:37 UTC (permalink / raw
To: bug-gnulib
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
Hi,
Im using the gnulib modules fcntl and lib-symbol-visibility (and many others)
when building a shared library.
I get the following link error when linking a test tool:
/usr/bin/ld: test_linking: hidden symbol `rpl_fcntl' in
../lib/libgnu.a(fcntl.o) is referenced by DSO
Would would be the right thing to avoid this error ?
I am on up-to-date Debian SID amd64 with a up-to-date gnulib.
Best regards
Tim
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [SOLVED] link error with modules fcntl + lib-symbol-visibility
2016-01-14 12:37 link error with modules fcntl + lib-symbol-visibility Tim Ruehsen
@ 2016-01-15 12:04 ` Tim Ruehsen
0 siblings, 0 replies; 2+ messages in thread
From: Tim Ruehsen @ 2016-01-15 12:04 UTC (permalink / raw
To: bug-gnulib
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
Hi,
after finding --libtool option for gnulib-tool, everything became pretty
clear. There were also several things to fix in the Makefile.am files.
BTW, do you suggest to invoke gnulib-tool twice for a project with library and
tools combined ? (E.g. one with --libtool and both invocations having a
different --source-base.)
Best regards
Tim
On Thursday 14 January 2016 13:37:14 Tim Ruehsen wrote:
> Hi,
>
> Im using the gnulib modules fcntl and lib-symbol-visibility (and many
> others) when building a shared library.
>
> I get the following link error when linking a test tool:
>
> /usr/bin/ld: test_linking: hidden symbol `rpl_fcntl' in
> ../lib/libgnu.a(fcntl.o) is referenced by DSO
>
> Would would be the right thing to avoid this error ?
>
> I am on up-to-date Debian SID amd64 with a up-to-date gnulib.
>
>
> Best regards
>
> Tim
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-15 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 12:37 link error with modules fcntl + lib-symbol-visibility Tim Ruehsen
2016-01-15 12:04 ` [SOLVED] " Tim Ruehsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).