hi all
while compile the squid 3.2.0.2 in SUSE Enterprise - following error occur
make[3]: Entering directory `/usr/local/visolve/squid-3.2.0.2/src/base'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I../.. -I../../include -I../../src -I../../include -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
-m64 -g -O2 -c -o AsyncCall.lo AsyncCall.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include
-I../../src -I../../include -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -pipe -D_REENTRANT -m64 -g -O2 -c AsyncCall.cc -fPIC
-DPIC -o .libs/AsyncCall.o
In file included from ../../src/squid.h:158,
from AsyncCall.cc:5:
../../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
In file included from ../../src/squid.h:172,
from AsyncCall.cc:5:
../../src/structs.h:607: error: ISO C++ forbids declaration of ‘SSL_CTX’
with no type
../../src/structs.h:607: error: expected ‘;’ before ‘*’ token
../../src/structs.h:953: error: ISO C++ forbids declaration of ‘SSL_CTX’
with no type
../../src/structs.h:953: error: expected ‘;’ before ‘*’ token
../../src/structs.h:954: error: ISO C++ forbids declaration of
‘SSL_SESSION’ with no type
../../src/structs.h:954: error: expected ‘;’ before ‘*’ token
make[3]: *** [AsyncCall.lo] Error 1
make[3]: Leaving directory `/usr/local/visolve/squid-3.2.0.2/src/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/visolve/squid-3.2.0.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/visolve/squid-3.2.0.2/src'
make: *** [all-recursive] Error 1
thanks for the help
-Viswa