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: /* Generated automatically from cf.data.pre * DO NOT EDIT */ struct { const char *name; const char *enable; int defined;} defines[] = { {"USE_SSL ", "-DUSE_SSL ", #if USE_SSL 1 #else 0 #endif }, {"USE_SSL ", "-DUSE_SSL ", ... ... Second error was with globals.c: /bin/perl ./mk-globals-c.pl < ./globals.h > globals.c Died at ./mk-globals-c.pl line 15, <> line 1. make[1]: *** [globals.c] Error 255 make[1]: Leaving directory `/squidnt/src' make: *** [all-recursive] Error 1 I thought I was able to correct these errors. But the problem still remains. Predrag -----Original Message----- From: Guido Serassio [mailto:guido.serassio@xxxxxxxxxxxxxxxxx] Sent: Thursday, December 29, 2005 7:15 PM To: Predrag Dobrovic; squid-users@xxxxxxxxxxxxxxx Subject: Re: Compiling Squid under MSYS + MinGW Hi, At 15.31 29/12/2005, Predrag Dobrovic wrote: >Hi, > >I heave been trying to compile SquidNT 2.5 STABLE12 with MSYS + MinGW >without success. I used instructions from http://www.serassio.it/SquidNT.htm >. > >Commands "./configure --prefix=c:/squid --enable-win32-service >--enable-default-hostsfile=none" and "make" instead squid.exe, produce >following errors: Your configure command is correct. >access_log.o(.text+0x20f): In function `accessLogLog': >C:/msys/1.0/squidnt/src/access_log.c:301: undefined reference to `dash_str' >access_log.o(.text+0x236):C:/msys/1.0/squidnt/src/access_log.c:309: >undefined reference to `Config' It seems that something was wrong during the execution of mk-globals-c.pl, probably your resulting globas.c file is empty. Check if perl is installed and if perl.exe is in the MSYS path. 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@xxxxxxxxxxxxxxxxx WWW: http://www.acmeconsulting.it/