[squid-users] Re: ncsa_auth.c:143: undefined reference to `crypt'

From: Xavier O'Neill <xavier.oneill@dont-contact.us>
Date: Sat, 4 Nov 2006 16:45:38 -0600

Greetings,

After a fair amount of troubleshooting and searching archives/mailing
lists/net I have grow weary.

I am attempting to build squid 2.6 from src's on a Windows XP pro system.

Below is the configure line and the build output around where the
build fails. I am using
mingw/minsys as a build environment per the instructions found on the
acmeconsulting website.

Many thanks ...

./configure line:
============================
./configure \
--enable-win32-service \
--enable-htcp \
--enable-icmp \
--disable-wccpv2 \
--disable-wccp \
--enable-underscores \
--enable-storeio='ufs null' \
--enable-removal-policies='heap lru' \
--enable-snmp \
--enable-win32-service \
--enable-useragent-log \
--enable-referer-log \
--enable-auth='basic' \
--enable-basic-auth-helpers=NCSA \
--with-maxfd=8192 \
--enable-err-languages=English \
--prefix=c:/TotalControl/squid/

Build output:
============================
make[1]: Entering directory `/home/xoneill/squid-2.6.STABLE4-NT/helpers'
Making all in basic_auth
make[2]: Entering directory
`/home/xoneill/squid-2.6.STABLE4-NT/helpers/basic_auth'
Making all in NCSA
make[3]: Entering directory
`/home/xoneill/squid-2.6.STABLE4-NT/helpers/basic_auth/NCSA'
gcc -Wall -g -O2 -mthreads -o ncsa_auth.exe ncsa_auth.o
crypt_md5.o -L../../../lib -lmiscutil -lpsapi -lws2_32
ncsa_auth.o(.text+0x3d6): In function `main':
C:/msys/1.0/home/xoneill/squid-2.6.STABLE4-NT/helpers/basic_auth/NCSA/ncsa_auth.c:143:
undefined reference to `crypt'
make[3]: *** [ncsa_auth.exe] Error 1
make[3]: Leaving directory
`/home/xoneill/squid-2.6.STABLE4-NT/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/xoneill/squid-2.6.STABLE4-NT/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xoneill/squid-2.6.STABLE4-NT/helpers'
make: *** [all-recursive] Error 1
Received on Sat Nov 04 2006 - 15:45:41 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST