Re: FCGI 0.30 make fails w/ Perl 5.004_01 + linux

Sven Verdoolaege (skimo@breughel.ufsia.ac.be)
Fri, 11 Jul 1997 10:57:41 +0200

Message-Id: <19970711105741.50382@breughel.ufsia.ac.be>
Date: Fri, 11 Jul 1997 10:57:41 +0200
From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
To: Stuart Stock <stuart@gundaker.com>
Subject: Re: FCGI 0.30 make fails w/ Perl 5.004_01 + linux
In-Reply-To: <Pine.LNX.3.95.970710224516.15645A-100000@mona.gundaker.com>; from Stuart Stock on Thu, Jul 10, 1997 at 10:50:47PM -0500

On Jul 10, Stuart Stock <stuart@gundaker.com> wrote:
> # make
> /usr/bin/perl -I/usr/lib/perl5/i586-linux/5.00401 -I/usr/lib/perl5
> /usr/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/ExtUtils/typemap
> /FCGI.xs >FCGI.tc && mv FCGI.tc FCGI.c
> Please specify prototyping behavior for FCGI.xs (see perlxs manual)
> 
> cc -c -I. -Dbool=char -DHAS_BOOL -I/usr/local/include
> -I/arc/perl/sfio/include -O2 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fpic
> -I/usr/lib/perl5/i586-linux/5.00401/CORE FCGI.c
> In file included from /usr/lib/perl5/i586-linux/5.00401/CORE/perl.h:1910,
>                  from FCGI.xs:2:
> /usr/lib/perl5/i586-linux/5.00401/CORE/proto.h:58: unrecognized format
> /specifier for `'
> 
What version of gcc are you using ?
Didn't you get this error when compiling perl itself ?
Did you compile it with the same compiler ?

As a hack, you can remove the
#define HASATTRIBUTE
from /usr/lib/perl5/i586-linux/5.00401/CORE/config.h

skimo