Stas Bekman <stas@stason.org> writes: > >Regarding the problem of perl, not exporting PerlIOBase_* symbols, any ideas >of what I can do to resolve this problem for mod_perl 2.0 on win32 and aix >(and probably other systems, which use an explicit exports lists). > >Here is the PerlIO tab that I use: > >static PerlIO_funcs PerlIO_APR = { > PerlIOBase_popped, > PerlIOBase_binmode, /* binmode() is handled by :crlf */ > PerlIOBase_unread, > PerlIOBase_noop_fail, /* fill */ > PerlIOBase_error, > PerlIOBase_clearerr, > PerlIOBase_setlinebuf, >}; The symbols exported by perl are determined by makedef.pl There is a hunk that starts: # Symbols that are the public face of the PerlIO layers implementation # These are in _addition to_ the public face of the abstraction # and need to be exported to allow XS modules to implement layers my @layer_syms = qw( PerlIOBase_clearerr ... Which lists the PerlIO symbols that get exported. Looks like only one you are using which is missing is PerlIOBase_noop_fail. So I _think_ all you need to do is add that symbol to the list. However the whole of makedef.pl could still do with a cleanup - there is a lot of "muddle" in there with some synbols having Perl_ prefix and others not, and various groups of symbols re-apearing in multiple places. > -- Nick Ing-Simmons http://www.ni-s.u-net.com/Thread Previous | Thread Next