[Mono-devel-list] Build Error on AMD64

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Mon Jul 11 11:16:32 EDT 2005


I tried building mono on an AMD64 system for the first time (FC4, quad
Opteron, latest from SVN). I get the following when I try to compile
mono:

tramp-amd64.c:39: error: static declaration of
'mono_arch_get_unbox_trampoline' follows non-static declaration
mini.h:911: error: previous declaration of
'mono_arch_get_unbox_trampoline' was here
tramp-amd64.c:64: error: static declaration of
'mono_arch_patch_callsite' follows non-static declaration
mini.h:912: error: previous declaration of 'mono_arch_patch_callsite'
was here
tramp-amd64.c: In function 'mono_arch_patch_callsite':
tramp-amd64.c:71: warning: pointer targets in passing argument 1 of
'InterlockedExchange' differ in signedness
tramp-amd64.c: At top level:
tramp-amd64.c:83: error: static declaration of
'mono_arch_nullify_class_init_trampoline' follows non-static declaration
mini.h:913: error: previous declaration of
'mono_arch_nullify_class_init_trampoline' was here
tramp-amd64.c: In function 'magic_trampoline':
tramp-amd64.c:168: warning: pointer targets in passing argument 2 of
'mono_jit_info_table_find' differ in signedness
make[4]: *** [tramp-amd64.lo] Error 1
make[4]: Leaving directory `/home/mono_source/mono/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mono_source/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mono_source/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mono_source/mono'
make: *** [all] Error 2

I see a recent patch (r47139) in this area, but I'm not sure if it has
anything to do with the error.

Thanks,
Jonathan





More information about the Mono-devel-list mailing list