<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On 20 July 2017 at 18:42, Juan Bosco García Gutiérrez <span dir="ltr"><<a href="mailto:juan.bosco@uca.es" target="_blank">juan.bosco@uca.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><span class="gmail-">
<p>El día 20 jul 2017 20:28, "George N. White III" <<a href="mailto:gnwiii@gmail.com" target="_blank">gnwiii@gmail.com</a>> escribió:</p>
<blockquote class="gmail-m_8450223115974536186replyBlock" style="border-left:2px solid rgb(0,0,68);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><p> The zzip/types.h file has a comment:</p>
<p> * This file is usually the first to define some real symbols. If you do</p>
<p> * see some errors here then it is most likely the includepath is wrong</p>
<p> * or some includeheader is missing / unreadable on your system.</p>
<p> * (a) we include local headers with a "zzip/" prefix just to be sure</p>
<p> * to not actually get the wrong one. Consider to add `-I..` somewhere</p>
<p> * and especially VC/IDE users (who make up their own workspace files)</p>
<p> * should include the root source directory of this project.</p>
<p> * (b) size_t and ssize_t are sometimes found be `configure` but they are</p>
<p> * not in the usual places (ANSI C = stddef.h; UNIX = sys/types.h), so</p>
<p> * be sure to look for them and add the respective header as an #include.</p>
</blockquote></span><p>Oh, sorry, I didn't read that. However, I have test with a sample c program and</p>
<p>I have ssize_t type defined in <stddef.h>, which compile without errors with only</p>
<p>gcc command, and off64_t can be fixed with '-Doff64_t=__off64_t'. So I don't know</p>
<p>why doesn't work in zziplib source. Also, in order to check I have included</p>
<p> '-I/usr/include' (where stddef.h is defined) at CFLAGS and the same errors are found.</p>
<p>Any other idea of the problem?</p><span class="gmail-">
<blockquote class="gmail-m_8450223115974536186replyBlock" style="border-left:2px solid rgb(0,0,68);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><p> You should mention the linux distro and whether your gcc-6.3.0 is from a dristro package or </p>
<p> locally compiled (in which case you may need to adjust include paths).</p>
</blockquote></span><p>Void Linux is the Linux distribution with gcc from the distro package.</p>
<p>Thank you for your help George. </p><span class="gmail-HOEnZb"><font color="#888888">
<br><p>Bosco.</p>
</font></span></div>
</blockquote></div>I have gcc-6.3.0 on Ubuntu 14.04 from <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">ppa:ubuntu-toolchain-r/test. It can build </span></div><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre">zziplib-0.13.66 from source without problems. </span></font><span style="font-size:12px;white-space:pre;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace"> </span></div><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre"><br></span></font></div><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre">Try building zziplib outside TL2017. If that fails you should have a look</span></font></div><div class="gmail_extra"><font color="#24292e"><span style="font-size:12px;white-space:pre"><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace">at the </font><font face="monospace, monospace">stddef.h</font><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"> changes in </font></span></font></div><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><br></font></div><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre"><a href="https://github.com/voidlinux/void-packages/blob/master/srcpkgs/gcc/files/gcc-6.3.0-musl.diff">https://github.com/voidlinux/void-packages/blob/master/srcpkgs/gcc/files/gcc-6.3.0-musl.diff</a> </span></font></div><div class="gmail_extra"><br></div><div class="gmail_extra">I assume you are building TL2017 for use on Void Linux. In that case you might want to </div><div class="gmail_extra">build TL using system libraries where possible (since Void is a rolling distro, some may be </div><div class="gmail_extra">too new for TL2017).</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature">George N. White III <<a href="mailto:aa056@chebucto.ns.ca" target="_blank">aa056@chebucto.ns.ca</a>><br>Head of St. Margarets Bay, Nova Scotia</div>
</div></div>