Skip Menu |

This queue is for tickets about the Cairo-GObject CPAN distribution.

Report information
The Basics
Id: 70222
Status: resolved
Priority: 0/
Queue: Cairo-GObject

People
Owner: Nobody in particular
Requestors: sisyphus [...] cpan.org
Cc: tsch [...] cpan.org
AdminCc:

Bug Information
Severity: Important
Broken in: 1.000
Fixed in: (no value)



CC: tsch [...] cpan.org
Subject: [Win64] undefined references
Hi, On Win64, perl-5.10, during the 'make' step I'm getting: CairoGObject.o:CairoGObject.c:(.text+0xd1): undefined reference to `newSVCairoRegion' CairoGObject.o:CairoGObject.c:(.text+0x101): undefined reference to `newSVCairoRectangleInt' CairoGObject.o:CairoGObject.c:(.text+0x130): undefined reference to `newSVCairoRectangle' CairoGObject.o:CairoGObject.c:(.text+0x2e8): undefined reference to `SvCairoRegion_ornull' CairoGObject.o:CairoGObject.c:(.text+0x308): undefined reference to `SvCairoRectangleInt_ornull' CairoGObject.o:CairoGObject.c:(.text+0x328): undefined reference to `SvCairoRectangle_ornull' I guess the expectation is that these symbols would have been resolved by my perl/site/lib/auto/Cairo/Cairo.a, but those symbols are simply not in that file - nor anywhere else, afaict. I have Cairo-1.062. Cheers, Rob
Subject: Re: [rt.cpan.org #70222] [Win64] undefined references
Date: Tue, 16 Aug 2011 19:43:09 +0200
To: bug-Cairo-GObject [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
On 12.08.2011 03:30, Sisyphus via RT wrote: Show quoted text
> On Win64, perl-5.10, during the 'make' step I'm getting: > > CairoGObject.o:CairoGObject.c:(.text+0xd1): undefined reference to > `newSVCairoRegion' > CairoGObject.o:CairoGObject.c:(.text+0x101): undefined reference to > `newSVCairoRectangleInt' > CairoGObject.o:CairoGObject.c:(.text+0x130): undefined reference to > `newSVCairoRectangle' > CairoGObject.o:CairoGObject.c:(.text+0x2e8): undefined reference to > `SvCairoRegion_ornull' > CairoGObject.o:CairoGObject.c:(.text+0x308): undefined reference to > `SvCairoRectangleInt_ornull' > CairoGObject.o:CairoGObject.c:(.text+0x328): undefined reference to > `SvCairoRectangle_ornull' > > I guess the expectation is that these symbols would have been resolved > by my perl/site/lib/auto/Cairo/Cairo.a, but those symbols are simply > not in that file - nor anywhere else, afaict.
These are actually macros, generated by Cairo's Makefile.PL in Cairo's "build/cairo-perl-auto.h" header, which gets installed into "<prefix>/Cairo/Install". That these, and only these, macros are not found hints at version incompatibilities. And indeed, as I just looked up, these macros were added only very recently to the git repository of Cairo. Sorry for that. Once a supported version of Cairo has hit CPAN, I'll leave a note here.
On Tue Aug 16 13:43:20 2011, TSCH wrote: Show quoted text
> Once a supported version of Cairo has hit CPAN, I'll leave a note here.
Cairo >= 1.08x has support for these types and is also on CPAN. Cairo::GObject 1.001 was released to CPAN with the correct dependency specification.