On Mar 24, 2011, at 9:53 AM, Amos Jeffries wrote:

> Does the built include/autoconf.h file define USE_AUTH to "1" ?

squid-3.2.0.5 root# cat include/autoconf.h | grep USE_AUTH
#define USE_AUTH 1

same error when i switched to Intel box running 10.6  i686-apple-darwin10.4.2
I ran simple ./configure with no options then make, I did not specify any 
options.

Making all in auth
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I../.. 
-I../../include -I../../lib -I../../src -I../../include   -I../../libltdl -I.   
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g 
-O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo -c -o Config.lo Config.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD 
-MP -MF .deps/Config.Tpo -c Config.cc  -fno-common -DPIC -o .libs/Config.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD 
-MP -MF .deps/Config.Tpo -c Config.cc -o Config.o >/dev/null 2>&1
mv -f .deps/Config.Tpo .deps/Config.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I../.. 
-I../../include -I../../lib -I../../src -I../../include   -I../../libltdl -I.   
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g 
-O2 -MT Gadgets.lo -MD -MP -MF .deps/Gadgets.Tpo -c -o Gadgets.lo Gadgets.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Gadgets.lo -MD 
-MP -MF .deps/Gadgets.Tpo -c Gadgets.cc  -fno-common -DPIC -o .libs/Gadgets.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Gadgets.lo -MD 
-MP -MF .deps/Gadgets.Tpo -c Gadgets.cc -o Gadgets.o >/dev/null 2>&1
mv -f .deps/Gadgets.Tpo .deps/Gadgets.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I../.. 
-I../../include -I../../lib -I../../src -I../../include   -I../../libltdl -I.   
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g 
-O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo -c -o Scheme.lo Scheme.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD 
-MP -MF .deps/Scheme.Tpo -c Scheme.cc  -fno-common -DPIC -o .libs/Scheme.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD 
-MP -MF .deps/Scheme.Tpo -c Scheme.cc -o Scheme.o >/dev/null 2>&1
mv -f .deps/Scheme.Tpo .deps/Scheme.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H  -I../.. 
-I../../include -I../../lib -I../../src -I../../include   -I../../libltdl -I.   
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g 
-O2 -MT State.lo -MD -MP -MF .deps/State.Tpo -c -o State.lo State.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib 
-I../../src -I../../include -I../../libltdl -I. -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT State.lo -MD 
-MP -MF .deps/State.Tpo -c State.cc  -fno-common -DPIC -o .libs/State.o
State.cc:4: error: expected constructor, destructor, or type conversion before 
'(' token
State.cc:7: error: variable or field 'authenticateStateFree' declared void
State.cc:7: error: 'authenticateStateData' was not declared in this scope
State.cc:7: error: 'r' was not declared in this scope
make[3]: *** [State.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Reply via email to