You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/01/07 10:17:18 UTC
[Bug 65793] New: mod_ssl.c:498: error: structure has no member named `outgoing'
https://bz.apache.org/bugzilla/show_bug.cgi?id=65793
Bug ID: 65793
Summary: mod_ssl.c:498: error: structure has no member named
`outgoing'
Product: Apache httpd-2
Version: 2.4.52
Hardware: Sun
OS: Solaris
Status: NEW
Severity: regression
Priority: P2
Component: Build
Assignee: bugs@httpd.apache.org
Reporter: ran.mozes@oracle.com
Target Milestone: ---
When trying to build 2.4.52 on Solaris 10 sparc and x86 architectures,
gcc version gcc version 3.4.3 with the configuration
./configure --prefix=/var/opt/sun/xvm/uce/opt/server --disable-proxy_express
--disable-proxy_balancer --enable-deflate=static --enable-cgi=static
--enable-dir=static --enable-ssl=static --enable-pcre=static
--enable-unixd=static --enable-alias=static --enable-setenvif=static
--enable-log-config=static --enable-deflate=static --enable-filter=static
--enable-socache-dbm=static --enable-mime=static --enable-authz-core=static
--enable-authz-host=static --enable-proxy=static --enable-proxy-http=static
--enable-rewrite=static --enable-headers=static --enable-cache=static
--enable-cache-disk=static --enable-dav=static --enable-autoindex=static
--enable-reqtimeout=static --enable-mime_magic=static --with-mpm=prefork
--with-ssl=/var/opt/sun/xvm/uce/opt/server/
--with-module=sigvalidate:/var/tmp/rmozes/apache_upgrade_2.4.52/mod_sigvalidate.c
--with-included-apr --with-pcre=/var/opt/sun/xvm/uce/opt/server
--with-zlib=/var/opt/sun/xvm/uce/opt/server
the following errors show up:
Making all in ssl
/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/srclib/apr/libtool --silent
--mode=compile gcc -std=gnu99 -I/var/opt/sun/xvm/uce/opt/server/include -g -O2
-DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-I. -I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/os/unix
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/include
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/srclib/apr/include
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/srclib/apr-util/include
-I/usr/sfw//include -I/var/opt/sun/xvm/uce/opt/server/include
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/aaa
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/cache
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/core
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/database
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/filters
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/ldap
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/loggers
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/lua
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/proxy
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/http2
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/session
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/ssl
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/test
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/server
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/md
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/arch/unix
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/dav/main
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/generators
-I/var/tmp/rmozes/apache_upgrade_2.4.52/httpd-2.4.52/modules/mappers
-prefer-non-pic -static -c mod_ssl.c && touch mod_ssl.lo
mod_ssl.c: In function `ssl_init_connection_ctx':
mod_ssl.c:498: error: structure has no member named `outgoing'
mod_ssl.c: In function `ssl_engine_status':
mod_ssl.c:522: error: structure has no member named `outgoing'
mod_ssl.c:536: error: structure has no member named `outgoing'
mod_ssl.c: In function `ssl_init_ssl_connection':
mod_ssl.c:592: error: structure has no member named `outgoing'
mod_ssl.c:594: error: structure has no member named `outgoing'
mod_ssl.c:612: error: structure has no member named `outgoing'
mod_ssl.c: In function `ssl_register_hooks':
mod_ssl.c:744: warning: implicit declaration of function
`ap_hook_ssl_bind_outgoing'
*** Error code 1
make: Fatal error: Command failed for target `mod_ssl.lo'
I had no issues to compile 2.4.48 on the same machines before (same tools and
env) and I suspect this has to do with the following change introduced in
2.4.49:
*) core/mod_proxy/mod_ssl:
Adding `outgoing` flag to conn_rec, indicating a connection is
initiated by the server to somewhere, in contrast to incoming
connections from clients.
Adding 'ap_ssl_bind_outgoing()` function that marks a connection
as outgoing and is used by mod_proxy instead of the previous
optional function `ssl_engine_set`. This enables other SSL
module to secure proxy connections.
The optional functions `ssl_engine_set`, `ssl_engine_disable` and
`ssl_proxy_enable` are now provided by the core to have backward
compatibility with non-httpd modules that might use them. mod_ssl
itself no longer registers these functions, but keeps them in its
header for backward compatibility.
The core provided optional function wrap any registered function
like it was done for `ssl_is_ssl`.
[Stefan Eissing]
Please advise if this is a regression bug or something else
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65793] mod_ssl.c:498: error: structure has no member named `outgoing'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65793
--- Comment #1 from Stefan Eissing <ic...@apache.org> ---
I think your build picks up an older httpd.h header file. "outgoing" is a new
member in conn_rec.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65793] mod_ssl.c:498: error: structure has no member named `outgoing'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65793
ran.mozes@oracle.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ran.mozes@oracle.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 65793] mod_ssl.c:498: error: structure has no member named `outgoing'
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65793
ran.mozes@oracle.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CLOSED
--- Comment #2 from ran.mozes@oracle.com ---
thanks for the quick reply! Found the issue. You were right!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org