[SQU] Compile problem with ntlm

From: Richard Whelan <rwhelan@dont-contact.us>
Date: Thu, 16 Nov 2000 14:30:05 -0000

Thought this looked like a useful addon, as I'm looking at implementing
authentication.

I'm currently running 2.3STABLE3, but for this I have basically followed the
comments already made in this list.

I have tried both the daily snapshot version, squid-2.4-20001115000 off the
main Squid site, and the CVS version from squid.sourceforge (2.5 ??).

I couldn't get the patch to apply, until I pulled down GNU patch, and then
it all went through OK, except for two/three areas. Nothing major there.

Ran autoheader, autoconf, and then set off the configure. Again no problem
there.

When it gets to the compilation of the ntlm code though, it bombs. Not being
a developer, I wouldn't have the first clue where to look, so here is what I
get.

Making all in ntlm_auth_modules...
make[1]: Entering directory
`/home/software/Src/Squid/New/squid-2.4-200011150000/ntlm_auth_modules'
make[2]: Entering directory
`/home/software/Src/Squid/New/squid-2.4-200011150000/ntlm_auth_modules/NTLMS
SP'
gcc -g -O2 -Wall -I. -I../../include -I./smbval -I../../include -c -o
ntlm_auth.o ntlm_auth.c
In file included from ntlm_auth.c:37:
ntlm.h:167: parse error before `u_int32_t'
ntlm.h:167: warning: no semicolon at end of struct or union
ntlm.h:171: parse error before `}'
ntlm.h:177: parse error before `u_int32_t'
ntlm.h:177: warning: no semicolon at end of struct or union
ntlm.h:179: parse error before `context_low'
ntlm.h:179: warning: type defaults to `int' in declaration of `context_low'
ntlm.h:179: warning: data definition has no type or storage class
ntlm.h:180: parse error before `context_high'
ntlm.h:180: warning: type defaults to `int' in declaration of `context_high'
ntlm.h:180: warning: data definition has no type or storage class
ntlm.h:182: parse error before `}'
ntlm_auth.c:76: conflicting types for `domain'
ntlm.h:168: previous declaration of `domain'
ntlm_auth.c: In function `cleanup_cache':
ntlm_auth.c:124: warning: int format, pid_t arg (arg 3)
ntlm_auth.c: In function `refresh_challenge':
ntlm_auth.c:164: warning: int format, pid_t arg (arg 3)
ntlm_auth.c: In function `housekeep':
ntlm_auth.c:181: warning: int format, pid_t arg (arg 3)
ntlm_auth.c: In function `manage_request':
ntlm_auth.c:327: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:330: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:331: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:381: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:395: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:426: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:429: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:430: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:435: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:461: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:463: warning: int format, pid_t arg (arg 3)
ntlm_auth.c: In function `main':
ntlm_auth.c:487: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:491: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:503: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:511: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:515: warning: int format, pid_t arg (arg 3)
ntlm_auth.c:520: warning: int format, pid_t arg (arg 3)
make[2]: *** [ntlm_auth.o] Error 1
make[2]: Leaving directory
`/home/software/Src/Squid/New/squid-2.4-200011150000/ntlm_auth_modules/NTLMS
SP'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/software/Src/Squid/New/squid-2.4-200011150000/ntlm_auth_modules'
make: *** [all] Error 1

Any clues,

Cheers,

Richard
--------------------------------------------------------------------------
Richard Whelan Email: rwhelan@highwayone.net
Senior Systems Administrator Phone: +44 (0) 113 251 5682
HighwayOne Ltd Fax: +44 (0) 113 251 5100
G12, 1200 Century Way Mobile: +44 (0) 771 333 1904
Thorpe Park Business Park
Colton, Leeds, LS15 8ZA

----------------------------------------- (on ukadmin1)

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
AntiVirus VirusWall for the presence of computer viruses.

HighwayOne Corporation Ltd

---------------------------------------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Nov 16 2000 - 07:31:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:24 MST