bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] link error with modules fcntl + lib-symbol-visibility


From: Tim Ruehsen
Subject: [SOLVED] link error with modules fcntl + lib-symbol-visibility
Date: Fri, 15 Jan 2016 13:04:46 +0100
User-agent: KMail/4.14.10 (Linux/4.3.0-1-amd64; KDE/4.14.14; x86_64; ; )

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: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]