[squid-users] LDAP compile problem

From: <[email protected]>
Date: Tue, 3 Jul 2001 11:42:13 +0100

I've recently been told to move fom NCSA to LDAP authorization, however
when i tried to recompile Squid with LDAP enabled, i got an error as
follows:

gcc -DSQUID_PREFIX=\"/etc/squid\" -g -O2 -Wall -I../../../include
-I../../../include -I../../../src/ -c store_dir_diskd.c
In file included from ../../../src/squid.h:373,
                 from store_dir_diskd.c:36:
../../../src/structs.h:77: parse error before `acl_ldap_auth_user'
../../../src/structs.h:77: warning: no semicolon at end of struct or union
../../../src/structs.h:87: parse error before `}'
../../../src/structs.h:92: parse error before `acl_ldap_auth_user'
../../../src/structs.h:92: warning: no semicolon at end of struct or union
../../../src/structs.h:102: parse error before `}'
../../../src/structs.h:181: parse error before `acl_ldap_auth_user'
../../../src/structs.h:181: warning: no semicolon at end of struct or union
../../../src/structs.h:189: parse error before `}'
make[3]: *** [store_dir_diskd.o] Error 1

I looked at the relevant code in structs.h, yet i couldn't seem to find
anything out of the ordinary (except two structs that looked EXACTLY the
same?).

Please help, i've got to implement this by Wednesday!

Laurence
Received on Tue Jul 03 2001 - 04:42:20 MDT

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