[squid-users] Compiling Squid under MSYS + MinGW

From: Predrag Dobrovic <predragd@dont-contact.us>
Date: Thu, 29 Dec 2005 15:31:47 +0100

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:

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'
access_log.o(.text+0x243):C:/msys/1.0/squidnt/src/access_log.c:271:
undefined reference to `Config'
access_log.o(.text+0x275):C:/msys/1.0/squidnt/src/access_log.c:277:
undefined reference to `squid_curtime'
access_log.o(.text+0x323):C:/msys/1.0/squidnt/src/access_log.c:313:
undefined reference to `Config'
access_log.o(.text+0x395):C:/msys/1.0/squidnt/src/access_log.c:299:
undefined reference to `dash_str'
access_log.o(.text+0x3e2):C:/msys/1.0/squidnt/src/access_log.c:242:
undefined reference to `Config'
access_log.o(.text+0x44f):C:/msys/1.0/squidnt/src/access_log.c:248:
undefined reference to `dash_str'
access_log.o(.text+0x49e):C:/msys/1.0/squidnt/src/access_log.c:248:
undefined reference to `current_time'
access_log.o(.text+0x4b5):C:/msys/1.0/squidnt/src/access_log.c:248:
undefined reference to `current_time'
access_log.o(.text+0x4e8):C:/msys/1.0/squidnt/src/access_log.c:307:
undefined reference to `dash_str'
access_log.o(.text+0x545):C:/msys/1.0/squidnt/src/access_log.c:277:
undefined reference to `dash_str'
access_log.o(.text+0x54f):C:/msys/1.0/squidnt/src/access_log.c:277:
undefined reference to `dash_str'
...
...
...
Ends up with:
auth/libntlm.a(auth_ntlm.o)(.text+0x23be):C:/msys/1.0/squidnt/src/auth/ntlm/
auth_ntlm.c:981: undefined reference to `_db_level'
auth/libntlm.a(auth_ntlm.o)(.text+0x244b):C:/msys/1.0/squidnt/src/auth/ntlm/
auth_ntlm.c:1074: undefined reference to `current_time'
auth/libntlm.a(auth_ntlm.o)(.text+0x261d):C:/msys/1.0/squidnt/src/auth/ntlm/
auth_ntlm.c:1014: undefined reference to `debugLevels'
auth/libntlm.a(auth_ntlm.o)(.text+0x2628):C:/msys/1.0/squidnt/src/auth/ntlm/
auth_ntlm.c:1014: undefined reference to `_db_level'
collect2: ld returned 1 exit status
make[3]: *** [squid.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

There are 6000 lines with similar errors.
Can someone please tell me where I make mistake and what parameters should
be use with configure command?
Received on Thu Dec 29 2005 - 07:29:03 MST

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