[squid-users] Building Squid 3.5 for Win2k with SSL

Reinhard Zumpf Dipl.-Ing. rzumpf at gmail.com
Sun Feb 10 08:56:39 UTC 2019


Hi,

thanks so much for helping out. I managed to get configure run through
now as described from Diladele.

But, make terminates like that:

...
mv -f $depbase.Tpo $depbase.Po
depbase=`echo SBuf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\"   -I.. -I../include -I../lib
-I../src -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 Elementfunktion »SBuf::size_type SBuf::rfind(char,
SBuf::size_type) const«:
SBuf.cc:760:21: Fehler: »memrchr« wurde in diesem Gültigkeitsbereich
nicht definiert
     const void *i = memrchr(buf(), (int)c, (size_type)endPos);
                     ^~~~~~~
SBuf.cc:760:21: Anmerkung: empfohlene Alternative: »memchr«
     const void *i = memrchr(buf(), (int)c, (size_type)endPos);
                     ^~~~~~~
                     memchr
make[3]: *** [Makefile:7173: SBuf.o] Fehler 1
make[3]: Verzeichnis „/home/synrzu/squid-3.5.28/src“ wird verlassen
make[2]: *** [Makefile:7296: all-recursive] Fehler 1
make[2]: Verzeichnis „/home/synrzu/squid-3.5.28/src“ wird verlassen
make[1]: *** [Makefile:6157: all] Fehler 2
make[1]: Verzeichnis „/home/synrzu/squid-3.5.28/src“ wird verlassen
make: *** [Makefile:581: all-recursive] Fehler 1

It is the latest x86 cygwin with all packages mentioned by Diladele
and Squid 3.5.28 sources.

What can I do?

Regards,

Reinhard

Am Sa., 9. Feb. 2019 um 18:00 Uhr schrieb Amos Jeffries <squid3 at treenet.co.nz>:
>
> On 9/02/19 10:37 pm, Reinhard Zumpf Dipl.-Ing. wrote:
> > Hi,
> >
> > I am having trouble Bulding Squid 3.5 for Win2k with SSL according to:
> > https://docs.diladele.com/howtos/build_squid_windows/index.html
> >
> > Do you know why configure terminates like this?
>
>
> Looks like you copy-paste'd a command without accounting for line wrapping.
>
> Notice the comment "(written as ONE line!)" directly above where you
> copied the command from.
>
>
> I had to switch within
> > Cygwin frome home dir to usr/src dir as described in section Using
> > Cygwin
> > https://www.physionet.org/physiotools/cygwin/
> > to comply with the guide from Diladele initially. I wonder why enable
> > ssl is done in this guide without including any openssl for build?
> >
>
> Not sure what you are talking about there. OpenSSL module is mentioned
> earlier in the Diladele document, and the configure option(s) to use it
> are present.
>
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list