[squid-users] first time builder looking for obvious "gotcha's" on build error

From: Linda W <squid-user@dont-contact.us>
Date: Thu, 16 Jun 2005 15:57:47 -0700

Grabbed the June-14 tarball and config'ed it (I hope) for local machine.

Run into a compile error in building basic/auth -- is this a samba source
synchronization error? Here's the messages up to the error point:
make[3]: Entering directory `/home/proj/squid-3.0-PRE3-20050614/src/auth'
depbase=`echo basic/auth_basic.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -D_REENTRANT -O3 -march=pentium3
-fomit-frame-pointer -MT basic/auth_basic.o -MD -MP -MF "$depbase.Tpo"
-c -o basic/auth_basic.o basic/auth_basic.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit
1; fi
depbase=`echo digest/auth_digest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -D_REENTRANT -O3 -march=pentium3
-fomit-frame-pointer -MT digest/auth_digest.o -MD -MP -MF "$depbase.Tpo"
-c -o digest/auth_digest.o digest/auth_digest.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit
1; fi
depbase=`echo ntlm/auth_ntlm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include
-I../../include -I../../src/ -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -D_REENTRANT -O3 -march=pentium3
-fomit-frame-pointer -MT ntlm/auth_ntlm.o -MD -MP -MF "$depbase.Tpo" -c
-o ntlm/auth_ntlm.o ntlm/auth_ntlm.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit
1; fi
../../src/AuthUser.h: In function `stateful_helper_callback_t
  authenticateNTLMHandleReply(void*, void*, char*)':
../../src/AuthUser.h:89: error: `const char*AuthUser::username_' is private
ntlm/auth_ntlm.cc:525: error: within this context
rm -f libbasic.a
/usr/bin/ar cru libbasic.a basic/auth_basic.o
ranlib libbasic.a
make[3]: *** [ntlm/auth_ntlm.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/proj/squid-3.0-PRE3-20050614/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/proj/squid-3.0-PRE3-20050614/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/proj/squid-3.0-PRE3-20050614/src'
make: *** [all-recursive] Error 1
-----------

Anything that this indicates I've obviously configured incorrectly?

TIA,
Linda
Received on Thu Jun 16 2005 - 16:57:49 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT