[squid-users] Compile errors

From: Brad Pendergast <brad_pendergast@dont-contact.us>
Date: Thu, 7 Oct 2004 16:54:17 +1000 (EST)

I am attempting to compile SQUID2-5 Stable 6 with
SunOne LDAP authentication support. Below are some
details

o/s - Solaris 9 sparc
ldap include/libs - SunOne DS 5.2
configure command - ./configure
--enable-basic-auth-helpers=LDAP
compiler - GCC 3.0.2 + GNU make and binutils

I type "make all" and the following error occurs

Making all in LDAP
make[3]: Entering directory
`/export/home/squid/squid-2.5.STABLE6/helpers/basic_auth/LDAP'
source='squid_ldap_auth.c' object='squid_ldap_auth.o'
libtool=no \
depfile='.deps/squid_ldap_auth.Po'
tmpdepfile='.deps/squid_ldap_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include
-I../../../include -g -O2 -Wall -c `test -f
squid_ldap_auth.c || echo './'`squid_ldap_auth.c
squid_ldap_auth.c: In function `main':
squid_ldap_auth.c:452: `LDAP_OPT_SUCCESS' undeclared
(first use in this function)
squid_ldap_auth.c:452: (Each undeclared identifier is
reported only once
squid_ldap_auth.c:452: for each function it appears
in.)
squid_ldap_auth.c:459: warning: implicit declaration
of function `ldap_start_tls_s'
make[3]: *** [squid_ldap_auth.o] Error 1
make[3]: Leaving directory
`/export/home/squid/squid-2.5.STABLE6/helpers/basic_auth/LDAP'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/squid/squid-2.5.STABLE6/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/squid/squid-2.5.STABLE6/helpers'
make: *** [all-recursive] Error 1

I have found threads with similar problems but have
not provided me with a solution. Has anyone come
across this issue before or see a mistake I have made.

Many thanks
Brad

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
Received on Thu Oct 07 2004 - 00:54:18 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST