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

[PATCH perl@8102] cygwin port

Thread Previous | Thread Next
From:
Eric Fifer
Date:
December 14, 2000 05:40
Subject:
[PATCH perl@8102] cygwin port
Message ID:
200012141340.NAA54236@mailhost1.dircon.co.uk

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
Cygwin.

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;
 #endif


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About