FastCGI Installation Query

View: New views
5 Messages — Rating Filter:   Alert me  

FastCGI Installation Query

by Souvik Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

   I am getting the following installation error while
installing FastCGI ver 2.4.0 or 2.4.2. Can somebody
please help ?

Regards
Souvik

[root@ijsasic2 mod_fastcgi-2.4.0]# 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/root/httpd-2.2.3/srclib/apr/include
-I/root/httpd-2.2.3/srclib/apr-util/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: `ap_null_cleanup' undeclared (first
use in this function)
mod_fastcgi.c:270: (Each undeclared identifier is
reported only once
mod_fastcgi.c:270: 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:833: warning: return makes pointer from
integer without a cast
mod_fastcgi.c:837: warning: return makes pointer from
integer without a cast
mod_fastcgi.c: In function `set_uid_n_gid':
mod_fastcgi.c:1017: warning: passing arg 1 of `memcpy'
makes pointer from integer without a cast
mod_fastcgi.c:1019: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:1028: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:1029: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c: In function `do_work':
mod_fastcgi.c:2292: `ap_null_cleanup' undeclared
(first use in this function)
mod_fastcgi.c: In function `create_fcgi_request':
mod_fastcgi.c:2457: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:2470: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c: In function `apache_is_scriptaliased':
mod_fastcgi.c:2510: warning: initialization makes
pointer from integer without a cast
mod_fastcgi.c: In function
`post_process_for_redirects':
mod_fastcgi.c:2535: 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:2650: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:2668: warning: comparison between
pointer and integer
mod_fastcgi.c: In function `check_user_authorization':
mod_fastcgi.c:2714: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:2730: warning: comparison between
pointer and integer
mod_fastcgi.c: In function `check_access':
mod_fastcgi.c:2771: warning: assignment makes pointer
from integer without a cast
mod_fastcgi.c:2788: warning: comparison between
pointer and integer
make: *** [mod_fastcgi.slo] Error 1
[root@ijsasic2 mod_fastcgi-2.4.0]#


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

Re: FastCGI Installation Query

by Divák Ádám-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Souvik Basu wrote:

> Hi All,
>
>    I am getting the following installation error while
> installing FastCGI ver 2.4.0 or 2.4.2. Can somebody
> please help ?
>
> Regards
> Souvik
>
> [root@ijsasic2 mod_fastcgi-2.4.0]# 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/root/httpd-2.2.3/srclib/apr/include
> -I/root/httpd-2.2.3/srclib/apr-util/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: `ap_null_cleanup' undeclared (first
> use in this function)
> mod_fastcgi.c:270: (Each undeclared identifier is
> reported only once
> mod_fastcgi.c:270: 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:833: warning: return makes pointer from
> integer without a cast
> mod_fastcgi.c:837: warning: return makes pointer from
> integer without a cast
> mod_fastcgi.c: In function `set_uid_n_gid':
> mod_fastcgi.c:1017: warning: passing arg 1 of `memcpy'
> makes pointer from integer without a cast
> mod_fastcgi.c:1019: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:1028: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:1029: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c: In function `do_work':
> mod_fastcgi.c:2292: `ap_null_cleanup' undeclared
> (first use in this function)
> mod_fastcgi.c: In function `create_fcgi_request':
> mod_fastcgi.c:2457: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:2470: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c: In function `apache_is_scriptaliased':
> mod_fastcgi.c:2510: warning: initialization makes
> pointer from integer without a cast
> mod_fastcgi.c: In function
> `post_process_for_redirects':
> mod_fastcgi.c:2535: 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:2650: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:2668: warning: comparison between
> pointer and integer
> mod_fastcgi.c: In function `check_user_authorization':
> mod_fastcgi.c:2714: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:2730: warning: comparison between
> pointer and integer
> mod_fastcgi.c: In function `check_access':
> mod_fastcgi.c:2771: warning: assignment makes pointer
> from integer without a cast
> mod_fastcgi.c:2788: warning: comparison between
> pointer and integer
> make: *** [mod_fastcgi.slo] Error 1
> [root@ijsasic2 mod_fastcgi-2.4.0]#
>  
And I'm sure you use apache 2.2. please look back the last thread on the
list (or google
for fastcgi and apache2.2 and look for the patch).
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

Re: FastCGI Installation Query

by Souvik Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Divak,

   thanks for the reply. I checked and found I am
using Apache 2.2.3 and latest versions of FastCGI.
What may be the other reasons ? What is the header
file/library from which "ap_null_cleanup" function is
declared ?

Regards
Souvik



--- Divák Ádám <divak.adam@...> wrote:

