[squid-users] Error compiling squid ver 3 with --enable-ssl

From: Tomer Brand <tomer@dont-contact.us>
Date: Wed, 6 Feb 2008 21:48:06 +0200

Hi,

I am trying to compile squid version 3.0 stable1 with --enable-ssl on a
ubuntu ver 7 running in vmware workstation ver 5.5.4.
I keep getting the following, even after reinstalling openssl:

ssl_support.h:49: error: expected constructor, destructor, or type
conversion before '*' token
ssl_support.h:50: error: expected constructor, destructor, or type
conversion before '*' token
ssl_support.h:55: error: 'SSL' was not declared in this scope
ssl_support.h:55: error: 'ssl' was not declared in this scope
ssl_support.h:56: error: typedef 'SSLGETATTRIBUTE' is initialized (use
__typeof__ instead)
ssl_support.h:56: error: 'SSL' was not declared in this scope
ssl_support.h:56: error: expected primary-expression before ',' token
ssl_support.h:56: error: expected primary-expression before 'const'
ssl_support.h:57: error: 'SSLGETATTRIBUTE' does not name a type
ssl_support.h:58: error: 'SSLGETATTRIBUTE' does not name a type
ssl_support.h:59: error: 'SSL' was not declared in this scope
ssl_support.h:59: error: 'ssl' was not declared in this scope
ssl_support.h:60: error: 'SSL' was not declared in this scope
ssl_support.h:60: error: 'ssl' was not declared in this scope
structs.h:177: error: ISO C++ forbids declaration of 'SSL_CTX' with no
type
structs.h:177: error: expected ';' before '*' token
structs.h:736: error: ISO C++ forbids declaration of 'SSL_CTX' with no
type
structs.h:736: error: expected ';' before '*' token
structs.h:1161: error: ISO C++ forbids declaration of 'SSL_CTX' with no
type
structs.h:1161: error: expected ';' before '*' token
structs.h:1162: error: ISO C++ forbids declaration of 'SSL_SESSION' with
no type
structs.h:1162: error: expected ';' before '*' token
make[1]: *** [cf_gen.o] Error 1
make[1]: Leaving directory `/home/tomer/Desktop/squid-3.0.STABLE1/src'
make: *** [all-recursive] Error 1

Any ideas?

Thanks,

Tomer
Received on Wed Feb 06 2008 - 12:51:58 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST