After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665265 - undefined reference to 'cairo_content_from_sv'
undefined reference to 'cairo_content_from_sv'
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Cairo
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-01 06:18 UTC by sisyphus1
Modified: 2012-01-05 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sisyphus1 2011-12-01 06:18:10 UTC
This bug report also filed at
https://rt.cpan.org/Ticket/Display.html?id=72832
(by mistake).

Hi, Building Gtk2-1.241 on Win32, perl-5.12.0.
My compiler is the mingw.org port of gcc-4.5.2 and I'm using the 'gtk+-bundle_2.24.8-20111122_win32.zip' GTK+ binaries.

There were no problems with Gtk2-1.224, but with version 1.241 I get clobbered with the following:

 [ LD blib\arch\auto\Gtk2\Gtk2.dll ]
 xs/GdkCairo.o:GdkCairo.c:(.text+0x1af): undefined reference to `cairo_content_from_sv'
 collect2: ld returned 1 exit status
 dmake: Error code 129, while making 'blib\arch\auto\Gtk2\Gtk2.dll'

I assume that the symbol is intended to be resolved by my site/lib/auto/Cairo/Cairo.a, but that import library contains no such symbol. (I have installed Cairo-1.081, btw.)

Cheers,
Rob
Comment 1 Torsten Schoenfeld 2011-12-09 23:24:47 UTC
Ah, the dreaded win32 linking issue.  The export list for Cairo needed
updating: <http://git.gnome.org/browse/perl-Cairo/commit/?id=2e9e0b2d561269>.
Can you try building Cairo from git (or with this patch applied)?  After that,
building Gtk2 should work again.
Comment 2 sisyphus1 2011-12-15 04:59:23 UTC
Yep - enables the build to succeed. (I used the patch you provided.)
The Gtk2-1.241 test suite fails 3 tests - I'll take a look at that when I get a chance (and submit another bug report, if there's not one already done).

Thanks again Torsten.

Cheers,
Rob