Fix link errors on platforms with libunistring

2020-11-16 Thread Bruno Haible
On a machine with libunistring installed, a gnulib-testdir fails to compile like this: gcc -maix64 -g -O2 -L/home/haible/prefix64/lib -o test-c32isalnum test-c32isalnum.o libtests.a ../gllib/libgnu.a libtests.a ../gllib/libgnu.a libtests.a -pthread -pthread -lm -lm -lm -lm -lm -lm -lm -lm -l

Re: Build errors on Solaris

2020-11-16 Thread Bruno Haible
Tom Christensen wrote: > Undefined first referenced > symbol in file > libintl_gettext ../gllib/libgnu.a(xalloc-die.o) This patch should fix it. 2020-11-16 Bruno Haible Fix link errors on platforms with libintl (

Re: Failed test "test-fopen-gnu" on Solaris 10

2020-11-16 Thread Dagobert Michelsen
Hi Bruno, Am 16.11.2020 um 16:31 schrieb Bruno Haible : >> I am currently trying to build gettext 0.21 on Solaris 10 and encountered a >> failed test >> in gnulib: >> >> FAIL: test-fopen-gnu >> >> >> test-fopen-gnu.c:59: assertion 'f' failed >> FAIL test-fopen-gnu (exit sta

Re: Build errors on Solaris

2020-11-16 Thread Bruno Haible
Tom G. Christensen wrote: > In file included from test-list-c++.cc:23: > ../gllib/string.h:1010:1: error: 'std::size_t strcspn(const char*, const > char*)' conflicts with a previous declaration > 1010 | _GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on > character strings " >|

Re: Build errors on Solaris

2020-11-16 Thread Bruno Haible
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 writte

Re: Failed test "test-fopen-gnu" on Solaris 10

2020-11-16 Thread Bruno Haible
Hi Dagobert, > I am currently trying to build gettext 0.21 on Solaris 10 and encountered a > failed test > in gnulib: > > FAIL: test-fopen-gnu > > > test-fopen-gnu.c:59: assertion 'f' failed > FAIL test-fopen-gnu (exit status: 134) > > Essentially this is failing: > > /

Failed test "test-fopen-gnu" on Solaris 10

2020-11-16 Thread Dagobert Michelsen
Hi, I am currently trying to build gettext 0.21 on Solaris 10 and encountered a failed test in gnulib: FAIL: test-fopen-gnu test-fopen-gnu.c:59: assertion 'f' failed FAIL test-fopen-gnu (exit status: 134) Essentially this is failing: /* Create the file and check the 'e'