Hi, I was trying to build squid with MinGW on Windows. I have followed the instruction on http://wiki.squid-cache.org/SquidFaq/CompilingSquid to build it. I used the library file of libcrypt from http://sourceforge.net/projects/mingwrep/. The version of squid is 3.4.6. My configure options are: --prefix=c:/squid --disable-wccp --disable-wccpv2 --enable-win32-service --enable-default-hostsfile=none When I run make, it prints following information: Making all in NCSA make[3]: Entering directory `/c/squid-3.4.6/helpers/basic_auth/NCSA' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwr ite-strings -Wcomments -Wshadow -Werror -pipe -g -O2 -march=native -mthreads -g -o basic_ncsa_auth.exe basic_ncsa_auth.o crypt_md5.o ../../../lib/libmisccontai ners.la ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la -lc rypt -lws2_32 -lpsapi libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -We rror -pipe -g -O2 -march=native -mthreads -g -o .libs/basic_ncsa_auth.exe basic_ ncsa_auth.o crypt_md5.o ../../../lib/.libs/libmisccontainers.a ../../../lib/.li bs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lcrypt -lws2_32 -l psapi -mthreads basic_ncsa_auth.o: In function `main': c:\squid-3.4.6\helpers\basic_auth\NCSA/basic_ncsa_auth.cc:166: undefined refere nce to `crypt(char*, char*)' c:\squid-3.4.6\helpers\basic_auth\NCSA/basic_ncsa_auth.cc:162: undefined refere nce to `crypt(char*, char*)' c:\squid-3.4.6\helpers\basic_auth\NCSA/basic_ncsa_auth.cc:156: undefined refere nce to `crypt(char*, char*)' collect2.exe: error: ld returned 1 exit status make[3]: *** [basic_ncsa_auth.exe] Error 1 make[3]: Leaving directory `/c/squid-3.4.6/helpers/basic_auth/NCSA' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/c/squid-3.4.6/helpers/basic_auth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/c/squid-3.4.6/helpers' make: *** [all-recursive] Error 1 Could any person help me to deal with this problem? Thanks.