Problem with compiling in Gentoo

"aubergine" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <010301c738b9$4c69dd20$0200a8c0@da10>
Hi,
 
i have a problem with compiling mod_fastgci on Gentoo.
I have already compiled the newest apache2 webserver and php4 and php5 as
cgi-fcgi binarys.
 
The next step is to compile mod_fastgci but i cannt and dont know what to do
now :(
 
My Makefile looks like this:
 
sh-3.1$ cat Makefile
#
#  Makefile for Apache2
#
 
builddir     = .
 
top_dir      = /home/apache/apache2.2.4
 
top_srcdir   = ${top_dir}
top_builddir = ${top_dir}
 
include ${top_builddir}/build/special.mk
 
APXS      = /home/apache/apache2.2.4/bin/apxs
APACHECTL = /home/apache/apache2.2.4/bin/apachectl
 
#DEFS=-Dmy_define=my_value
 
INCLUDES=-I /home/apache/apache2.2.4 -I /usr/share/apr-0
 
#LIBS=-Lmy/lib/dir -lmylib
 
all: local-shared-build
 
install: install-modules
 
clean:
        -rm -f *.o *.lo *.slo *.la

 
And here is the Compiling Problem
 
sh-3.1$ make
/home/apache/apache2.2.4/build/libtool --silent --mode=compile gcc -g -O2
-pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I
/home/apache/apache2.2.4 -I /usr/share/apr-0
-I/home/apache/apache2.2.4/include -I.
-I/home/apache/httpd-2.2.4/srclib/apr/include
-I/home/apache/httpd-2.2.4/srclib/apr-util/include
-I/home/apache/httpd-2.2.4/include -prefer-pic -c mod_fastcgi.c && touch
mod_fastcgi.slo
mod_fastcgi.c: In function `init_module':
mod_fastcgi.c:271: error: `ap_null_cleanup' undeclared (first use in this
function)
mod_fastcgi.c:271: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:271: error: for each function it appears in.)
mod_fastcgi.c: In function `process_headers':
mod_fastcgi.c:726: warning: return makes pointer from integer without a cast
mod_fastcgi.c:730: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:740: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:769: warning: initialization makes pointer from integer
without a cast
mod_fastcgi.c:839: warning: return makes pointer from integer without a cast
mod_fastcgi.c:843: warning: return makes pointer from integer without a cast
mod_fastcgi.c: In function `set_uid_n_gid':
mod_fastcgi.c:1023: warning: passing arg 1 of `memcpy' makes pointer from
integer without a cast
mod_fastcgi.c:1025: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:1034: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:1035: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c: In function `do_work':
mod_fastcgi.c:2322: error: `ap_null_cleanup' undeclared (first use in this
function)
mod_fastcgi.c: In function `create_fcgi_request':
mod_fastcgi.c:2480: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2493: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c: In function `apache_is_scriptaliased':
mod_fastcgi.c:2535: warning: initialization makes pointer from integer
without a cast
mod_fastcgi.c: In function `post_process_for_redirects':
mod_fastcgi.c:2560: warning: passing arg 1 of `ap_internal_redirect_handler'
makes pointer from integer without a cast
mod_fastcgi.c: In function `check_user_authentication':
mod_fastcgi.c:2683: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2701: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_user_authorization':
mod_fastcgi.c:2750: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2766: warning: comparison between pointer and integer
mod_fastcgi.c: In function `check_access':
mod_fastcgi.c:2810: warning: assignment makes pointer from integer without a
cast
mod_fastcgi.c:2827: warning: comparison between pointer and integer
make: *** [mod_fastcgi.slo] Error 1

 
I changed the Makefile several times but it doesnt work anyway, its always
the same error.
 
It would be cool if someone out there maight help me.
 
 
Regards
 
 
Dominik Heeg
 
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.10/626 - Release Date: 14.01.2007
20:29

___________________________________
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.