[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build errors on Solaris
From: |
Bruno Haible |
Subject: |
Re: Build errors on Solaris |
Date: |
Mon, 16 Nov 2020 16:42:10 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; ) |
Paul Eggert wrote:
> On 11/15/20 10:01 AM, Tom G. Christensen wrote:
> > Undefined first referenced
> > symbol in file
> > clock_gettime ../gllib/libgnu.a(tempname.o)
> > ld: fatal: symbol referencing errors. No output written to test-getumask
> > collect2: error: ld returned 1 exit status
> > make[3]: *** [test-getumask] Error 1
> >
> > This issue looks to be generic. It fails similarly on CentOS 6.
>
> I fixed this issue by installing the attached. Thanks for reporting it.
Thanks. Fixing the LDFLAGS for the tests fixes the immediate error,
but consumers of Gnulib modules should also know what they should add
in their prog_LDFLAGS. So, here are two patches to update the 'Link'
sections in the module descriptions. It propagates like this:
tempname <-- mkdtemp, mkostemp, mkostemps, mkstemp, mkstemps
<-- supersede
<-- tmpfile <-- tmpfile-safer
<-- getumask
Bruno
2020-11-16 Bruno Haible <bruno@clisp.org>
getumask: Document link dependencies.
* modules/getumask (Link): New section.
2020-11-16 Bruno Haible <bruno@clisp.org>
Update link dependencies in modules after 2020-09-09 change.
* modules/tempname (Link): Add $(LIB_CLOCK_GETTIME).
* modules/mkdtemp (Link): Likewise.
* modules/mkostemp (Link): Likewise.
* modules/mkostemps (Link): Likewise.
* modules/mkstemp (Link): Likewise.
* modules/mkstemps (Link): Likewise.
* modules/supersede (Link): Likewise.
* modules/tmpfile (Link): Likewise.
* modules/tmpfile-safer (Link): Likewise.
0001-Update-link-dependencies-in-modules-after-2020-09-09.patch
Description: Text Data
0002-getumask-Document-link-dependencies.patch
Description: Text Data