[FASTCGI] fcgi_config.slo error in 'make'

Dan StCyr - StreamFoundry d.stcyr at streamfoundry.com
Wed May 20 14:50:12 EDT 2009


Hello: I have the following problem trying to install mod_fastcgi-2.4.6 on
Apache2 running under Suse Linux Enterprise Server 10.  Using instructions
in INSTALL.AP2, after changing top_dir to /usr/share/apache2 in
Makefile.AP2, getting an error in the make as follows.  Help/suggestions
would be appreciated.

 

# cd /home/dstcyr/mod_fastcgi-2.4.6

# cp Makefile.AP2 Makefile

# make

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c mod_fastcgi.c && touch mod_fastcgi.slo

mod_fastcgi.c: In function create_fcgi_request:

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

mod_fastcgi.c:2487: warning: passing argument 1 of ap_strrchr discards
qualifiers from pointer target type

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c fcgi_pm.c && touch fcgi_pm.slo

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c fcgi_util.c && touch fcgi_util.slo

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c fcgi_protocol.c && touch fcgi_protocol.slo

fcgi_protocol.c: In function fcgi_protocol_dequeue:

fcgi_protocol.c:449: warning: format %d expects type int, but argument 9 has
type long unsigned int

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c fcgi_buf.c && touch fcgi_buf.slo

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
-fmessage-length=0 -Wall -g -fPIC -Wall -fno-strict-aliasing
-DLDAP_DEPRECATED  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG
-DSSL_EXPERIMENTAL_ENGINE -DMAX_SERVER_LIMIT=200000 -DLDAP_DEPRECATED
-I/usr/include/apache2 -I. -I/usr/include -I/usr/include/apr-1 -prefer-pic
-c fcgi_config.c && touch fcgi_config.slo

In file included from fcgi_config.c:11:

/usr/include/apache2/mpm_common.h:46:17: error: mpm.h: No such file or
directory

fcgi_config.c: In function get_host_n_port:

fcgi_config.c:43: warning: passing argument 1 of ap_strchr discards
qualifiers from pointer target type

fcgi_config.c: In function fcgi_config_new_static_server:

fcgi_config.c:769: warning: format %ld expects type long int, but argument 3
has type gid_t

fcgi_config.c:774: warning: format %ld expects type long int, but argument 3
has type uid_t

fcgi_config.c: In function fcgi_config_new_external_server:

fcgi_config.c:962: warning: format %ld expects type long int, but argument 3
has type gid_t

fcgi_config.c:967: warning: format %ld expects type long int, but argument 3
has type uid_t

fcgi_config.c: In function fcgi_config_new_auth_server:

fcgi_config.c:1207: warning: cast from pointer to integer of different size

make: *** [fcgi_config.slo] Error 1

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090520/92c26d71/attachment.html>


More information about the FastCGI-developers mailing list