Re: [squid-users] compile problems / squid-2.4.STABLE2, squid-head-200110162300, squid-2.4-200110162300

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 17 Oct 2001 13:38:18 +0200

Somehow I doubt you get these exact errors in the Squid-2.4 versions as
the files the error is being reported on does not exist in Squid-2.4,
only in Squid-HEAD.

What did configure report when testing the sizes of int16_t and similar?

What OS are you using?

Try removing the HAVE_GLIB_H block from include/squid_types.h. That
block does not look correct to me. int16_t may be a typedef, and Squid
generally does not include glib.h...

--
Henrik Nordström
Squid Hacker
Thomas Goebel wrote:
> 
> Hello,
> 
> i try to compile any of this source packages.
> squid-2.4.STABLE2
> squid-head-200110162300
> squid-2.4-200110162300
> 
> I do always the same things.
> 
> ./configure --enable-ntlm-auth-helpers=NTLMSSP --enable-snmp
> --prefix=/usr --enable-basic-auth-helpers="SMB" --enable-ntlm-fail-open
> --enable-auth=ntlm,basic
> 
> make all
> 
> and the following error are occurs:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -g  -Wall -c hash.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -g  -Wall -c heap.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -g  -Wall -c html_quote.c
> rm -f libmiscutil.a
> /usr/bin/ar cru libmiscutil.a rfc1123.o rfc1738.o rfc1035.o rfc2617.o
> util.o getfullhostname.o base64.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 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -g  -Wall -c 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:72: parse error before `ntlm_fetch_string'
> ntlmauth.c:72: parse error before `gint32'
> ntlmauth.c:73: warning: return-type defaults to `int'
> ntlmauth.c: In function `ntlm_fetch_string':
> ntlmauth.c:74: `gint16' undeclared (first use in this function)
> ntlmauth.c:74: (Each undeclared identifier is reported only once
> ntlmauth.c:74: for each function it appears in.)
> ntlmauth.c:74: parse error before `l'
> ntlmauth.c:75: `gint32' undeclared (first use in this function)
> ntlmauth.c:76: `lstring' undeclared (first use in this function)
> ntlmauth.c:78: `rv' undeclared (first use in this function)
> ntlmauth.c:80: `l' undeclared (first use in this function)
> ntlmauth.c:80: request for member `len' in something not a structure or
> union
> ntlmauth.c:81: `o' undeclared (first use in this function)
> ntlmauth.c:81: request for member `offset' in something not a structure
> or union
> ntlmauth.c:84: `length' undeclared (first use in this function)
> ntlmauth.c:88: `packet' undeclared (first use in this function)
> ntlmauth.c:92: warning: control reaches end of non-void function
> ntlmauth.c: At top level:
> ntlmauth.c:102: parse error before `strhdr'
> ntlmauth.c: In function `ntlm_add_to_payload':
> ntlmauth.c:106: `payload_length' undeclared (first use in this function)
> ntlmauth.c:107: `toadd' undeclared (first use in this function)
> ntlmauth.c:107: `toadd_length' undeclared (first use in this function)
> ntlmauth.c:109: invalid type argument of `->'
> ntlmauth.c:110: invalid type argument of `->'
> ntlmauth.c:111: invalid type argument of `->'
> ntlmauth.c:111: `base_offset' undeclared (first use in this function)
> ntlmauth.c: In function `ntlm_make_challenge':
> ntlmauth.c:125: `ntlm_challenge' undeclared (first use in this function)
> ntlmauth.c:125: parse error before `ch'
> ntlmauth.c:128: `ch' undeclared (first use in this function)
> make[1]: *** [ntlmauth.o] Error 1
> make[1]: Leaving directory `/DOWN/squid-head-200110162300/lib'
> make: *** [all-recursive] Error 1
> 
> Please help.
> 
> Regards,
> Thomas
Received on Wed Oct 17 2001 - 05:38:04 MDT

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