Bug 48541

Summary: Undefined Reference to `_cairo_win32_print_gdi_error'
Product: cairo Reporter: Ray Linn <ray_linn>
Component: win32 backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: medium    
Version: 1.12.0   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Ray Linn 2012-04-11 02:25:35 UTC
Configure the Cairo 1.12.0 with following command:

./configure --build=x86_64-w64-mingw32 CFLAGS=-I/usr/local/include LDFLAGS=-L
/usr/local/lib CXXFLAGS=-I/usr/local/include --enable-ps=yes --enable-win32 --e
nable-static --enable-shared

but stop with the following error message:

../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate-win32-printing.o):c
airo-boilerplate-win32-printing.c:(.text+0x2e7): undefined reference to `_cairo_
win32_print_gdi_error'
Comment 1 Chris Wilson 2012-04-11 02:34:19 UTC
commit b74e8ebd50da443537a031132ebc86728f79e5f5
Author: Maarten Bosmans <mkbosmans@gmail.com>
Date:   Mon Apr 9 21:33:52 2012 +0200

    Add _cairo_win32_print_gdi_error to boilerplate code
    
    This function is not exported in libcairo, so can't be used from the
    library.
Comment 2 Ray Linn 2012-04-11 20:01:30 UTC
Only `_cairo_win32_print_gdi_error' but aslo `_cairo_error` need to be added within cairo-boilerplate-win32-printing.c, please update the file

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.