Re: PL/Perl and Perl 5.8 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: PL/Perl and Perl 5.8
Date
Msg-id Pine.LNX.4.44.0210172013560.928-100000@localhost.localdomain
Whole thread Raw
In response to PL/Perl and Perl 5.8  (Neil Conway <neilc@samurai.com>)
Responses Re: PL/Perl and Perl 5.8  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway writes:

> gcc -O2 -g -fpic -I. -I/usr/lib/perl/5.8.0/CORE -I../../../src/include   -c -o plperl.o plperl.c -MMD
> In file included from /usr/lib/perl/5.8.0/CORE/op.h:480,
>                  from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
>                  from plperl.c:61:
> /usr/lib/perl/5.8.0/CORE/reentr.h:602: field `_crypt_struct' has incomplete type
> /usr/lib/perl/5.8.0/CORE/reentr.h:747: confused by earlier errors, bailing out
> make[3]: *** [plperl.o] Error 1

Can you post some snippets from the relevant code sections?  Following one
of the links that were posted I gathered that this is related to
crypt_r(), whose prototype is not exposed on my system unless you use
_GNU_SOURCE.  But I don't see any _crypt_struct here.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: COPY syntax
Next
From: Bruce Momjian
Date:
Subject: Re: orderRules() now a bad idea?