Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 1124 invoked from network); 27 Sep 2009 01:36:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Sep 2009 01:36:49 -0000 Received: (qmail 96573 invoked by uid 500); 27 Sep 2009 01:36:48 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 96494 invoked by uid 500); 27 Sep 2009 01:36:48 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 96485 invoked by uid 99); 27 Sep 2009 01:36:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 01:36:48 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.78.220.2] (HELO london.ucc.usyd.edu.au) (129.78.220.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2009 01:36:38 +0000 Received: from london.ucc.usyd.edu.au (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 18E342CAC0B for ; Sun, 27 Sep 2009 11:36:14 +1000 (EST) Received: from marseille.ucc.usyd.edu.au (marseille.ucc.usyd.edu.au [129.78.64.222]) by london.ucc.usyd.edu.au (Postfix) with ESMTP id 068E32CAB15 for ; Sun, 27 Sep 2009 11:36:13 +1000 (EST) Received: by marseille.ucc.usyd.edu.au (Postfix, from userid 5336) id BFD5B1ECF84; Sun, 27 Sep 2009 11:36:13 +1000 (EST) Date: Sun, 27 Sep 2009 11:36:13 +1000 From: Jie Gao To: dev@httpd.apache.org Subject: Re: [vote] release httpd-2.2.14? Message-ID: <20090927013613.GE19397@marseille.ucc.usyd.edu.au> References: <4ABAAE16.5040907@sharp.fm> <20090926225451.GA19397@marseille.ucc.usyd.edu.au> <4ABEAAF7.40403@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4ABEAAF7.40403@apache.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Checked: Checked by ClamAV on apache.org * Guenter Knauf wrote: >=20 > Hi, > Jie Gao schrieb: > >I am getting errors using Sun's compiler: > well, not sure if it makes much sense to support such a stone-age > openssl version, even if in your case its patched with all security > fixes ... :) > anyway, can you please try if the attached patch fixes the issue for > you? I've not yet figured out from which version exactly openssl > starts to use const, but that I do if you report back that it works That error is now gone. But I've found more errors: Building shared: mod_dbd.la /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=3Dcompile /o= pt/SUNWspro/bin/cc -g -fast -DSOLARIS2=3D10 -D_POSIX_PTHREAD_SEMANTICS -D= _REENTRANT -D_LARGEFILE64_SOURCE -DAP_DEBUG -I/usr/local/src/httpd-2.2.1= 4/srclib/pcre -I. -I/usr/local/src/httpd-2.2.14/os/unix -I/usr/local/src/ht= tpd-2.2.14/server/mpm/worker -I/usr/local/src/httpd-2.2.14/modules/http -I/= usr/local/src/httpd-2.2.14/modules/filters -I/usr/local/src/httpd-2.2.14/mo= dules/proxy -I/usr/local/src/httpd-2.2.14/include -I/usr/local/src/httpd-2.= 2.14/modules/generators -I/usr/local/src/httpd-2.2.14/modules/mappers -I/us= r/local/src/httpd-2.2.14/modules/database -I/usr/local/src/httpd-2.2.14/src= lib/apr/include -I/usr/local/src/httpd-2.2.14/srclib/apr-util/include -I/us= r/local/src/httpd-2.2.14/srclib/apr-util/xml/expat/lib -I/usr/local/src/htt= pd-2.2.14/modules/proxy/../generators -I/usr/sfw/include -I/usr/local/src/h= ttpd-2.2.14/modules/ssl -I/usr/local/src/httpd-2.2.14/modules/dav/main -pre= fer-pic -c mod_dbd.c && touch mod_dbd.slo "mod_dbd.c", line 898: warning: argument #1 is incompatible with prototype: prototype: pointer to function(pointer to struct apr_pool_t {}, poi= nter to struct server_rec {pointer to struct process_rec {..} process, poin= ter to struct server_rec {..} next, pointer to const char defn_name, unsign= ed int defn_line_number, pointer to char server_admin, pointer to char serv= er_hostname, unsigned short port, pointer to char error_fname, pointer to s= truct apr_file_t {..} error_log, int loglevel, int is_virtual, pointer to s= truct ap_conf_vector_t {..} module_config, pointer to struct ap_conf_vector= _t {..} lookup_defaults, pointer to struct server_addr_rec {..} addrs, long= long timeout, long long keep_alive_timeout, int keep_alive_max, int keep_a= live, pointer to const char path, int pathlen, =2E.. /bin/bash /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=3D= compile /opt/SUNWspro/bin/cc -g -fast -DHAVE_CONFIG_H -DSOLARIS2=3D10 -D_P= OSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I./include -I/= usr/local/src/httpd-2.2.14/srclib/apr/include/arch/unix -I./include/arch/un= ix -I/usr/local/src/httpd-2.2.14/srclib/apr/include/arch/unix -I/usr/local/= src/httpd-2.2.14/srclib/apr/include -o shmem/unix/shm.lo -c shmem/unix/shm= =2Ec && touch shmem/unix/shm.lo "shmem/unix/shm.c", line 87: warning: statement not reached "shmem/unix/shm.c", line 218: warning: statement not reached "shmem/unix/shm.c", line 365: warning: statement not reached "shmem/unix/shm.c", line 424: warning: statement not reached "shmem/unix/shm.c", line 455: warning: statement not reached "shmem/unix/shm.c", line 573: warning: statement not reached --- Jie /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=3Dcompile /o= pt/SUNWspro/bin/cc -g -fast -DSOLARIS2=3D10 -D_POSIX_PTHREAD_SEMANTICS -D= _REENTRANT -D_LARGEFILE64_SOURCE -DAP_DEBUG -I/usr/local/src/httpd-2.2.1= 4/srclib/pcre -I. -I/usr/local/src/httpd-2.2.14/os/unix -I/usr/local/src/ht= tpd-2.2.14/server/mpm/worker -I/usr/local/src/httpd-2.2.14/modules/http -I/= usr/local/src/httpd-2.2.14/modules/filters -I/usr/local/src/httpd-2.2.14/mo= dules/proxy -I/usr/local/src/httpd-2.2.14/include -I/usr/local/src/httpd-2.= 2.14/modules/generators -I/usr/local/src/httpd-2.2.14/modules/mappers -I/us= r/local/src/httpd-2.2.14/modules/database -I/usr/local/src/httpd-2.2.14/src= lib/apr/include -I/usr/local/src/httpd-2.2.14/srclib/apr-util/include -I/us= r/local/src/httpd-2.2.14/srclib/apr-util/xml/expat/lib -I/usr/local/src/htt= pd-2.2.14/modules/proxy/../generators -I/usr/sfw/include -I/usr/local/src/h= ttpd-2.2.14/modules/ssl -I/usr/local/src/httpd-2.2.14/modules/dav/main -pre= fer-pic -c ssl_engine_rand.c && touch ssl_engine_rand.slo /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=3Dcompile /o= pt/SUNWspro/bin/cc -g -fast -DSOLARIS2=3D10 -D_POSIX_PTHREAD_SEMANTICS -D= _REENTRANT -D_LARGEFILE64_SOURCE -DAP_DEBUG -I/usr/local/src/httpd-2.2.1= 4/srclib/pcre -I. -I/usr/local/src/httpd-2.2.14/os/unix -I/usr/local/src/ht= tpd-2.2.14/server/mpm/worker -I/usr/local/src/httpd-2.2.14/modules/http -I/= usr/local/src/httpd-2.2.14/modules/filters -I/usr/local/src/httpd-2.2.14/mo= dules/proxy -I/usr/local/src/httpd-2.2.14/include -I/usr/local/src/httpd-2.= 2.14/modules/generators -I/usr/local/src/httpd-2.2.14/modules/mappers -I/us= r/local/src/httpd-2.2.14/modules/database -I/usr/local/src/httpd-2.2.14/src= lib/apr/include -I/usr/local/src/httpd-2.2.14/srclib/apr-util/include -I/us= r/local/src/httpd-2.2.14/srclib/apr-util/xml/expat/lib -I/usr/local/src/htt= pd-2.2.14/modules/proxy/../generators -I/usr/sfw/include -I/usr/local/src/h= ttpd-2.2.14/modules/ssl -I/usr/local/src/httpd-2.2.14/modules/dav/main -pre= fer-pic -c ssl_engine_vars.c && touch ssl_engine_vars.slo "ssl_engine_vars.c", line 656: warning: argument #1 is incompatible with pr= ototype: prototype: pointer to struct ssl_cipher_st {int valid, pointer to c= onst char name, unsigned long id, unsigned long algorithms, unsigned long a= lgo_strength, unsigned long algorithm2, int strength_bits, int alg_bits, un= signed long mask, unsigned long mask_strength} : "/usr/sfw/include/openssl/= ssl.h", line 1196 argument : pointer to const struct ssl_cipher_st {int valid, pointe= r to const char name, unsigned long id, unsigned long algorithms, unsigned = long algo_strength, unsigned long algorithm2, int strength_bits, int alg_bi= ts, unsigned long mask, unsigned long mask_strength} > ... >=20 > G=FCnter. >=20 >=20 > Index: ab.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ab.c (revision 818683) > +++ ab.c (working copy) > @@ -191,8 +191,10 @@ > =20 > #if defined(USE_SSL) && (OPENSSL_VERSION_NUMBER >=3D 0x00909000) > #define AB_SSL_METHOD_CONST const > +#define AB_SSL_CIPHER_CONST const > #else > #define AB_SSL_METHOD_CONST > +#define AB_SSL_CIPHER_CONST > #endif > =20 > #include > @@ -486,7 +488,7 @@ > =20 > static int ssl_print_connection_info(BIO *bio, SSL *ssl) > { > - const SSL_CIPHER *c; > + AB_SSL_CIPHER_CONST SSL_CIPHER *c; > int alg_bits,bits; > =20 > c =3D SSL_get_current_cipher(ssl); > @@ -572,7 +574,7 @@ > if (verbosity >=3D 2) > ssl_print_info(c); > if (ssl_info =3D=3D NULL) { > - const SSL_CIPHER *ci; > + AB_SSL_CIPHER_CONST SSL_CIPHER *ci; > X509 *cert; > int sk_bits, pk_bits, swork; > =20