It seems nghttp2 1.2.1 is no longer supported? If we are missing an
#include,
let's fix, and if we want to drop support, that's fine too, but ./configure
needs
to reject the invalid version of nghttp2. This is the version shipping on
FC22...
nghttp2.x86_64 1.2.1-1.fc22
checking for nghttp2... checking for user-provided nghttp2 base
directory... none
checking for pkg-config along ... setting MOD_CFLAGS to ""
setting ab_CFLAGS to ""
setting MOD_LDFLAGS to ""
setting MOD_LDFLAGS to ""
checking for nghttp2 version >= 1.0.0... OK
setting MOD_LDFLAGS to "-lnghttp2 -luuid -lrt -lcrypt -lpthread -ldl"
setting LIBS to "-lnghttp2 -luuid -lrt -lcrypt -lpthread -ldl"
forcing ab_LDFLAGS to "-lnghttp2 -luuid -lrt -lcrypt -lpthread -ldl"
checking nghttp2/nghttp2.h usability... yes
checking nghttp2/nghttp2.h presence... yes
checking for nghttp2/nghttp2.h... yes
checking for nghttp2_session_server_new2... yes
checking for nghttp2_session_change_stream_priority... no
yes
setting MOD_HTTP2_LDADD to "-export-symbols-regex http2_module"
checking whether to enable mod_http2... shared (all)
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:104:31: error: unknown
type name 'nghttp2_stream'
static int spri_cmp(int sid1, nghttp2_stream *s1,
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:105:31: error: unknown
type name 'nghttp2_stream'
int sid2, nghttp2_stream *s2, h2_session *session)
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c: In function
'stream_pri_cmp':
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:133:5: error: unknown
type name 'nghttp2_stream'
nghttp2_stream *s1, *s2;
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:135:10: warning:
implicit declaration of function 'nghttp2_session_find_stream'
[-Wimplicit-function-declaration]
s1 = nghttp2_session_find_stream(session->ngh2, sid1);
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:135:8: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
s1 = nghttp2_session_find_stream(session->ngh2, sid1);
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:136:8: warning:
assignment makes pointer from integer without a cast [-Wint-conversion]
s2 = nghttp2_session_find_stream(session->ngh2, sid2);
^
/home/wrowe/dev/httpd-2.4/modules/http2/h2_session.c:147:12: warning:
implicit declaration of function 'spri_cmp'
[-Wimplicit-function-declaration]
return spri_cmp(sid1, s1, sid2, s2, session);
^
/home/wrowe/dev/build/httpd24-apr15-ossl102/build/rules.mk:212: recipe for
target 'h2_session.slo' failed