Bug 48541 - Undefined Reference to `_cairo_win32_print_gdi_error'
Summary: Undefined Reference to `_cairo_win32_print_gdi_error'
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: win32 backend (show other bugs)
Version: 1.12.0
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 02:25 UTC by Ray Linn
Modified: 2012-04-11 20:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.