[SQU] NTLM: Problem compiling under Solaris 8

From: David Gameau <David.Gameau@dont-contact.us>
Date: Tue, 5 Dec 2000 10:00:32 +1030

Hiya,

I'm trying to get the NTLM CVS branch of Squid to compile with Solaris 8, so we
can test it in our environment.
[Versions: gcc 2.92.2, make 3.78.1, autoconf 2.13, m4 1.4]
However, it's currently failing to compile, with the following messages:

gcc -g -Wall -I../include -I../include -c -o ntlmauth.o ntlmauth.c
In file included from ntlmauth.c:24:
../include/ntlmauth.h:108: parse error before `u_int32_t'
../include/ntlmauth.h:108: warning: no semicolon at end of struct or union
../include/ntlmauth.h:112: parse error before `}'
../include/ntlmauth.h:112: warning: type defaults to `int' in declaration of
`ntlm_negotiate'
../include/ntlmauth.h:112: warning: data definition has no type or storage
class
../include/ntlmauth.h:119: parse error before `u_int32_t'
../include/ntlmauth.h:119: warning: no semicolon at end of struct or union
../include/ntlmauth.h:121: parse error before `context_low'
../include/ntlmauth.h:121: warning: type defaults to `int' in declaration of
`context_low'
../include/ntlmauth.h:121: warning: data definition has no type or storage
class
../include/ntlmauth.h:122: parse error before `context_high'
../include/ntlmauth.h:122: warning: type defaults to `int' in declaration of
`context_high'
../include/ntlmauth.h:122: warning: data definition has no type or storage
class
../include/ntlmauth.h:124: parse error before `}'
../include/ntlmauth.h:124: warning: type defaults to `int' in declaration of
`ntlm_challenge'
../include/ntlmauth.h:124: warning: data definition has no type or storage
class
ntlmauth.c:28: parse error before `flags'
ntlmauth.c: In function `ntlm_dump_ntlmssp_flags':
ntlmauth.c:30: `flags' undeclared (first use in this function)
ntlmauth.c:30: (Each undeclared identifier is reported only once
ntlmauth.c:30: for each function it appears in.)
ntlmauth.c: In function `ntlm_make_challenge':
ntlmauth.c:109: `ntlm_challenge' undeclared (first use in this function)
ntlmauth.c:109: parse error before `ch'
ntlmauth.c:112: `ch' undeclared (first use in this function)
ntlmauth.c:129: warning: assignment discards qualifiers from pointer target
type
make[1]: *** [ntlmauth.o] Error 1
make[1]: Leaving directory `/usr/local/itu/dkg/cvs/squid/lib'
make: *** [all] Error 1

Looking at the complained about section of code indicates no obvious errors.

Any suggestions would be greatly appreciated.
Thanks,
David.

[Edited typescript included.]
 <<typescript>>
__

David Gameau
I.T.S. - Unix Team
University of South Australia

email: David.Gameau@UniSA.edu.au
phone: +61 8 302 3533
fax: +61 8 302 5800

Disclaimer: I didn't do it. Nobody saw me do it. You can't prove anything.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Dec 04 2000 - 16:33:02 MST

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