Make fastCGI error, help ah

Mod_fastcgi.c:2867:9: error: request members in non structure or union'log'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'server'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'log'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'log'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'server'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'log'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'log'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'connection'
Mod_fastcgi.c:2867:9: error: request members in non structure or union'server'
Warning mod_fastcgi.c:2867:9:: 'ap_log_rerror_' pass fifth parameters to assign pointers to integers, no type conversion [enabled by default.
/usr/local/apache/include/Http_log.h:456:18: note: type 'apr_status_t', but the argument types for'struct request_rec *'
Warning mod_fastcgi.c:2867:9: 'ap_log_rerror_': transfer sixth parameters in the pointer incompatible type conversion [enabled by default.
/usr/local/apache/include/Http_log.h:456:18: note: type 'const struct request_rec', but the argument types for'char *'
Mod_fastcgi.c:2867:9: warning: argument format string is not a literal string and not to be formatted [-Wformat-security]
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'server'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'server'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'server'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'log'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'connection'
Mod_fastcgi.c:2881:5: error: request members in non structure or union'server'
Warning mod_fastcgi.c:2881:5:: 'ap_log_rerror_' pass fifth parameters to assign pointers to integers, no type conversion [enabled by default.
/usr/local/apache/include/Http_log.h:456:18: note: type 'apr_status_t', but the argument types for'struct request_rec *'
Warning mod_fastcgi.c:2881:5: 'ap_log_rerror_': transfer sixth parameters in the pointer incompatible type conversion [enabled by default.
/usr/local/apache/include/Http_log.h:456:18: note: type 'const struct request_rec', but the argument types for'char *'
Mod_fastcgi.c:2881:5: warning: argument format string is not a literal string and not to be formatted [-Wformat-security]
make: *** [mod_fastcgi.slo] Error 1


Environmental Science
ubuntu 12.04 LTS
apache 2.4.2
mod_fastcgi 2.4.6

Started by Ella at November 13, 2016 - 12:33 AM

I also encountered this problem, you solve no?

Posted by Darcy at November 22, 2016 - 1:10 AM

The problem has been resolved, installation of apache2.4 mod_fastcgi 2.4.6, need to patch, specific methods are as follows:
(1)Download the patch file



(2) cd /root/Mod_fastcgi-2.4.6 and upload the diff file to the directory patch

(3) Then patch -p1 <byte-compile-against-apache24.diff

(4)Note that the path to modify Makefile.AP2 Makefile and modify the Apache (top_dir) as the path of Apache subordinate.

Modify the configuration is as follows:

top_dir = /home/nemo/apache2.4

APXS = /home/nemo/apache2.4/bin/apxs
APACHECTL = /home/nemo/apache2.4/bin/apachectl


(5) Finally, make & & make install compiler mod_fastcgi, then add module to Apache in the conf file.

Posted by Darcy at December 06, 2016 - 1:32 AM