[squid-users] Unable to Compile Source After Appying ntlm_auth_popups.patch

From: Jim Richey <jrichey@dont-contact.us>
Date: Wed, 11 Feb 2004 21:39:33 -0500

After installing squid-2.5.STABLE4-ntlm_auth_popups.patch I am no
longer able to compile the source code. I'm using Slackware Linux 8.1
with kernel 2.4.24 and gcc 3.2.3. Configuring for using ntlm
authentication with Samba 3.0.1. If I reverse the patch it compiles fine
again.

./configure --enable-async-io --enable-storeio=ufs,aufs
--enable-auth=ntlm,basic --enable-removal-policies
--enable-cache-digests --enable-kill-parent-hack --disable-ident-lookups
--enable-external-acl-helpers=wbinfo_group --enable-ntlm-fail-open

make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/usr/local/src/squid/squid-2.5.STABLE4/src/auth/basic'
make[4]: Leaving directory
`/usr/local/src/squid/squid-2.5.STABLE4/src/auth/basic'
make[4]: Entering directory
`/usr/local/src/squid/squid-2.5.STABLE4/src/auth'
source='ntlm/auth_ntlm.c' object='ntlm/auth_ntlm.o' libtool=no \
depfile='.deps/ntlm/auth_ntlm.Po' tmpdepfile='.deps/ntlm/auth_ntlm.TPo' \
depmode=gcc3 /bin/sh ../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -g -O3 -Wall -march=pentium2
-fomit-frame-pointer -D_REENTRANT -c -o ntlm/auth_ntlm.o `test -f
ntlm/auth_ntlm.c || echo './'`ntlm/auth_ntlm.c
ntlm/auth_ntlm.c:77: syntax error before
"authenticateNTLMHelperServerOnEmpty"
ntlm/auth_ntlm.c:77: warning: type defaults to `int' in declaration of
`authenticateNTLMHelperServerOnEmpty'
ntlm/auth_ntlm.c:77: warning: data definition has no type or storage class
ntlm/auth_ntlm.c: In function `authNTLMInit':
ntlm/auth_ntlm.c:248: structure has no member named `OnEmptyQueue'
ntlm/auth_ntlm.c: At top level:
ntlm/auth_ntlm.c:411: syntax error before
"authenticateNTLMHandleplaceholder"
ntlm/auth_ntlm.c:412: warning: return type defaults to `int'
ntlm/auth_ntlm.c:412: conflicting types for
`authenticateNTLMHandleplaceholder'
ntlm/auth_ntlm.c:54: previous declaration of
`authenticateNTLMHandleplaceholder'
ntlm/auth_ntlm.c: In function `authenticateNTLMHandleplaceholder':
ntlm/auth_ntlm.c:414: `stateful_helper_callback_t' undeclared (first use
in this function)
ntlm/auth_ntlm.c:414: (Each undeclared identifier is reported only once
ntlm/auth_ntlm.c:414: for each function it appears in.)
ntlm/auth_ntlm.c:414: syntax error before "result"
ntlm/auth_ntlm.c:423: `result' undeclared (first use in this function)
ntlm/auth_ntlm.c: At top level:
ntlm/auth_ntlm.c:434: syntax error before "authenticateNTLMHandleReply"
ntlm/auth_ntlm.c:435: warning: return type defaults to `int'
ntlm/auth_ntlm.c:435: conflicting types for `authenticateNTLMHandleReply'
ntlm/auth_ntlm.c:53: previous declaration of `authenticateNTLMHandleReply'
ntlm/auth_ntlm.c: In function `authenticateNTLMHandleReply':
ntlm/auth_ntlm.c:439: `stateful_helper_callback_t' undeclared (first use
in this function)
ntlm/auth_ntlm.c:439: syntax error before "result"
ntlm/auth_ntlm.c:451: `S_HELPER_RELEASE' undeclared (first use in this
function)
ntlm/auth_ntlm.c:480: `result' undeclared (first use in this function)
ntlm/auth_ntlm.c:480: `S_HELPER_DEFER' undeclared (first use in this
function)
ntlm/auth_ntlm.c: In function `authenticateNTLMStart':
ntlm/auth_ntlm.c:720: warning: implicit declaration of function
`helperStatefulDefer'
ntlm/auth_ntlm.c:720: warning: assignment makes pointer from integer
without a cast
ntlm/auth_ntlm.c:728: warning: assignment makes pointer from integer
without a cast
ntlm/auth_ntlm.c:746: warning: passing arg 3 of `helperStatefulSubmit'
from incompatible pointer type
ntlm/auth_ntlm.c:750: warning: passing arg 3 of `helperStatefulSubmit'
from incompatible pointer type
ntlm/auth_ntlm.c:776: warning: passing arg 3 of `helperStatefulSubmit'
from incompatible pointer type
ntlm/auth_ntlm.c: At top level:
ntlm/auth_ntlm.c:804: `authenticateNTLMHelperServerOnEmpty' redeclared
as different kind of symbol
ntlm/auth_ntlm.c:77: previous declaration of
`authenticateNTLMHelperServerOnEmpty'
ntlm/auth_ntlm.c:804: warning: `authenticateNTLMHelperServerOnEmpty' was
declared `extern' and later `static'
ntlm/auth_ntlm.c:804: warning: `authenticateNTLMHelperServerOnEmpty'
defined but not used
make[4]: *** [ntlm/auth_ntlm.o] Error 1
make[4]: Leaving directory `/usr/local/src/squid/squid-2.5.STABLE4/src/auth'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/squid/squid-2.5.STABLE4/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/squid/squid-2.5.STABLE4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/squid/squid-2.5.STABLE4/src'
make: *** [all-recursive] Error 1
Received on Wed Feb 11 2004 - 20:07:02 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST