Results 1 to 3 of 3
Hi,
I'm relatively newb, so my Linux problem solving skills are somewhat limited ;P. I'd greatly appreciate it if you could take a look at my output (below) and give ...
- 04-12-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 1
'Error 1' during `make` for Mod FastCGI?
Hi,
I'm relatively newb, so my Linux problem solving skills are somewhat limited ;P. I'd greatly appreciate it if you could take a look at my output (below) and give me some guidence on how I might go about overcoming my problem
?
Here's the output:
Thanks in advance,Code:[root@ethereal mod_fastcgi-2.4.2]# make /usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/apache2/include -I. -I/httpd-2.2.0/srclib/apr/include -I/httpd-2.2.0/srclib/apr-util/include -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 cast mod_fastcgi.c:739: warning: assignment makes pointer from integer without a cast mod_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 mod_fastcgi.c: In function 'set_uid_n_gid': mod_fastcgi.c:1022: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast mod_fastcgi.c:1024: warning: assignment makes pointer from integer without a cast mod_fastcgi.c:1033: 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: In function 'do_work': mod_fastcgi.c:2321: error: 'ap_null_cleanup' undeclared (first use in this function) mod_fastcgi.c: In function 'create_fcgi_request': mod_fastcgi.c:2479: warning: assignment makes pointer from integer without a cast mod_fastcgi.c:2492: warning: assignment makes pointer from integer without a cast mod_fastcgi.c: In function 'apache_is_scriptaliased': mod_fastcgi.c:2534: warning: initialization makes pointer from integer without a cast mod_fastcgi.c: In function 'post_process_for_redirects': mod_fastcgi.c:2559: warning: passing argument 1 of 'ap_internal_redirect_handler' makes pointer from integer without a cast mod_fastcgi.c: In function 'check_user_authentication': mod_fastcgi.c:2682: warning: assignment makes pointer from integer without a cast mod_fastcgi.c:2700: warning: comparison between pointer and integer mod_fastcgi.c: In function 'check_user_authorization': 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
James
- 11-11-2006 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 1
it's late but maybe you're still stumped
http://www.fastcgi.com/archives/fast...er/004060.html
go there, copy everything from the 'diff' line to the line after 'clean' to a file, go to your mod_fastcgi-2.4.2 directory and run patch -p1 < *your file name*
- 11-21-2006 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
Not too late to potentially help someone else who's just hit the same brick wall!
Only problem is, I now get :
nebula:/usr/src/mod_fastcgi-2.4.2# patch -p1 < apache2.2patch.sc
patching file fcgi.h
patch: **** malformed patch at line 12: +#ifndef ap_copy_table
gutted.


Reply With Quote
