<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 July 2017 at 08:17, George N. White III <span dir="ltr"><<a href="mailto:gnwiii@gmail.com" target="_blank">gnwiii@gmail.com</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 dir="ltr"><br><div class="gmail_extra"><div><div class="gmail-h5"><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-m_-3703070495847200746gmail-">
<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_-3703070495847200746gmail-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-m_-3703070495847200746gmail-">
<blockquote class="gmail-m_-3703070495847200746gmail-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-m_-3703070495847200746gmail-HOEnZb"><font color="#888888">
<br><p>Bosco.</p>
</font></span></div>
</blockquote></div></div></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-wrap">ppa:ubuntu-toolchain-r/<wbr>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-wrap">zziplib-0.13.66 from source without problems. </span></font><span style="font-size:12px;white-space:pre-wrap;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace"> </span></div></div></blockquote><div><br></div><div>TL2017 builds from source on Ubuntu 16.04 with gcc-6 (Ubuntu/Linaro 6.3.0-18ubuntu2~16.04) 6.3.0 20170519. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre-wrap"></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-wrap">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-wrap"><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-wrap"><a href="https://github.com/voidlinux/void-packages/blob/master/srcpkgs/gcc/files/gcc-6.3.0-musl.diff" target="_blank">https://github.com/voidlinux/<wbr>void-packages/blob/master/<wbr>srcpkgs/gcc/files/gcc-6.3.0-<wbr>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><span class="gmail-"><div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail-m_-3703070495847200746gmail_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></span></div>
</blockquote></div><br><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>