[Mono-list] Trying to compile mono-0.15 with gcc 3.2

Paolo Molaro lupus@ximian.com
Tue, 27 Aug 2002 13:35:21 +0200


On 08/27/02 mono-list-admin@ximian.com wrote:
> I'm trying to compile mono-0.15 (tried 0.13 before), but both keep 
> giving me this error:

FYI: I just compiled mono with gcc 3.2 without issues.

> <SNIP>
> gcc -shared  win32-exception.lo codegen-x86.lo emit-x86.lo regset.lo 
> debug.lo debug-stabs.lo debug-dwarf2.lo debug-dwarf2-plus.lo jit.lo 
> trampoline.lo exception.lo linear-scan.lo helpers.lo -Wl,--whole-archive 
> ../metadata/.libs/libmonoruntime.al ../metadata/.libs/libmetadata.al 
> ../io-layer/.libs/libwapi.al ../utils/.libs/libmonoutils.al 
> ../os/.libs/libmonoos.al -Wl,--no-whole-archive  
> ../metadata/.libs/libmonoruntime.al ../metadata/.libs/libmetadata.al 
> ../io-layer/.libs/libwapi.al ../utils/.libs/libmonoutils.al 
> ../os/.libs/libmonoos.al -lpthread -lgc -ldl -lnsl -lrt       
> -Wl,-soname -Wl,libmono.so.0 -o .libs/libmono.so.0.0.0
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: 
> .libs/libmono.so.0.0.0: undefined versioned symbol name read@@GLIBC_2.0
                                                           ^^^^^^^^^^^^^^
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: 
> failed to set dynamic section sizes: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libmono.la] Error 1
> make[3]: Leaving directory 
> `/var/tmp/portage/mono-0.15/work/mono-0.15/mono/jit'

What distribution are you using and what version of libc?
gcc 3.2 requires a recent libc to work correctly, AFAIK.
It seems you have a broken libc or something like that, it's not an
issue in mono.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better