[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem building Gtk2 using MinGW/dmake on Windows XP



On Sat, 2007-11-03 at 02:29 -0700, spicy jack wrote:

> xs\GdkCairo.o:GdkCairo.c:(.text+0x19e): undefined reference to
> `cairo_object_from_sv'
> ...

That looks like the linker is unable to find the Cairo symbols.  To
export its symbols, Cairo does this in its Makefile.PL:

my @exports = qw(
	cairo_object_from_sv
	cairo_object_to_sv
	cairo_struct_from_sv
	cairo_struct_to_sv
	newSVCairoFontExtents
	newSVCairoTextExtents
	newSVCairoGlyph
	SvCairoGlyph
	newSVCairoPath
	SvCairoPath
	cairo_surface_to_sv
	cairo_pattern_to_sv
);

WriteMakefile (
	...
	FUNCLIST      => \ exports,
	...
);

That's what Glib does, too.  Unfortunately, I don't know why this
doesn't work for you.  Anyone else?

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]