This queue is for tickets about the threads-lite CPAN distribution.

Report information
The Basics
Id:
68111
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
LEONT [...] cpan.org
Requestors:
RURBAN [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
0.030
Fixed in:
(no value)

Attachments


Subject: end_locker dllexport windows patch
Attached patch fixes the windows/cygwin linker error src/resources.c:64: error: external linkage required for symbol 'end_locker' because of 'dllexport' attribute -- Reini Urban
Subject: threads-lite-windows.patch
To fix cygwin and probably windows also: src/resources.c:64: error: external linkage required for symbol 'end_locker' because of 'dllexport' attribute diff -u ./src/resources.c~ ./src/resources.c --- ./src/resources.c~ 2011-03-05 14:45:35.000000000 +0100 +++ ./src/resources.c 2011-05-11 09:56:10.983500000 +0200 @@ -61,7 +61,7 @@ COND_DESTROY(&counter.condvar); } -static XS(end_locker) { +XS(end_locker) { dVAR; dXSARGS; perl_mutex* mutex;
On Wed May 11 06:07:14 2011, RURBAN wrote:
Show quoted text
> Attached patch fixes the windows/cygwin linker error > > src/resources.c:64: error: external linkage required for symbol > 'end_locker' because of 'dllexport' attribute
Hi Reini, Thanks for the report. I solved it in a slightly different way: instead of removing the static I removed the 'dllexport' (by using XSPROTO() instead of XS()). Leon


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.