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

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 17 Jun 2005 10:29:02 -0800

> -----Original Message-----
> From: Linda W [mailto:squid-user@tlinx.org]
> Sent: Thursday, June 16, 2005 2:58 PM
> To: Squid Users
> Subject: [squid-users] first time builder looking for obvious "gotcha's"
> on build error
>
>
>
> 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?

I have not tried compiling Squid 3, so this I'm going to be of little help,
but I thought that I would point out that Squid 3 is not production ready...

In any case, I think more information is probably needed. What OS are you
compiling Squid on? What were the parameters you gave the configure
command? What version of Samba do you have installed?

>
> TIA,
> Linda

Chris
Received on Fri Jun 17 2005 - 12:29:18 MDT

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