Hi all,
compiling $subject with SASL auth helper gives the following errors:
....
make[3]: Entering directory
`/opt/squid/src/squid-2.5.STABLE1/helpers/basic_auth/SASL'
source='sasl_auth.c' object='sasl_auth.o' libtool=no \
depfile='.deps/sasl_auth.Po' tmpdepfile='.deps/sasl_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g -O2
-Wall -D_REENTRANT -c `test -f sasl_auth.c || echo './'`sasl_auth.c
sasl_auth.c:28:18: sasl.h: No such file or directory
sasl_auth.c: In function `main':
sasl_auth.c:46: `sasl_conn_t' undeclared (first use in this function)
sasl_auth.c:46: (Each undeclared identifier is reported only once
sasl_auth.c:46: for each function it appears in.)
sasl_auth.c:46: `conn' undeclared (first use in this function)
sasl_auth.c:51: warning: implicit declaration of function `sasl_server_init'
sasl_auth.c:53: `SASL_OK' undeclared (first use in this function)
sasl_auth.c:54: warning: implicit declaration of function `sasl_errstring'
sasl_auth.c:54: warning: format argument is not a pointer (arg 4)
sasl_auth.c:59: warning: implicit declaration of function `sasl_server_new'
sasl_auth.c:62: warning: format argument is not a pointer (arg 4)
sasl_auth.c:87: warning: implicit declaration of function `sasl_checkpass'
sasl_auth.c:93: `SASL_BADAUTH' undeclared (first use in this function)
sasl_auth.c:94: warning: format argument is not a pointer (arg 4)
sasl_auth.c:104: warning: implicit declaration of function `sasl_dispose'
sasl_auth.c:105: warning: implicit declaration of function `sasl_done'
make[3]: *** [sasl_auth.o] Error 1
...
Copying sasl.h and prop.h from sasl 2.1.9 into ./include dir for SQUID gives
this:
make[3]: Entering directory
`/opt/squid/src/squid-2.5.STABLE1/helpers/basic_auth/SASL'
source='sasl_auth.c' object='sasl_auth.o' libtool=no \
depfile='.deps/sasl_auth.Po' tmpdepfile='.deps/sasl_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g -O2
-Wall -D_REENTRANT -c `test -f sasl_auth.c || echo './'`sasl_auth.c
sasl_auth.c: In function `main':
sasl_auth.c:59: warning: passing arg 6 of `sasl_server_new' from incompatible
pointer type
sasl_auth.c:59: too few arguments to function `sasl_server_new'
sasl_auth.c:87: too many arguments to function `sasl_checkpass'
make[3]: *** [sasl_auth.o] Error 1
make[3]: Leaving directory
`/opt/squid/src/squid-2.5.STABLE1/helpers/basic_auth/SASL'
make[2]: *** [all-recursive] Error 1
Using this for configure/compile:
./configure --prefix=/opt/squid-2.5 \
--enable-useragent-log \
--enable-referer-log \
--enable-snmp \
--enable-time-hack \
--enable-icmp \
--enable-basic-auth-helpers \
--enable-ntlm-auth-helpers \
--enable-digest-auth-helpers \
--enable-arp-acl \
--enable-err-languages="German English" \
--enable-http-violations \
--disable-ident \
--disable-ident-lookups \
--enable-storeio=diskd,ufs,null \
--enable-removal-policies \
--enable-linux-netfilter \
--enable-filters \
--enable-cache-digests \
--enable-underscores \
--enable-delay-pools \
--enable-gnuregex \
--enable-removal-policies \
--enable-x-accelerator-vary \
--enable-external-acl-helpers \
--enable-stacktraces \
--enable-xmalloc-statistics \
--enable-ssl \
--with-openssl \
--with-pthreads
-- Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at www.keyserver.net. Encrypted e-mail preferred.Received on Thu Nov 21 2002 - 12:08:33 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:31 MST