[oe] perl 5.8.8 issue

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sat Jul 24 17:28:45 UTC 2010


While trying to get perl running with new style staging I bumped upon the
following issue:

/home/frans/oe/tmp_angstrom/sysroots/i686-linux/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include/stdbool.h:36:1:
warning: this is the location of the previous definition
In file included from
/home/frans/oe/tmp_angstrom/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/perl/5.8.8/CORE/op.h:497,
                 from
/home/frans/oe/tmp_angstrom/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/perl/5.8.8/CORE/perl.h:2754,
                 from Curses.c:46:
/home/frans/oe/tmp_angstrom/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/perl/5.8.8/CORE/reentr.h:612:
error: field '_crypt_struct' has incomplete type

This happens when building
virtual:native:/home/frans/oe/openembedded/recipes/perl/
libcurses-perl_1.28.bb
as it is with a native recipe I suspect this is a perl issue not related to
my staging changes.

reentrt 612 looks like

#ifdef HAS_CRYPT_R
#if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
        CRYPTD* _crypt_data;
#else
        struct crypt_data _crypt_struct;
#endif
#endif /* HAS_CRYPT_R */

where line 612 is the struct crypt_data line.
This struct lives in crypt.h but apparently this one is not included (or the
typedef is commented out)


I've found I have this issue with a few more perl recipes.

Anyone seen this before?

Frans



More information about the Openembedded-devel mailing list