Bug 19638

Summary: Errors building eglib on solaris 10
Product: [Mono] Runtime Reporter: Tom Dunstan <xamarin-bugzilla>
Component: GeneralAssignee: Bugzilla <bugzilla>
Status: RESOLVED FIXED    
Severity: normal CC: mono-bugs+mono, mono-bugs+runtime, vargaz
Priority: ---    
Version: 3.4.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Tags: Is this bug a regression?: ---
Last known good build:

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

 <snip>

  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

Cheers
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.