Bug 19638 - Errors building eglib on solaris 10
Summary: Errors building eglib on solaris 10
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 3.4.0
Hardware: Other Other
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-05-09 04:55 UTC by Tom Dunstan
Modified: 2014-05-13 17:54 UTC (History)
3 users (show)

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

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 Tom Dunstan 2014-05-09 04:55:49 UTC
Mono source version: 3.4.0 from tarball.
System: Solaris 10 sparc (sun4u)
GCC version: 3.4.3
GNU ld version: 2.15
Configure options: --with-ikvm-native=no

Attempting to make, get this error:

make[4]: Entering directory `/tmp/mono-build/mono-3.4.0/eglib/src'
  CC     libeglib_la-garray.lo


  CC     libeglib_static_la-gtimer-unix.lo
  CCLD   libeglib-static.la
make[4]: Leaving directory `/tmp/mono-build/mono-3.4.0/eglib/src'
Making all in test
make[4]: Entering directory `/tmp/mono-build/mono-3.4.0/eglib/test'
  CCLD   test-glib
Undefined                       first referenced
 symbol                             in file
g_strv_length                       test_glib-string-util.o
ld: fatal: symbol referencing errors. No output written to test-glib
collect2: ld returned 1 exit status
make[4]: *** [test-glib] Error 1
make[4]: Leaving directory `/tmp/mono-build/mono-3.4.0/eglib/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/mono-build/mono-3.4.0/eglib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/mono-build/mono-3.4.0/eglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mono-build/mono-3.4.0'
make: *** [all] Error 2

Seems I'm not the only one: http://stackoverflow.com/questions/22549699

Comment 1 Zoltan Varga 2014-05-13 17:54:34 UTC
Fixed in mono master 079c2e126f594c5a338a779c72a899951de38960. As a workaround, delete or move around you existing glib installation so the mono configure process doesn't pick it up.