[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build errors on Solaris
From: |
Paul Eggert |
Subject: |
Re: Build errors on Solaris |
Date: |
Sun, 15 Nov 2020 20:04:46 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.
/usr/include/iso/string_iso.h:92:20: note: previous declaration 'const char*
std::strchr(const char*, int)'
92 | extern const char *strchr(const char *, int);
This sort of error (there were several) seems to be a C++-ism so I hope a C++
expert can chime in.
For Solaris 9 and older which need libintl from GNU gettext there are these additional errors:
Oracle doesn't support Solaris 9 and older, so these issues are low priority for
Gnulib.
0001-getumask-tests-port-to-Solaris-10-etc.patch
Description: Text Data