Search squid archive

problems compiling squid beta with --enable-ssl

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

 



Hello,

While trying to:
source: 3.1.0.16
./configure --enable-ssl
make

I get this output at the end:

gawk -f ./mk-globals-c.awk < ./globals.h > globals.cc
gawk -f ./mk-string-arrays.awk < ./enums.h > string_arrays.c
/bin/sh ./repl_modules.sh lru > repl_modules.cc
make  all-recursive
make[2]: Entering directory `/root/squid-3.1.0.16/src'
Making all in base
make[3]: Entering directory `/root/squid-3.1.0.16/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  -D_REENTRANT -g
-O2 -MT AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c -o
AsyncCall.lo AsyncCall.cc
mkdir .libs
 g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src
-I../../include -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:55: error: expected constructor, destructor,
or type conversion before ‘*’ token
../../src/ssl_support.h:58: error: expected constructor, destructor,
or type conversion before ‘*’ token
../../src/ssl_support.h:71: error: ‘SSL’ was not declared in this scope
../../src/ssl_support.h:71: error: ‘ssl’ was not declared in this scope
../../src/ssl_support.h:74: error: typedef ‘SSLGETATTRIBUTE’ is
initialized (use __typeof__ instead)
../../src/ssl_support.h:74: error: ‘SSL’ was not declared in this scope
../../src/ssl_support.h:74: error: expected primary-expression before ‘,’ token
../../src/ssl_support.h:74: error: expected primary-expression before ‘const’
../../src/ssl_support.h:77: error: ‘SSLGETATTRIBUTE’ does not name a type
../../src/ssl_support.h:80: error: ‘SSLGETATTRIBUTE’ does not name a type
../../src/ssl_support.h:83: error: ‘SSL’ was not declared in this scope
../../src/ssl_support.h:83: 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:86: error: ‘ssl’ was not declared in this scope
../../src/structs.h:611: error: ISO C++ forbids declaration of
‘SSL_CTX’ with no type
../../src/structs.h:611: error: expected ‘;’ before ‘*’ token
../../src/structs.h:952: error: ISO C++ forbids declaration of
‘SSL_CTX’ with no type
../../src/structs.h:952: error: expected ‘;’ before ‘*’ token
../../src/structs.h:953: error: ISO C++ forbids declaration of
‘SSL_SESSION’ with no type
../../src/structs.h:953: error: expected ‘;’ before ‘*’ token
make[3]: *** [AsyncCall.lo] Error 1
make[3]: Leaving directory `/root/squid-3.1.0.16/src/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.1.0.16/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.1.0.16/src'
make: *** [all-recursive] Error 1


This is CentOS 5.4 base + compilers + OpenSSL installed. What could be
the problem?


Thanks!!

Andres


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

  Powered by Linux