Search squid archive

3.2.0.5 powerpc-apple-darwin9.8.0 - authenticateStateData' was not declared in this scope

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings
things were going so smooth until it hit the build for authentication. system running powerpc-apple-darwin9.8.0 osx 10.5.8

./configure  --enable-disk-io --enable-storeio  --enable-icmp --enable-ssl --enable-ipfw-transparent --enable-auth --enable-auth-basic --with-filedescriptors=1024
<autostuff libtool stuff>
.
Making all in auth
awk -f ../../src/mk-string-arrays.awk < ./AuthType.h > AuthType.cc || (rm -f AuthType.cc ; exit 1)
/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 AuthType.lo -MD -MP -MF .deps/AuthType.Tpo -c -o AuthType.lo AuthType.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 AuthType.lo -MD -MP -MF .deps/AuthType.Tpo -c AuthType.cc  -fno-common -DPIC -o .libs/AuthType.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 AuthType.lo -MD -MP -MF .deps/AuthType.Tpo -c AuthType.cc -o AuthType.o >/dev/null 2>&1
mv -f .deps/AuthType.Tpo .deps/AuthType.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 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
State.cc:8: error: expected ',' or ';' before '{' token
make[3]: *** [State.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


now i read that if I did not specify a specific helper it would try to make all,.. that may be my issue, I use to run
./configure --enable-icmp --enable-storeio=diskd,ufs,aufs --enable-delay-pools --disable-htcp --enable-ssl --enable-ipfw-transparent --enable-snmp --enable-underscores --enable-basic-auth-helpers=NCSA,LDAP,getpwnam

and specify the helper.

there were also some other auth params i was not sure about configuring them, what they actually did.

--enable-auth           Build global support for authentication. The list of
                         schemes and helpers to be enabled is defined
                         elsewhere
 --enable-auth-basic="list of helpers"
                         Enable the basic authentication scheme, and build
                         the specified helpers. Not providing an explicit
                         list of helpers will attempt build of all possible
                         helpers. Default is to do so. To disable the basic
                         authentication scheme, use --disable-auth-basic. To
                         enable but build no helpers, specify "none". To see
                         available helpers, see the helpers/basic_auth
                         directory.


now if I use the two above do I need to use the ones below for any reason ?


 --enable-auth-ntlm="list of helpers"
                         Enable the NTLM authentication scheme, and build the
                         specified helpers. Not providing an explicit list of
                         helpers will attempt build of all possible helpers.
                         Default is to do so. To disable the NTLM
                         authentication scheme, use --disable-auth-ntlm. To
                         enable but build no helpers, specify "none". To see
                         available helpers, see the helpers/ntlm_auth
                         directory.
 --enable-auth-negotiate="list of helpers"
                         Enable the Negotiate authentication scheme, and
                         build the specified helpers. Not providing an
                         explicit list of helpers will attempt build of all
                         possible helpers. Default is to do so. To disable
                         the Negotiate authentication scheme, use
                         --disable-auth-negotiate. To enable but build no
                         helpers, specify "none". To see available helpers,
                         see the helpers/negotiate_auth directory.
 --enable-auth-digest="list of helpers"
                         Enable the Digest authentication scheme, and build
                         the specified helpers. Not providing an explicit
                         list of helpers will attempt build of all possible
                         helpers. Default is to do so. To disable the Digest
                         authentication scheme, use --disable-auth-digest. To
                         enable but build no helpers, specify "none". To see
                         available helpers, see the helpers/digest_auth
                         directory.



as im sending this to you im suspecting the ipfw transparent
-j


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux