develooper Front page | perl.perl5.porters | Postings from December 2000

[PATCH perl@8102] cygwin port

Thread Previous | Thread Next
Eric Fifer
December 14, 2000 05:40
[PATCH perl@8102] cygwin port
Message ID:

This error occurred when trying to build perl@8102 on Cygwin.

  Encode.o: In function `PerlIOEncode_tell':
  perl/ext/Encode/Encode.xs:266: undefined reference to `PerlIO_pending'

Below is a minimal fix for the problem, since PerlIO_pending is
exported in the DLL.  I'm not sure whether the other extern
variables should be EXT, so I only made the change necessary for

Eric Fifer

diff -ur perl.orig/perliol.h perl/perliol.h
--- perl.orig/perliol.h Tue Dec 12 03:31:32 2000
+++ perl/perliol.h      Thu Dec 14 11:48:56 2000
@@ -78,7 +78,7 @@
 extern PerlIO_funcs PerlIO_perlio;
 extern PerlIO_funcs PerlIO_stdio;
 extern PerlIO_funcs PerlIO_crlf;
-extern PerlIO_funcs PerlIO_pending;
+EXT PerlIO_funcs PerlIO_pending;
 #ifdef HAS_MMAP
 extern PerlIO_funcs PerlIO_mmap;

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About