[Mono-dev] mono-2.6.7 build on linux/alpha
furutaka
furutaka at jb3.so-net.ne.jp
Tue Aug 31 09:52:33 EDT 2010
Hi all,
The only thing I know about mono is that it's an open-source .NET-compatible
set of tools.
Now I'm trying to build it on linux/alpha, specifically, Gentoo, and the
build failed due to missing operands of MINI_OP() in mini-ops.h, as the
following;
(...)
alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS
-D_
GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS
-DNO_UNALIGN
ED_ACCESS -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0
-I/usr/
lib/glib-2.0/include -mieee -pipe -O2 -mcpu=ev56 -fno-strict-aliasing
-fno-
strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-protot
ypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-e
xterns -Wpointer-arith -Wno-cast-qual -Wwrite-strings -mieee -O0 -c -o
genmdesc-
genmdesc.o `test -f 'genmdesc.c' || echo './'`genmdesc.c
In file included from mini.h:1175,
from genmdesc.c:9:
mini-ops.h:1082:40: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1083:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
In file included from mini.h:1175,
from genmdesc.c:9:
mini-ops.h:1083: error: expected ',' or '}' before 'MINI_OP'
mini-ops.h:1084:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1085:50: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1086:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1087:50: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1088:40: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1089:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1090:40: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1091:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1093:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1094:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1095:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1096:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1097:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1098:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1099:42: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1100:48: error: macro "MINI_OP" requires 5 arguments, but only 2
given
mini-ops.h:1101:38: error: macro "MINI_OP" requires 5 arguments, but only 2
given
genmdesc.c:29: warning: no previous prototype for 'inst_name'
genmdesc.c: In function 'inst_name':
genmdesc.c:30: error: 'OP_LAST' undeclared (first use in this function)
genmdesc.c:30: error: (Each undeclared identifier is reported only once
genmdesc.c:30: error: for each function it appears in.)
genmdesc.c:30: warning: comparison between pointer and integer
genmdesc.c: In function 'init_table':
genmdesc.c:148: error: 'OP_LAST' undeclared (first use in this function)
genmdesc.c:148: warning: passing argument 1 of 'g_malloc0_n' makes integer
from pointer without a cast
/usr/include/glib-2.0/glib/gmem.h:65: note: expected 'gsize' but argument is
of type 'const char * const*'
genmdesc.c:149: warning: comparison between pointer and integer
genmdesc.c: In function 'build_table':
genmdesc.c:185: error: 'OP_LAST' undeclared (first use in this function)
genmdesc.c:185: warning: comparison between pointer and integer
genmdesc.c: In function 'dump':
genmdesc.c:222: error: 'OP_LAST' undeclared (first use in this function)
genmdesc.c:222: warning: comparison between pointer and integer
make[3]: *** [genmdesc-genmdesc.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/mono-2.6.7/work/mono-2.6.7/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-lang/mono-2.6.7/work/mono-2.6.7/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-lang/mono-2.6.7/work/mono-2.6.7'
make: *** [all] Error 2
(...)
What should we put as the 3rd,4th, and 5th arguments of the following calls
in mono-2.6.7/mono/mini/mini-ops.h?
1081 #if defined(__alpha__)
1082 MINI_OP(OP_ALPHA_CMP_EQ, "alpha_cmp_eq")
1083 MINI_OP(OP_ALPHA_CMP_IMM_EQ, "alpha_cmp_imm_eq")
1084 MINI_OP(OP_ALPHA_CMP_ULT, "alpha_cmp_ult")
1085 MINI_OP(OP_ALPHA_CMP_IMM_ULT, "alpha_cmp_imm_ult")
1086 MINI_OP(OP_ALPHA_CMP_ULE, "alpha_cmp_ule")
1087 MINI_OP(OP_ALPHA_CMP_IMM_ULE, "alpha_cmp_imm_ule")
1088 MINI_OP(OP_ALPHA_CMP_LT, "alpha_cmp_lt")
1089 MINI_OP(OP_ALPHA_CMP_IMM_LT, "alpha_cmp_imm_lt")
1090 MINI_OP(OP_ALPHA_CMP_LE, "alpha_cmp_le")
1091 MINI_OP(OP_ALPHA_CMP_IMM_LE, "alpha_cmp_imm_le")
1092
1093 MINI_OP(OP_ALPHA_CMPT_EQ, "alpha_cmpt_eq")
1094 MINI_OP(OP_ALPHA_CMPT_EQ_SU, "alpha_cmpt_eq_su")
1095 MINI_OP(OP_ALPHA_CMPT_LT, "alpha_cmpt_lt")
1096 MINI_OP(OP_ALPHA_CMPT_LT_SU, "alpha_cmpt_lt_su")
1097 MINI_OP(OP_ALPHA_CMPT_LE, "alpha_cmpt_le")
1098 MINI_OP(OP_ALPHA_CMPT_LE_SU, "alpha_cmpt_le_su")
1099 MINI_OP(OP_ALPHA_CMPT_UN, "alpha_cmpt_un")
1100 MINI_OP(OP_ALPHA_CMPT_UN_SU, "alpha_cmpt_un_su")
1101 MINI_OP(OP_ALPHA_TRAPB, "alpha_trapb")
1102
1103 #endif
Thanks in advance.
Kazuyoshi
--
View this message in context: http://mono.1490590.n4.nabble.com/mono-2-6-7-build-on-linux-alpha-tp2401620p2401620.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list