[squid-users] Compile errors on Ubuntu 10.4

From: Chris Horry <zerbey_at_wibble.co.uk>
Date: Fri, 07 May 2010 11:10:25 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I suspect I'm doing something wrong as I'm new to Ubuntu, 3.1.3 works
fine on my Slackware box :)

Thanks!

If it's relevant...

OpenSSL 0.9.8k 25 Mar 2009
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Configure options:

/configure --enable-ssl --enable-linux-netfilter --enable-htcp
- --enable-snmp --enable-storeio=ufs,diskd,aufs --enable-async-io
- --with-aio --with-large-files --enable-removal-policies=heap

Appears to bomb here:

g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include
- -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT
- -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT AsyncCall.lo
- -MD -MP -MF .deps/AsyncCall.Tpo -c AsyncCall.cc -fPIC -DPIC -o
.libs/AsyncCall.o
In file included from ../../src/squid.h:272,
                 from AsyncCall.cc:5:
../../src/ssl_support.h:58: error: expected constructor, destructor, or
type conversion before ?*? token
In file included from ../../src/squid.h:272,
                 from AsyncCall.cc:5:
../../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 decltype 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:318,
                 from AsyncCall.cc:5:
../../src/structs.h:615: error: ISO C++ forbids declaration of ?SSL_CTX?
with no type
../../src/structs.h:615: error: expected ?;? before ?*? token
../../src/structs.h:959: error: ISO C++ forbids declaration of ?SSL_CTX?
with no type
../../src/structs.h:959: error: expected ?;? before ?*? token
../../src/structs.h:960: error: ISO C++ forbids declaration of
?SSL_SESSION? with no type
../../src/structs.h:960: error: expected ?;? before ?*? token
make[3]: *** [AsyncCall.lo] Error 1
make[3]: Leaving directory `/usr/src/squid-3.1.3/src/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/squid-3.1.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/squid-3.1.3/src'
make: *** [all-recursive] Error 1

- --
Chris Horry
zerbey_at_wibble.co.uk
http://www.wibble.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvkLWEACgkQnAAeGCtMZU5CwwCgnCuGAsZGXHutJqhJ3tv+t8pc
ZTUAmgJYder8HTuCL9p5y8eDH3MZZ5NH
=KbFI
-----END PGP SIGNATURE-----
Received on Fri May 07 2010 - 15:10:30 MDT

This archive was generated by hypermail 2.2.0 : Fri May 07 2010 - 12:00:03 MDT