mfrei has asked for the wisdom of the Perl Monks concerning the following question:
I have searched high and wide and cannot find out how to fix this. I did find a bug item, but it just says it was fixed in GitHub. Does anyone have a solution for this?Building and testing Devel-Hints-0.21 cp Hints.pm blib/lib/Devel/Hints.pm /usr/bin/perl "-Iinc" /home/myuser/perl5/lib/perl5/ExtUtils/xsubpp -t +ypemap /usr/share/perl5/ExtUtils/typemap -typemap typemap Hints.xs > + Hints.xsc && mv Hints.xsc Hints.c Please specify prototyping behavior for Hints.xs (see perlxs manual) gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack +-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI +TS=64 -Wno-format-security -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" + -fPIC "-I/usr/lib64/perl5/CORE" Hints.c Hints.xs: In function 'cop_stashpv': Hints.xs:186:44: error: macro "CopSTASHPV_set" requires 3 arguments, b +ut only 2 given SET(stashpv, CopSTASHPV_set(cop, value)); ^ Hints.xs:186:18: error: 'CopSTASHPV_set' undeclared (first use in this + function) SET(stashpv, CopSTASHPV_set(cop, value)); ^ Hints.xs:37:17: note: in definition of macro 'SET' s; \ ^ Hints.xs:186:18: note: each undeclared identifier is reported only onc +e for each function it appears in SET(stashpv, CopSTASHPV_set(cop, value)); ^ Hints.xs:37:17: note: in definition of macro 'SET' s; \ ^ Hints.xs: In function 'cop_arybase': Hints.xs:19:30: error: 'COP' has no member named 'cop_arybase' #define CopARYBASE_set(c,v) c->cop_arybase = v ^ Hints.xs:37:17: note: in definition of macro 'SET' s; \ ^ Hints.xs:231:18: note: in expansion of macro 'CopARYBASE_set' SET(arybase, CopARYBASE_set(cop, value)); ^ Hints.xs:16:28: error: 'COP' has no member named 'cop_arybase' #define CopARYBASE_get(c) c->cop_arybase ^ Hints.xs:233:12: note: in expansion of macro 'CopARYBASE_get'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Devel::Hints compilation error on RHEL7
by haukex (Archbishop) on Aug 05, 2020 at 19:54 UTC | |
by syphilis (Archbishop) on Aug 06, 2020 at 01:38 UTC |