[squid-users] Help to Compile Squid for Windows

Tobias Tromm tobiastromm at msn.com
Mon May 8 14:29:28 UTC 2017

For testing purpose I enable "--disable-external-acl-helpers" and now I receive the following error, with i fix by changing

the line mentioned to " const void *i = memchr(buf(), (int)c, (size_type)endPos); "

someone probably has to change the fsource file with have the typo...

c -I../include    -I../src   -I/usr/include/libxml2  -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -pipe -D_REENTRANT -g -O2 -march=native -MT SBuf.o -MD -MP -MF $depbase.Tpo -c -o SBuf.o SBuf.cc &&\
mv -f $depbase.Tpo $depbase.Po
SBuf.cc: In member function ‘SBuf::size_type SBuf::rfind(char, SBuf::size_type) const’:
SBuf.cc:760:61: error: ‘memrchr’ was not declared in this scope
     const void *i = memrchr(buf(), (int)c, (size_type)endPos);
make[3]: *** [Makefile:7173: SBuf.o] Error 1
make[3]: Leaving directory '/usr/src/squid-3.5.25/src'
make[2]: *** [Makefile:7296: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/squid-3.5.25/src'
make[1]: *** [Makefile:6157: all] Error 2
make[1]: Leaving directory '/usr/src/squid-3.5.25/src'
make: *** [Makefile:581: all-recursive] Error 1

De: squid-users <squid-users-bounces at lists.squid-cache.org> em nome de Tobias Tromm <tobiastromm at msn.com>
Enviado: segunda-feira, 8 de maio de 2017 12:13:44
Para: squid-users at lists.squid-cache.org
Assunto: [squid-users] Help to Compile Squid for Windows


So I am trying now to compile the last version  squid-3.5.25-20170504-r14155<http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.25-20170504-r14155-RELEASENOTES.html> 05 May 2017 for Windows with Cygwin and I am having the erros on attached file (please see the ones I paint with red).

[doc version attached or pdf version here due to list attached size limit https://www.papinho.com/squid.pdf ]

What is wrong?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170508/7caad55a/attachment.html>

More information about the squid-users mailing list