<html><head></head><body><div class="ydp2840eb07yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><span><p class="ydpe4a118ddMsoNormal">Hi,</p>
<p class="ydpe4a118ddMsoNormal"> I’ve followed the small set of steps for building squid
proxy using Cygwin on Windows 7 but am getting compile time errors.
Specifically the below. Sorry for emailing this question if this has been
answered. I searched past emails and the most recent hit on errors building on
Windows was from 2010.</p>
<p class="ydpe4a118ddMsoNormal"> </p>
<p class="ydpe4a118ddMsoNormal">Cygwin version 2.11.2 from Nov 8/2018 and installed ALL
features including devel.</p>
<p class="ydpe4a118ddMsoNormal">Downloaded squid source, tar –xvf squid-3.5.11.tar.gz (I tried version 3.5.28 as well)</p>
<p class="ydpe4a118ddMsoNormal">./configure --bindir=/bin/squid --sbindir=/usr/sbin/squid
--sysconfdir=/etc/squid --datadir=/usr/share/squid
--libexecdir=/usr/lib/squid --disable-strict-error-checking
--with-logdir=/var/log/squid --with-swapdir=/var/cache/squid</p>
<p class="ydpe4a118ddMsoNormal">And tried with --enable-win32-service as well.</p>
<p class="ydpe4a118ddMsoNormal"> </p>
<p class="ydpe4a118ddMsoNormal">Then make produces the error below. What am I doing incorrectly?</p>
<p class="ydpe4a118ddMsoNormal"> ….</p>
<p class="ydpe4a118ddMsoNormal">….</p>
<p class="ydpe4a118ddMsoNormal">In file included from /usr/include/w32api/lm.h:18:0,</p>
<p class="ydpe4a118ddMsoNormal">
from ext_lm_group_acl.cc:96:</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:33: error:
`SERVICE_STATUS_HANDLE' was not dec</p>
<p class="ydpe4a118ddMsoNormal">lared in this scope</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<p class="ydpe4a118ddMsoNormal">rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</p>
<p class="ydpe4a118ddMsoNormal">
^~~~~~~~~~~~~~~~~~~~~</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:33: note: suggested
alternative: `SERVICE_PAUS</p>
<p class="ydpe4a118ddMsoNormal">ABLE'</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<p class="ydpe4a118ddMsoNormal">rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</p>
<p class="ydpe4a118ddMsoNormal">
^~~~~~~~~~~~~~~~~~~~~</p>
<p class="ydpe4a118ddMsoNormal">
SERVICE_PAUSABLE</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:76: error: expected
primary-expression before</p>
<p class="ydpe4a118ddMsoNormal">`dwServiceBits'</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<p class="ydpe4a118ddMsoNormal">rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</p>
<p class="ydpe4a118ddMsoNormal">
^~~~</p>
<p class="ydpe4a118ddMsoNormal">~~~~~~~~~</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:98: error: expected
primary-expression before</p>
<p class="ydpe4a118ddMsoNormal">`bSetBitsOn'</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<p class="ydpe4a118ddMsoNormal">rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</p>
<p class="ydpe4a118ddMsoNormal"> </p>
<p class="ydpe4a118ddMsoNormal">
^~~~~~~~~~</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:117: error: expected
primary-expression before</p>
<p class="ydpe4a118ddMsoNormal">`bUpdateImmediately'</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<p class="ydpe4a118ddMsoNormal">rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</p>
<p class="ydpe4a118ddMsoNormal"> </p>
<p class="ydpe4a118ddMsoNormal">
^~~~~~~~~~~~~~~~~~</p>
<p class="ydpe4a118ddMsoNormal">/usr/include/w32api/lmserver.h:30:135: error: expression
list treated as compoun</p>
<p class="ydpe4a118ddMsoNormal">d expression in initializer [-fpermissive]</p>
<p class="ydpe4a118ddMsoNormal"> WINBOOL WINAPI
SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwSe</p>
<div>rviceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);</div><div><br></div><div>Thanks!</div><div><br></div><div>Russel McDonald</div>
<p class="ydpe4a118ddMsoNormal"> </p>
<p class="ydpe4a118ddMsoNormal"> </p></span></div></body></html>