Hi,
I am trying to build the newest squid 3.1.11 with ssl support and I
received the following error when running the make command:
Making all in base
make[3]: Entering directory `/data/squid-3.1.11/src/base'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../src -I../../include -I../../libltdl
-Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT
-g -O2 -MT AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c -o
AsyncCall.lo AsyncCall.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../src -I../../include -I../../libltdl -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -MT
AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c AsyncCall.cc -fPIC
-DPIC -o .libs/AsyncCall.o
../../src/ssl_support.h:58: error: expected constructor, destructor,
or type conversion before '*' token
../../src/ssl_support.h:61: error: expected constructor, destructor,
or type conversion before '*' token
../../src/ssl_support.h:74: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:74: error: 'ssl' was not declared in this scope
../../src/ssl_support.h:77: error: typedef 'SSLGETATTRIBUTE' is
initialized (use __typeof__ instead)
../../src/ssl_support.h:77: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:77: error: expected primary-expression before ',' token
../../src/ssl_support.h:77: error: expected primary-expression before 'const'
../../src/ssl_support.h:80: error: 'SSLGETATTRIBUTE' does not name a type
../../src/ssl_support.h:83: error: 'SSLGETATTRIBUTE' does not name a type
../../src/ssl_support.h:86: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:86: error: 'ssl' was not declared in this scope
../../src/ssl_support.h:89: error: 'SSL' was not declared in this scope
../../src/ssl_support.h:89: error: 'ssl' was not declared in this scope
../../src/structs.h:617: error: ISO C++ forbids declaration of
'SSL_CTX' with no type
../../src/structs.h:617: error: expected ';' before '*' token
../../src/structs.h:964: error: ISO C++ forbids declaration of
'SSL_CTX' with no type
../../src/structs.h:964: error: expected ';' before '*' token
../../src/structs.h:965: error: ISO C++ forbids declaration of
'SSL_SESSION' with no type
../../src/structs.h:965: error: expected ';' before '*' token
make[3]: *** [AsyncCall.lo] Error 1
make[3]: Leaving directory `/data/squid-3.1.11/src/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/squid-3.1.11/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/squid-3.1.11/src'
make: *** [all-recursive] Error 1
What am I missing here?
Jake Jacobson
http://www.google.com/profiles/jakecjacobson
Our greatest fear should not be of failure,
but of succeeding at something that doesn't really matter.
-- ANONYMOUS
Received on Thu Feb 24 2011 - 14:13:59 MST
This archive was generated by hypermail 2.2.0 : Thu Feb 24 2011 - 12:00:03 MST