[tlbuild] tl18 trials

Apostolos Syropoulos asyropoulos at gmail.com
Tue Feb 27 23:56:17 CET 2018


Note that strnlen is defined in Solaris 11 and Illumos based systems (e.g.,
OpenIndiana).

AS

Sent from my Android device...

Στις 27 Φεβ 2018 11:47 μ.μ., ο χρήστης "Akira Kakuto" <
kakuto at fuk.kindai.ac.jp> έγραψε:

> Dear Mojca,
>
> Solaris build fails soon after "Testsuite summary for mpfr (TeX Live)
>> 4.0.1":
>>
>> /opt/csw/bin/gcc-5.5 -fvisibility=hidden -Wimplicit -Wreturn-type
>> -Wdeclaration-after-statement -Wno-unknown-pragmas -g -O2   -o unzzip
>> zziplib-src/bins/unzzip.o zziplib-src/bins/unzzipcat-zip.o
>> zziplib-src/bins/unzzipdir-zip.o libzzip.a
>> /path/to/build/Work/libs/zlib/libz.a
>> Undefined first referenced
>>  symbol      in file
>> strnlen                             zziplib-src/bins/unzzipcat-zip.o
>>
>
> I can add in __string.h in zziplib
>
> #ifdef VAR_ONLY_DEFINED_IN_SOLARIS
> size_t  strnlen(const char*  str, size_t  maxlen)
> {
>    char*  p = memchr(str, 0, maxlen);
>    if (p == NULL)
>        return maxlen;
>    else
>        return (p - str);
> }
> #endif
>
> if you teach me VAR_ONLY_DEFINED_IN_SOLARIS
>
> Best,
> Akira
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20180228/2a33859b/attachment.html>


More information about the tlbuild mailing list