On Tue, Nov 08, 2011 at 07:58:27AM +0100, Steffen Mueller wrote: > Here's a bug report that the static-by-default behaviour of newer > ExtUtils::ParseXS versions break XS modules on cygwin. I have no > access to cygwin and no time to change that. I tried mailing Reini, > but he seems too busy, too. > > Does anybody have an idea except for disabling XS_INTERNAL on cygwin? EU::PXS fails to install for me on the stock cygwin perl, with errors similar to those in the bug report: t/001-basic.t ............................ 1/11 XSTest.c:171:1: error: external linkage required for symbol ‘XS_XSTest_is_even’ because of ‘dllexport’ attribute XSTest.c:172:1: error: external linkage required for symbol ‘XS_XSTest_is_even’ because of ‘dllexport’ attribute XSTest.c:191:1: error: external linkage required for symbol ‘XS_XSTest_something ’ because of ‘dllexport’ attribute XSTest.c:192:1: error: external linkage required for symbol ‘XS_XSTest_something ’ because of ‘dllexport’ attribute If I remove the __declspec(dllexport) from line 497 of lib/ExtUtils/ParseXS/Utilities.pm the tests pass. I can't see why the __declspec(dllexport) was there for XS(). TonyThread Previous | Thread Next