in reply to Perl embedding woes: undefined symbols
EXTERN_C void boot_DynaLoader(pTHX_ CV* cv); EXTERN_C void boot_List__Util(pTHX_ CV* cv); static void xs_init(pTHX) { char *file = __FILE__; newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file); newXS("List::Util::bootstrap", boot_List__Util, file); }
(Scalar::Util's C guts are actually loaded by List::Util.)
Now, there's still the matter of linking in ListUtil.o. I don't know how to do that (other than statically linking it into Perl).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl embedding woes: undefined symbols
by robhoelz (Acolyte) on Apr 29, 2010 at 20:53 UTC | |
by ikegami (Patriarch) on Apr 29, 2010 at 21:44 UTC | |
by robhoelz (Acolyte) on Apr 29, 2010 at 22:57 UTC | |
by ikegami (Patriarch) on Apr 30, 2010 at 20:46 UTC |