Opened 5 years ago

Closed 5 years ago

#6 closed defect (fixed)

Cannot build against Apache 2.4.4

Reported by: https://id.mayfirst.org/dkg Owned by: https://id.mayfirst.org/dkg
Priority: major Component: code
Version: 5.10 Keywords: apache
Cc:

Description

(imported from mantis, from trainboy)

Trying to build mod_gnutls under Apache 2.4.4. Here's what config thinks
I'm trying to build:

  Configuration summary for mod_gnutls:

     * mod_gnutls version: 0.5.10
     * Apache Modules directory: /usr/share/httpd-2.4/modules
     * GnuTLS Library version: 2.12.18
     * SRP Authentication: yes

Running make yields:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include
     -I /rpm/Apache/apr-1.4.6/include -I /rpm/Apache/apr-util-1.4.1/include
     -Wall -I/usr/local/include -DENABLE_SRP=1 -g -O2 -pthread -DLINUX=2
     -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
     -I/usr/share/httpd-2.4/include -g -O2
     -MT libmod_gnutls_la-gnutls_hooks.lo -MD -MP
     -MF .deps/libmod_gnutls_la-gnutls_hooks.Tpo -c gnutls_hooks.c
     -fPIC -DPIC -o .libs/libmod_gnutls_la-gnutls_hooks.o
gnutls_hooks.c: In function 'mgs_select_virtual_server_cb':
gnutls_hooks.c:184: warning: 'gnutls_certificate_type_set_priority' is
     deprecated (declared at /usr/local/include/gnutls/compat.h:349)
gnutls_hooks.c:189: warning: 'gnutls_certificate_type_set_priority' is
     deprecated (declared at /usr/local/include/gnutls/compat.h:349)
gnutls_hooks.c: In function 'mgs_hook_post_config':
gnutls_hooks.c:429: warning: 'gnutls_certificate_server_set_retrieve_function'
     is deprecated (declared at /usr/local/include/gnutls/compat.h:166)
gnutls_hooks.c: In function 'create_gnutls_handle':
gnutls_hooks.c:724: warning: 'gnutls_protocol_set_priority' is deprecated
     (declared at /usr/local/include/gnutls/compat.h:346)
gnutls_hooks.c: In function 'mgs_hook_pre_connection':
gnutls_hooks.c:753: error: 'conn_rec' has no member named 'remote_addr'
gnutls_hooks.c:753: error: 'conn_rec' has no member named 'remote_ip'
make[1]: *** [libmod_gnutls_la-gnutls_hooks.lo] Error 1
make[1]: Leaving directory `/rpm/Apache/mod_gnutls-0.5.10/src'
make: *** [all-recursive] Error 1

Looks like the Apache guys have broken one or two of the structures that you
depend upon.

Change History (1)

comment:1 Changed 5 years ago by https://id.mayfirst.org/dkg

  • Keywords apache added
  • Resolution set to fixed
  • Status changed from new to closed

dash wrote:

mod_gnutls code in trunk seems to compile ok with:

  • Apache 2.4.x
  • mod_gnutls version: 0.5.10
  • Apache Modules directory: /usr/local/apache2/modules
  • GnuTLS Library version: 3.1.1
  • SRP Authentication: yes
Note: See TracTickets for help on using tickets.