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