[Mono-dev] problem with mono_memory_barrier

Travis Miller raphtee at gmail.com
Sun Feb 10 18:17:15 EST 2008


Hi, I am building mono 1.2.6 (latest stable) from source on a DEC Alpha
running Debian Etch.  The problem I am having is duing the build of mono
which is that I get

./.libs/libmonoruntime.a(domain.o): In function `get_hazardous_pointer':
/usr/local/mono-1.2.6/mono/metadata/domain.c:252: undefined reference to
`mono_memory_write_barrier'
./.libs/libmonoruntime.a(domain.o): In function `mono_jit_info_table_add':
/usr/local/mono-1.2.6/mono/metadata/domain.c:683: undefined reference to
`mono_memory_barrier'
/usr/local/mono-1.2.6/mono/metadata/domain.c:704: undefined reference to
`mono_memory_write_barrier'
/usr/local/mono-1.2.6/mono/metadata/domain.c:709: undefined reference to
`mono_memory_write_barrier'
/usr/local/mono-1.2.6/mono/metadata/domain.c:714: undefined reference to
`mono_memory_write_barrier'
./.libs/libmonoruntime.a(threads.o): In function `small_id_alloc':
/usr/local/mono-1.2.6/mono/metadata/threads.c:347: undefined reference to
`mono_memory_write_barrier'
collect2: ld returned 1 exit status
make[3]: *** [pedump] Error 1
make[3]: Leaving directory `/usr/local/mono-1.2.6/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/mono-1.2.6/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mono-1.2.6'
make: *** [all] Error 2

The mono/utils/mono-membar.h is included in the .c files that ared throwing
the error so I fail to see how the reference is undefined.  Any help would
be greatly appreciated.

Travis Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080210/c42a1875/attachment.html 


More information about the Mono-devel-list mailing list