Re: How can I be getting compilation errors already?
"D. Alvarado" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for this reply but the top result http://www.fastcgi.com/archives/fastcgi-developers/2005-December/004060.html refers to a "patch" but I don't understand where that is installed or what file I need to copy and paste this text into. I'm still weary about whether this is the right thing to do. I'm very new to Linux/Apache and there may be unspoken implications of the above that I'm not aware of yet. Thanks for your help, - On 1/23/07, Divák Ádám <[email protected]> wrote: > D. Alvarado wrote: > > Hi, > > > > I'm using Fedora Core 5 Linux on an x86 machine. I also have Apache > > 2.2 installed. I just downloaded mod_fastcgi-2.4.2.tar.gz, unzipped, > > configured, but when I tried to make (following the copy instruction) > > I got errors. What am I doing wrong? Below are the steps I followed > > ... > > > > [root@localhost src]# wget http://fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz > > [root@localhost src]# tar xvzf mod_fastcgi-2.4.2.tar.gz > > [root@localhost src]# cd mod_fastcgi-2.4.2 > > [root@localhost mod_fastcgi-2.4.2]# cp Makefile.AP2 Makefile > > [root@localhost mod_fastcgi-2.4.2]# 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/apache2/include -I. -I/usr/include/apr-1 -I/usr/include > > -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: 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 > > > > Please let me know what other information I can include to fix this > > problem. Thanks, - Dave > > ___________________________________ > > fastcgi-developers mailing list > > http://fastcgi.com/fastcgi-developers/ > > > If i were you, i'd try googling for "apache 2.2 fastcgi". the solution > lies there. > good luck > ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/