🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24344

Re: INN perl filters under Linux

#24344
From: Phil Crown
Date: Sat, 13 Dec 1997 00:00
42 lines
2344 bytes
I had this problem.  If you

#define bool unsigned long

before the parse error it should compile.

tom minchin wrote:

> I've been running c-nocem for a while, but it doesn't seem to worth the
> amount of CPU time required (as well as receiving news.lists.filters).
> Instead, I attempted to compile in Perl hooks into INND on a Linux box
> with Perl 5.00403 (RH4.2 dist). Unfortunately I'm unable to get it to
> compile perl.c - even using Perl 5.003.
>
> The compile gets as far as perl.c in the lib directory and dies, with:
> gcc -I../include  -I/usr/lib/perl5/i386-linux/5.00401/CORE   -c perl.c -o perl.oIn file included from /usr/lib/perl5/i386-linux/5.00401/CORE/perl.h:1006,
>                  from perl.c:29:
> /usr/lib/perl5/i386-linux/5.00401/CORE/cop.h:205: parse error before `bool'
> /usr/lib/perl5/i386-linux/5.00401/CORE/cop.h:206: warning: data definition has no type or storage class
> /usr/lib/perl5/i386-linux/5.00401/CORE/cop.h:215: parse error before `}'
> /usr/lib/perl5/i386-linux/5.00401/CORE/cop.h:256: field `cx_subst' has incomplete type
> In file included from /usr/lib/perl5/i386-linux/5.00401/CORE/perl.h:1010,
>                  from perl.c:29:
> /usr/lib/perl5/i386-linux/5.00401/CORE/scope.h:93: parse error before `bool'
> /usr/lib/perl5/i386-linux/5.00401/CORE/scope.h:93: warning: no semicolon at end
> of struct or union
>
> Anyone had success or similar failure? (DejaNews didn't reveal anything - so
> people might be happy or given up quietly in despair).
>
> tom@interact.net.au



--
Phil Crown  pcrown@ispnews.com  http://ispnews.com




Technical Details
Message-ID: <3492E199.52631988@ispnews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!not-for-mail
References: <66u00c$ffc$1@black.interact.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <3492E199.52631988@ispnews.com>
Subject: Re: INN perl filters under Linux
Date: Sat, 13 Dec 1997 00:00:00 +0000
From: Phil Crown <pcrown@ispnews.com>
References: <66u00c$ffc$1@black.interact.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!not-for-mail
X-Deja-AN: 297907423
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
To: tom minchin <tom@black.interact.net.au>
Content-Type: text/plain; charset=us-ascii
Organization: ISPNews http://ispnews.com
Newsgroups: news.software.nntp,comp.lang.perl