Re: [squid-users] 2.5_STABLE14 SquidNT Service Installation Crashes

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Thu, 01 Jun 2006 20:41:08 +0200

Hi,

At 20.30 01/06/2006, Richard B. Maring wrote:

>We have successfully compiled 2.5_SATBLE14NT under Visual Studio 2005.
>Doing a squid -1 throws an 'Debug Assertion Failed' osfinfo.c line 314.
>Commenting out the following in win32.c allows it to install.
>
> if (WIN32_OS_version !=_WIN_OS_WINNT) {
> /*if (getsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char
>*)&opt, &optlen)) {
> s_iInitCount = -3;
> WSACleanup();
> return (s_iInitCount);
> } else {
> opt = opt | SO_SYNCHRONOUS_NONALERT;
> if (setsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char *)
>&opt, optlen)) {
> s_iInitCount = -3;
> WSACleanup();
> return (s_iInitCount);
> }
> } */
>
>However, it fails with the same error when the service is started.
>Any ideas on why this is failing to set socket options properly?

The Windows port of Squid 2.5 and Squid 2.6 cannot run if compiled
with Visual Studio 2005, there are too many "improvements" in the
generated code..
Please use Visual Studio 6.0 instead.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Thu Jun 01 2006 - 12:41:12 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT