[squid-users] compiling problems #2

From: Thomas Goebel <thomas@dont-contact.us>
Date: Wed, 22 Aug 2001 08:48:19 +0200

Hello,

i tryd to compile and install a new version of the squid-ntlm .

The following error is shown
(i have downloaded a complete new cvs tree)

gcc -g -Wall -I../include -I../include -c -o html_quote.o
html_quote.c
/bin/rm -f libmiscutil.a
/usr/bin/ar r libmiscutil.a rfc1123.o rfc1738.o rfc1035.o rfc2617.o
util.o getfullhostname.o base6
4.o uudecode.o splay.o safe_inet_addr.o iso3307.o snprintf.o md5.o
radix.o stub_memaccount.o Array
.o Stack.o hash.o heap.o html_quote.o
ranlib libmiscutil.a
gcc -g -Wall -I../include -I../include -c -o ntlmauth.o ntlmauth.c
In file included from ntlmauth.c:24:
../include/ntlmauth.h:121: parse error before `gint16'
../include/ntlmauth.h:121: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:122: warning: type defaults to `int' in
declaration of `maxlen'
../include/ntlmauth.h:122: warning: data definition has no type or
storage class
../include/ntlmauth.h:123: parse error before `offset'
../include/ntlmauth.h:123: warning: type defaults to `int' in
declaration of `offset'
../include/ntlmauth.h:123: warning: data definition has no type or
storage class
../include/ntlmauth.h:124: warning: type defaults to `int' in
declaration of `strhdr'
../include/ntlmauth.h:124: warning: data definition has no type or
storage class
../include/ntlmauth.h:128: parse error before `gint32'
../include/ntlmauth.h:128: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:130: parse error before `}'
../include/ntlmauth.h:130: warning: type defaults to `int' in
declaration of `lstring'
../include/ntlmauth.h:130: warning: data definition has no type or
storage class
../include/ntlmauth.h:136: parse error before `gint32'
../include/ntlmauth.h:136: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:137: warning: type defaults to `int' in
declaration of `ntlmhdr'
../include/ntlmauth.h:137: warning: data definition has no type or
storage class
../include/ntlmauth.h:142: parse error before `gint32'
../include/ntlmauth.h:142: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:143: warning: type defaults to `int' in
declaration of `hdr'
../include/ntlmauth.h:143: warning: data definition has no type or
storage class
../include/ntlmauth.h:145: parse error before `domain'
../include/ntlmauth.h:145: warning: type defaults to `int' in
declaration of `domain'
../include/ntlmauth.h:145: warning: data definition has no type or
storage class
../include/ntlmauth.h:146: parse error before `workstation'
../include/ntlmauth.h:146: warning: type defaults to `int' in
declaration of `workstation'
../include/ntlmauth.h:146: warning: data definition has no type or
storage class
../include/ntlmauth.h:148: parse error before `}'
../include/ntlmauth.h:148: warning: type defaults to `int' in
declaration of `ntlm_negotiate'
../include/ntlmauth.h:148: warning: data definition has no type or
storage class
../include/ntlmauth.h:153: parse error before `gint32'
../include/ntlmauth.h:153: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:154: warning: type defaults to `int' in
declaration of `target'
../include/ntlmauth.h:154: warning: data definition has no type or
storage class
../include/ntlmauth.h:160: parse error before `}'
../include/ntlmauth.h:160: warning: type defaults to `int' in
declaration of `ntlm_challenge'
../include/ntlmauth.h:160: warning: data definition has no type or
storage class
../include/ntlmauth.h:165: parse error before `gint32'
../include/ntlmauth.h:165: warning: no semicolon at end of struct or
union
../include/ntlmauth.h:166: warning: type defaults to `int' in
declaration of `lmresponse'
../include/ntlmauth.h:166: warning: data definition has no type or
storage class
../include/ntlmauth.h:167: parse error before `ntresponse'
../include/ntlmauth.h:167: warning: type defaults to `int' in
declaration of `ntresponse'
../include/ntlmauth.h:167: warning: data definition has no type or
storage class
../include/ntlmauth.h:168: parse error before `domain'
../include/ntlmauth.h:168: warning: type defaults to `int' in
declaration of `domain'
../include/ntlmauth.h:168: warning: data definition has no type or
storage class
../include/ntlmauth.h:169: parse error before `user'
../include/ntlmauth.h:169: warning: type defaults to `int' in
declaration of `user'
../include/ntlmauth.h:169: warning: data definition has no type or
storage class
../include/ntlmauth.h:170: parse error before `workstation'
../include/ntlmauth.h:170: warning: type defaults to `int' in
declaration of `workstation'
../include/ntlmauth.h:170: warning: data definition has no type or
storage class
../include/ntlmauth.h:171: parse error before `sessionkey'
../include/ntlmauth.h:171: warning: type defaults to `int' in
declaration of `sessionkey'
../include/ntlmauth.h:171: warning: data definition has no type or
storage class
../include/ntlmauth.h:172: parse error before `flags'
../include/ntlmauth.h:172: warning: type defaults to `int' in
declaration of `flags'
../include/ntlmauth.h:172: conflicting types for `flags'
../include/ntlmauth.h:155: previous declaration of `flags'
../include/ntlmauth.h:172: warning: data definition has no type or
storage class
../include/ntlmauth.h:173: conflicting types for `payload'
../include/ntlmauth.h:159: previous declaration of `payload'
../include/ntlmauth.h:174: parse error before `}'
../include/ntlmauth.h:174: warning: type defaults to `int' in
declaration of `ntlm_authenticate'
../include/ntlmauth.h:174: warning: data definition has no type or
storage class
../include/ntlmauth.h:178: parse error before `ntlm_fetch_string'
../include/ntlmauth.h:178: parse error before `gint32'
../include/ntlmauth.h:178: warning: type defaults to `int' in
declaration of `ntlm_fetch_string'
../include/ntlmauth.h:178: warning: data definition has no type or
storage class
../include/ntlmauth.h:180: parse error before `strhdr'
ntlmauth.c:65: parse error before `ntlm_fetch_string'
ntlmauth.c:65: parse error before `gint32'
ntlmauth.c:66: warning: return-type defaults to `int'
ntlmauth.c: In function `ntlm_fetch_string':
ntlmauth.c:67: `gint16' undeclared (first use in this function)
ntlmauth.c:67: (Each undeclared identifier is reported only once
ntlmauth.c:67: for each function it appears in.)
ntlmauth.c:67: parse error before `l'
ntlmauth.c:68: `gint32' undeclared (first use in this function)
ntlmauth.c:69: `lstring' undeclared (first use in this function)
ntlmauth.c:71: `rv' undeclared (first use in this function)
ntlmauth.c:73: `l' undeclared (first use in this function)
ntlmauth.c:73: request for member `len' in something not a structure or
union
ntlmauth.c:74: `o' undeclared (first use in this function)
ntlmauth.c:74: request for member `offset' in something not a structure
or union
ntlmauth.c:77: `length' undeclared (first use in this function)
ntlmauth.c:81: `packet' undeclared (first use in this function)
ntlmauth.c:85: warning: control reaches end of non-void function
ntlmauth.c: At top level:
ntlmauth.c:95: parse error before `strhdr'
ntlmauth.c: In function `ntlm_add_to_payload':
ntlmauth.c:99: `payload_length' undeclared (first use in this function)
ntlmauth.c:100: `toadd' undeclared (first use in this function)
ntlmauth.c:100: `toadd_length' undeclared (first use in this function)
ntlmauth.c:102: invalid type argument of `->'
ntlmauth.c:103: invalid type argument of `->'
ntlmauth.c:104: invalid type argument of `->'
ntlmauth.c:104: `base_offset' undeclared (first use in this function)
ntlmauth.c: In function `ntlm_make_challenge':
ntlmauth.c:118: `ntlm_challenge' undeclared (first use in this function)
ntlmauth.c:118: parse error before `ch'
ntlmauth.c:121: `ch' undeclared (first use in this function)
make[1]: *** [ntlmauth.o] Error 1
make[1]: Leaving directory `/DOWN/squid-ntlm/lib'
make: *** [all] Error
1

What happends there? What`s wrong?

Regards,
Thomas
Received on Wed Aug 22 2001 - 00:48:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:53 MST