Re: Why can't I compile mod_fastcgi ??

"Grosman, Mikhail" <MGrosman-CXq/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <10CE428383146642B1000C1EB8A8E1E782AF33@ex01-thn.office.epsiloninteractive.com>
 Apache changed the names of apr functions in 2.2 compared to 2.0. I saw
a patch somewhere that addresses that problem so mod_fastcgi could
compile.



-----Original Message-----
From:
fastcgi-developers-bounces+mgrosman=epsiloninteractive.com-xGejAJT2w6z22ue2IjjDuw@public.gmane.org
ea.net
[mailto:fastcgi-developers-bounces+mgrosman=epsiloninteractive.com@mailm
an.chelsea.net] On Behalf Of Bob Marcum
Sent: Wednesday, October 04, 2006 8:38 AM
To: fastcgi-developers-xGejAJT2w6yOE5Ap4OspEtHuzzzSOjJt@public.gmane.org
Subject: [FASTCGI] Why can't I compile mod_fastcgi ??

Using Fedora Core 5.  Downloaded mod_fastcgi-2.4.2.tar.gz; unpacked;
copied Makefile.AP2 to be Makefile (using httpd-2.2.2); edited the
Makefile to reflect the correct path to httpd-2.2.2; executed 'make' ...
get these errors:

# make
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-I/usr/local/Apache.org/apacheWebServer/httpd-2.2.2/include -I.
-I/usr/include/apr-1 -prefer-pic -c mod_fastcgi.c && touch
mod_fastcgi.slo
mod_fastcgi.c: In function 'init_module':
mod_fastcgi.c:270: error: 'ap_null_cleanup' undeclared (first use in
this function)
mod_fastcgi.c:270: error: (Each undeclared identifier is reported only
once
mod_fastcgi.c:270: error: for each function it appears in.)
mod_fastcgi.c: In function 'process_headers':
mod_fastcgi.c:725: warning: return makes pointer from integer without a
cast
mod_fastcgi.c:729: warning: assignment makes pointer from integer
without a castmod_fastcgi.c:739: warning: assignment makes pointer from
integer without a castmod_fastcgi.c:768: warning: initialization makes
pointer from integer without a cast
mod_fastcgi.c:838: warning: return makes pointer from integer without a
cast
mod_fastcgi.c:842: warning: return makes pointer from integer without a
cast

... and a whole bunch more!

mod_fastcgi.c:2749: warning: assignment makes pointer from integer
without a cast
mod_fastcgi.c:2765: warning: comparison between pointer and integer
mod_fastcgi.c: In function 'check_access':
mod_fastcgi.c:2809: warning: assignment makes pointer from integer
without a cast
mod_fastcgi.c:2826: warning: comparison between pointer and integer
make: *** [mod_fastcgi.slo] Error 1


Whas' hoppening ??

Thanks.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.