FC5 - mod_fastcgi 2.4.2 compilation errors

Paul Howarth paul at city-fan.org
Thu Mar 30 06:52:07 UTC 2006


On Wed, 2006-03-29 at 17:42 -0500, Ronald Nissley wrote:
> I’m trying to compile mod_fastcgi 2.4.2 on an FC5 box, and get:
> 
>  
> 
> /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2
> -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE    -I/usr/include/httpd -I. -I/usr/include/apr-1
> -I/usr/kerberos/include -prefer-pic -c mod_fastcgi.c && touch
> mod_fastcgi.slo
> 
> mod_fastcgi.c: In function 'init_module':
> 
> mod_fastcgi.c:270: warning: implicit declaration of function
> 'ap_register_cleanup'
> 


mod_fastcgi is written using some deprecated symbol names that have gone in Apache httpd 2.2. The workaround is to apply a patch that defines the symbols as they were for httpd 2.0.

A mod_fastcgi RPM for FC4 and FC5 can be found here:

http://www.city-fan.org/ftp/contrib/websrv/

Paul.




More information about the fedora-list mailing list