RE: [squid-users] Compiling Squid under MSYS + MinGW

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Sat, 31 Dec 2005 14:57:56 +0100

Hi,

At 14.41 31/12/2005, Predrag Dobrovic wrote:

>Hi,
>
>You are correct. Globals.c is empty, but perl.exe is on MSYS path.
>
>To be honest there was two compiling errors before. First was with
>cf_gen_defines.h file:
>
>if mingw32-gcc -DHAVE_CONFIG_H
>-DDEFAULT_CONFIG_FILE=\"c:/squidnt/etc/squid.conf\" -I. -I. -I../include
>-I../port/win32/include -I. -I../include -g -O2 -mthreads -Wall -MT
>cf_gen.o -MD -MP -MF ".deps/cf_gen.Tpo" \
> -c -o cf_gen.o `test -f 'cf_gen.c' || echo './'`cf_gen.c; \
>then mv -f ".deps/cf_gen.Tpo" ".deps/cf_gen.Po"; \
>else rm -f ".deps/cf_gen.Tpo"; exit 1; \
>fi
>In file included from cf_gen.c:52:
>cf_gen_defines.h:5: error: missing terminating " character
>cf_gen_defines.h:7: error: missing terminating " character
>cf_gen_defines.h:11: error: `DUSE_SSL' undeclared here (not in a function)
>...
>...
>
>This is how cf_gen_defines.h looks:

Totally wrong.

Please check the following:
- awk is installed and it is placed in MSYS path
- How do you have expanded the .tar.gz archive ? you must expand it
from MSYS command line, and you must check that ALL files are in Unix
text format (no CR+LF).

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 Sat Dec 31 2005 - 06:57:59 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST