Nick Ing-Simmons wrote:

Nicholas Clark <[EMAIL PROTECTED]> writes:


On Wed, Jul 16, 2003 at 04:26:45PM +0100, Steve Hay wrote:


Nicholas Clark wrote:



On Wed, Jul 16, 2003 at 04:06:59PM +0100, Steve Hay wrote:




However, when I try to link this I get an "unresolved external symbol" error regarding PerlIO_isutf8(). This is declared in "perlio.h" (hence the compiler was happy), but listing the symbols exported by my "perl58.lib" I don't see it (hence the linker is unhappy).




Which OS are you doing this on? Is it one (such as AIX or Windows) that
needs an explicit list of functions to export from a library?




Yes, I'm working on Windows (XP, SP1) with MSVC++ 6.0 (SP5).

Do I ned to rebuild my Perl library differently? I built it myself from ActivePerl 806 sources, but disabling the threading options and large file support, and enabling Perl's malloc. I've pasted my "perl -V" here in case that's of any use.


I don't know quite what is needed. I think that another line needs to be
added to embed.fnc to export PerlIO_isutf8(), then make regen_headers run
before remaking, but I'm not sure. I've cross posted to p5p - hopefully
someone will know there. Not exporting PerlIO_isutf8 sounds like a bug that
needs that needs fixing for 5.8.1



Most of the PerlIO_Xxxx() are handled as a group in makedef.pl


Which group -- the group in @layer_syms, or the group in __DATA__?

i.e. is my "possible PATCH" (http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-07/msg01096.html) correct or not? (Vadim Konovalov believes it is correct -- http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-07/msg01101.html).

If it is correct then will it be applied in time for perl-5.8.1 as Nicholas Clark suggested?

Steve



Reply via email to