> Souvik Basu wrote:
> > Hi All,
> >
> >    I am getting the following installation error
> while
> > installing FastCGI ver 2.4.0 or 2.4.2. Can
> somebody
> > please help ?
> >
> > Regards
> > Souvik
> >
> > [root@ijsasic2 mod_fastcgi-2.4.0]# 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/root/httpd-2.2.3/srclib/apr/include
> > -I/root/httpd-2.2.3/srclib/apr-util/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: `ap_null_cleanup' undeclared
> (first
> > use in this function)
> > mod_fastcgi.c:270: (Each undeclared identifier is
> > reported only once
> > mod_fastcgi.c:270: 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:833: warning: return makes pointer
> from
> > integer without a cast
> > mod_fastcgi.c:837: warning: return makes pointer
> from
> > integer without a cast
> > mod_fastcgi.c: In function `set_uid_n_gid':
> > mod_fastcgi.c:1017: warning: passing arg 1 of
> `memcpy'
> > makes pointer from integer without a cast
> > mod_fastcgi.c:1019: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:1028: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:1029: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c: In function `do_work':
> > mod_fastcgi.c:2292: `ap_null_cleanup' undeclared
> > (first use in this function)
> > mod_fastcgi.c: In function `create_fcgi_request':
> > mod_fastcgi.c:2457: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:2470: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c: In function
> `apache_is_scriptaliased':
> > mod_fastcgi.c:2510: warning: initialization makes
> > pointer from integer without a cast
> > mod_fastcgi.c: In function
> > `post_process_for_redirects':
> > mod_fastcgi.c:2535: 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:2650: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:2668: warning: comparison between
> > pointer and integer
> > mod_fastcgi.c: In function
> `check_user_authorization':
> > mod_fastcgi.c:2714: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:2730: warning: comparison between
> > pointer and integer
> > mod_fastcgi.c: In function `check_access':
> > mod_fastcgi.c:2771: warning: assignment makes
> pointer
> > from integer without a cast
> > mod_fastcgi.c:2788: warning: comparison between
> > pointer and integer
> > make: *** [mod_fastcgi.slo] Error 1
> > [root@ijsasic2 mod_fastcgi-2.4.0]#
> >  
> And I'm sure you use apache 2.2. please look back
> the last thread on the
> list (or google
> for fastcgi and apache2.2 and look for the patch).
>



 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

Re: FastCGI Installation Query

by Divák Ádám-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Souvik Basu wrote:

> Hi Divak,
>
>    thanks for the reply. I checked and found I am
> using Apache 2.2.3 and latest versions of FastCGI.
> What may be the other reasons ? What is the header
> file/library from which "ap_null_cleanup" function is
> declared ?
>
> Regards
> Souvik
>
>
>
> --- Divák Ádám <divak.adam@...> wrote:
>
> > Souvik Basu wrote:
> > > Hi All,
> > >
> > >    I am getting the following installation error
> > while
> > > installing FastCGI ver 2.4.0 or 2.4.2. Can
> > somebody
> > > please help ?
> > >
> > > Regards
> > > Souvik
> > >
> > > [root@ijsasic2 mod_fastcgi-2.4.0]# make
> ...
> > > [root@ijsasic2 mod_fastcgi-2.4.0]#
> > >  
> > And I'm sure you use apache 2.2. please look back
> > the last thread on the
> > list (or google
> > for fastcgi and apache2.2 and look for the patch).
> >
>  
I like helping people as long as they do something for their own good.
(0. please don't top-post)
1. Please re-read my previous post.
2. Do what I've written there and find this post eg.
http://www.fastcgi.com/archives/fastcgi-developers/2006-October/004557.html
http://article.gmane.org/gmane.comp.web.fastcgi.devel/2179
3. make the three easy steps there and have fun with apache

cheers
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

Re: FastCGI Installation Query

by Souvik Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great Divak,

      it is working now... Thanks a lot.

Souvik



--- Divák Ádám <divak.adam@...> wrote:

> Souvik Basu wrote:
> > Hi Divak,
> >
> >    thanks for the reply. I checked and found I am
> > using Apache 2.2.3 and latest versions of FastCGI.
> > What may be the other reasons ? What is the header
> > file/library from which "ap_null_cleanup" function
> is
> > declared ?
> >
> > Regards
> > Souvik
> >
> >
> >
> > --- Divák Ádám <divak.adam@...> wrote:
> >
> > > Souvik Basu wrote:
> > > > Hi All,
> > > >
> > > >    I am getting the following installation
> error
> > > while
> > > > installing FastCGI ver 2.4.0 or 2.4.2. Can
> > > somebody
> > > > please help ?
> > > >
> > > > Regards
> > > > Souvik
> > > >
> > > > [root@ijsasic2 mod_fastcgi-2.4.0]# make
> > ...
> > > > [root@ijsasic2 mod_fastcgi-2.4.0]#
> > > >  
> > > And I'm sure you use apache 2.2. please look
> back
> > > the last thread on the
> > > list (or google
> > > for fastcgi and apache2.2 and look for the
> patch).
> > >
> >  
> I like helping people as long as they do something
> for their own good.
> (0. please don't top-post)
> 1. Please re-read my previous post.
> 2. Do what I've written there and find this post eg.
>
http://www.fastcgi.com/archives/fastcgi-developers/2006-October/004557.html
>
http://article.gmane.org/gmane.comp.web.fastcgi.devel/2179
> 3. make the three easy steps there and have fun with
> apache
>
> cheers
>



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
LightInTheBox - Buy quality products at wholesale price!