[squid-users] 3.2.0.7 compile error on fedora 14.

From: Ming Fu <Ming.Fu_at_watchguard.com>
Date: Wed, 27 Apr 2011 18:58:51 +0000

Hi,

I was trying to investigate if the sslBump problem recently reported by Will Metcalf is a result of bug 1991 that SSL does not work well with FreeBSD kqueue.

So I tried to test the same setting on a Linux. The system is a
RedHat Fedora 14. Gcc version 4.5.1. 20100924, and OpenSSL 1.0.0d-fips 8 Feb 2011

./configure '--disable-loadable-modules' '--disable-esi' '--enable-icap_client' '--enable-ssl' '--enable-auth' '--enable-ssl-crtd' --enable-ltdl-convenience

However I was blocked by the compile error:

make[3]: Entering directory `/home/fming/squid-3.2.0.7/src/ssl'
g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ssl_crtd.o -MD -MP -MF .deps/ssl_crtd.Tpo -c -o ssl_crtd.o ssl_crtd.cc
In file included from ssl_crtd.cc:9:0:
../../src/ssl/certificate_db.h: In static member function 'static long unsigned int Ssl::CertificateDb::index_serial_hash_LHASH_HASH(const void*)':
../../src/ssl/certificate_db.h:113:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:113:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:113:12: error: 'index_serial_hash_hash' was not declared in this scope
../../src/ssl/certificate_db.h: In static member function 'static int Ssl::CertificateDb::index_serial_cmp_LHASH_COMP(const void*, const void*)':
../../src/ssl/certificate_db.h:114:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:114:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:114:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:114:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:114:12: error: 'index_serial_cmp_cmp' was not declared in this scope
../../src/ssl/certificate_db.h: In static member function 'static long unsigned int Ssl::CertificateDb::index_name_hash_LHASH_HASH(const void*)':
../../src/ssl/certificate_db.h:115:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:115:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:115:12: error: 'index_name_hash_hash' was not declared in this scope
../../src/ssl/certificate_db.h: In static member function 'static int Ssl::CertificateDb::index_name_cmp_LHASH_COMP(const void*, const void*)':
../../src/ssl/certificate_db.h:116:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:116:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:116:12: error: duplicate 'const'
../../src/ssl/certificate_db.h:116:12: error: invalid conversion from 'const void*' to 'const char***'
../../src/ssl/certificate_db.h:116:12: error: 'index_name_cmp_cmp' was not declared in this scope
make[3]: *** [ssl_crtd.o] Error 1

Any help is appreciated,
Ming
Received on Wed Apr 27 2011 - 18:58:58 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 28 2011 - 12:00:03 MDT