coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-9.3.147-d553ab on CentOS 5 and Solaris 10


From: Bruno Haible
Subject: Re: coreutils-9.3.147-d553ab on CentOS 5 and Solaris 10
Date: Sun, 27 Aug 2023 01:11:34 +0200

On CentOS 5 and Solaris 10, I get build errors.

* On CentOS 5:

  CCLD     src/sort
lib/libcoreutils.a(libcoreutils_a-tempname.o): In function `random_bits':
/home/bruno/coreutils-9.3.147-d553ab/build-64/../lib/tempname.c:111: undefined 
reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [src/sort] Error 1

  CCLD     src/split
lib/libcoreutils.a(libcoreutils_a-tempname.o): In function `random_bits':
/home/bruno/coreutils-9.3.147-d553ab/build-64/../lib/tempname.c:111: undefined 
reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [src/split] Error 1

* On Solaris 10: Likewise, but only for 'split', not for 'sort'.

  CCLD     src/split
Undefined                       first referenced
 symbol                             in file
clock_gettime                       
lib/libcoreutils.a(libcoreutils_a-tempname.o)
ld: fatal: symbol referencing errors. No output written to src/split
collect2: error: ld returned 1 exit status

This comes from the Gnulib 'tempname' module, which requires linking
with $(CLOCK_TIME_LIB), since 2020-11-16.

This patch fixes it.


Attachment: 0001-maint-Fix-link-errors-of-sort-split-on-CentOS-5-and-.patch
Description: Text Data


reply via email to

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