New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtUtils/typemap references unresolved symbol #15315
Comments
From @sisyphusHi, This report is in response to Perls 5.24.0, 5.22.0 (and probably others) are affected. The demo script: ######################### use Inline C => Config => use Inline C => <<'EOC'; int foo(char ** x) { void bar() { EOC On Windows, the compilation of the C code fails. bug_pl_307a.c: In function 'XS_main_foo': and then the error: bug_pl_307a.o:bug_pl_307a.c:(.text+0xd6): undefined reference to On Ubuntu, it's just the one warning: bug_pl_d189.c: In function ‘XS_main_foo’: and then, being linux, the error of course doesn't arise until runtime when 1 Apparently Inline::C assumes that if it's in the typemap then it can be 'perl -V' for the 5.24.0 that produced the above (Windows) warnings and Cheers, Summary of my perl5 (revision 5 version 24 subversion 0) configuration: Platform: Characteristics of this binary (from libperl): |
From @tonycozOn Mon May 09 18:10:58 2016, sisyphus wrote:
Removing it would break existing code on CPAN, for example XML::LibXML. Most code that uses that typemap entry seems to use the same or similar code, probably originally from: https://metacpan.org/release/CookBookA ( https://metacpan.org/source/DMR/CookBookA-19960430/Ex8 ) Maybe that could be packaged with Inline::C Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @sisyphus-----Original Message-----
Shouldn't they be putting that mapping into their own typemaps rather than
Thanks for digging that out.
I think so. If I was going to do that I think I'd just have the bound Cheers, |
Migrated from rt.perl.org#128107 (status was 'open')
Searchable as RT128107$
The text was updated successfully, but these errors were encountered: