Bug 11152 - test compilation fails(testgdi) due to missing( X11 and glib-2.0 ) linking flag
Summary: test compilation fails(testgdi) due to missing( X11 and glib-2.0 ) linking flag
Alias: None
Product: Class Libraries
Classification: Mono
Component: libgdiplus ()
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-03-14 09:05 UTC by Aleksandar Petrinic
Modified: 2017-11-23 16:34 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

add flags to Makefile.am (450 bytes, patch)
2013-03-14 09:05 UTC, Aleksandar Petrinic

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Aleksandar Petrinic 2013-03-14 09:05:39 UTC
Created attachment 3614 [details]
add flags to Makefile.am

testgdi compilation keeps failing due to missing linking flag. So I made a patch adding -lX11 -lglib-2.0 to relevant part of tests/Makefile.am. Obviously you need to regenerate the .in file after had applied the patch.
Comment 1 Alexander Köplinger [MSFT] 2017-11-23 16:34:07 UTC
This should've been done by configure.ac so the patch shouldn't be required. Thanks :)