Search squid archive

Re: Help to Compile Squid for Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx> em nome de Tobias Tromm <tobiastromm@xxxxxxx>
Enviado: segunda-feira, 8 de maio de 2017 12:13:44
Para: squid-users@xxxxxxxxxxxxxxxxxxxxx
Assunto: Help to Compile Squid for Windows
 

Hi.


So I am trying now to compile the last version  squid-3.5.25-20170504-r14155 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?


Thanks.


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux