[
https://issues.jboss.org/browse/MODCLUSTER-304?page=com.atlassian.jira.pl...
]
Marek Goldmann commented on MODCLUSTER-304:
-------------------------------------------
Build log:
{code}
DEBUG: + sh buildconf
DEBUG: Creating configure ...
DEBUG: + ./configure --libdir=/usr/lib64 --with-apxs=/usr/bin/apxs
DEBUG: checking for Apache httpd installation... APXS is /usr/bin/apxs
DEBUG: apxs_support is true
DEBUG: configure: creating ./config.status
DEBUG: config.status: creating Makefile
DEBUG: + make -j4
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c mod_advertise.c && touch
mod_advertise.slo
DEBUG: mod_advertise.c: In function 'post_config_hook':
DEBUG: mod_advertise.c:680:5: warning: implicit declaration of function 'getpid'
[-Wimplicit-function-declaration]
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -Wl,-z,relro,-z,now -o mod_advertise.la -rpath
/usr/lib64/httpd/modules -module -avoid-version mod_advertise.lo
DEBUG: /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool
--silent' mod_advertise.la `pwd`
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_advertise.la
/builddir/build/BUILD/mod_cluster-1.1.1.Final-src-ssl/srclib/mod_cluster/native/advertise/
DEBUG: libtool: install: warning: remember to run `libtool --finish
/usr/lib64/httpd/modules'
DEBUG: + popd
DEBUG: ~/build/BUILD/mod_cluster-1.1.1.Final-src-ssl
DEBUG: + for dir in '${module_dirs[@]}'
DEBUG: + pushd srclib/mod_cluster/native/mod_manager
DEBUG: ~/build/BUILD/mod_cluster-1.1.1.Final-src-ssl/srclib/mod_cluster/native/mod_manager
~/build/BUILD/mod_cluster-1.1.1.Final-src-ssl
DEBUG: + sh buildconf
DEBUG: Creating configure ...
DEBUG: + ./configure --libdir=/usr/lib64 --with-apxs=/usr/bin/apxs
DEBUG: checking for Apache httpd installation... APXS is /usr/bin/apxs
DEBUG: apxs_support is true
DEBUG: configure: creating ./config.status
DEBUG: config.status: creating Makefile
DEBUG: + make -j4
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c mod_manager.c && touch
mod_manager.slo
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c node.c && touch node.slo
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c context.c && touch context.slo
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c host.c && touch host.slo
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c balancer.c && touch balancer.slo
DEBUG: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -pthread -I/usr/include/libxml2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I.
-I/usr/include/apr-1 -I../include -prefer-pic -c sessionid.c && touch
sessionid.slo
DEBUG: In file included from mod_manager.c:48:0:
DEBUG: ../include/node.h:155:61: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:48:0:
DEBUG: ../include/node.h:164:77: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:49:0:
DEBUG: ../include/host.h:116:61: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:49:0:
DEBUG: ../include/host.h:125:77: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:50:0:
DEBUG: ../include/context.h:124:64: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:50:0:
DEBUG: ../include/context.h:133:80: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:51:0:
DEBUG: ../include/balancer.h:121:65: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:51:0:
DEBUG: ../include/balancer.h:130:81: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:52:0:
DEBUG: ../include/sessionid.h:115:66: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:52:0:
DEBUG: ../include/sessionid.h:124:82: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:53:0:
DEBUG: ../include/domain.h:125:63: error: unknown type name
'slotmem_storage_method'
DEBUG: In file included from mod_manager.c:53:0:
DEBUG: ../include/domain.h:134:79: error: unknown type name
'slotmem_storage_method'
DEBUG: mod_manager.c:111:1: error: unknown type name 'slotmem_storage_method'
DEBUG: mod_manager.c: In function 'manager_init':
DEBUG: mod_manager.c:470:34: error: 'SLOTMEM_STORAGE' undeclared (first use in
this function)
DEBUG: mod_manager.c:470:34: note: each undeclared identifier is reported only once for
each function it appears in
DEBUG: mod_manager.c:475:5: warning: implicit declaration of function
'create_mem_node' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:475:18: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c:481:5: warning: implicit declaration of function
'create_mem_context' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:481:21: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c:487:5: warning: implicit declaration of function
'create_mem_host' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:487:18: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c:493:5: warning: implicit declaration of function
'create_mem_balancer' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:493:22: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c:499:5: warning: implicit declaration of function
'create_mem_sessionid' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:499:23: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c:505:5: warning: implicit declaration of function
'create_mem_domain' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:505:20: warning: assignment makes pointer from integer without a cast
[enabled by default]
DEBUG: mod_manager.c: In function 'process_info':
DEBUG: mod_manager.c:1005:9: error: unknown type name 'proxy_worker_stat'
DEBUG: mod_manager.c:1033:22: error: 'proxy_worker_stat' undeclared (first use in
this function)
DEBUG: mod_manager.c:1033:41: error: expected expression before ')' token
DEBUG: mod_manager.c:1035:35: error: request for member 'elected' in something not
a structure or union
DEBUG: mod_manager.c:1035:61: error: request for member 'read' in something not a
structure or union
DEBUG: mod_manager.c:1035:84: error: request for member 'transferred' in something
not a structure or union
DEBUG: mod_manager.c:1036:35: error: request for member 'busy' in something not a
structure or union
DEBUG: mod_manager.c:1036:52: error: request for member 'lbfactor' in something
not a structure or union
DEBUG: mod_manager.c: In function 'process_status':
DEBUG: mod_manager.c:1386:9: error: 'ap_my_generation' undeclared (first use in
this function)
DEBUG: mod_manager.c: In function 'process_ping':
DEBUG: mod_manager.c:1475:9: error: 'ap_my_generation' undeclared (first use in
this function)
DEBUG: mod_manager.c: At top level:
DEBUG: mod_manager.c:1910:65: error: unknown type name 'proxy_worker_stat'
DEBUG: mod_manager.c: In function 'manager_info':
DEBUG: mod_manager.c:2159:13: warning: implicit declaration of function
'printproxy_stat' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2159:56: error: 'proxy_worker_stat' undeclared (first use in
this function)
DEBUG: mod_manager.c:2159:75: error: expected expression before ')' token
DEBUG: mod_manager.c:2187:75: error: expected expression before ')' token
DEBUG: mod_manager.c: In function 'manager_child_init':
DEBUG: mod_manager.c:2333:5: warning: implicit declaration of function
'get_mem_node' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2333:18: warning: assignment makes pointer from integer without a
cast [enabled by default]
DEBUG: mod_manager.c:2339:5: warning: implicit declaration of function
'get_mem_context' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2339:21: warning: assignment makes pointer from integer without a
cast [enabled by default]
DEBUG: mod_manager.c:2345:5: warning: implicit declaration of function
'get_mem_host' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2345:18: warning: assignment makes pointer from integer without a
cast [enabled by default]
DEBUG: mod_manager.c:2351:5: warning: implicit declaration of function
'get_mem_balancer' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2351:22: warning: assignment makes pointer from integer without a
cast [enabled by default]
DEBUG: mod_manager.c:2357:5: warning: implicit declaration of function
'get_mem_sessionid' [-Wimplicit-function-declaration]
DEBUG: mod_manager.c:2357:23: warning: assignment makes pointer from integer without a
cast [enabled by default]
DEBUG: mod_manager.c: In function 'cmd_manager_pers':
DEBUG: mod_manager.c:2411:28: error: 'CREPER_SLOTMEM' undeclared (first use in
this function)
DEBUG: make: *** [mod_manager.slo] Error 1
DEBUG: make: *** Waiting for unfinished jobs....
{code}
Port to httpd 2.4
-----------------
Key: MODCLUSTER-304
URL:
https://issues.jboss.org/browse/MODCLUSTER-304
Project: mod_cluster
Issue Type: Enhancement
Affects Versions: 1.1.1.Final
Reporter: Marek Goldmann
Assignee: Jean-Frederic Clere
Fedora Rawhide (upcoming Fedora 18) switched to HTTPD 2.4. Mod_cluster fails to build
against httpd 2.4.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira