在暂存盒中构建单声道时出错 [英] Error building mono in scratchbox

查看:33
本文介绍了在暂存盒中构建单声道时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在 Ubuntu 11.10 上的 Scratchbox 中为 arm 编译单声道.但是当我进行安装时,我收到一条错误消息.

I tried to compile mono for arm in scratchbox on Ubuntu 11.10. But when I make install I got an error message.

[sbox-ARMEL:~] ./configure --enable-minimal=profiler,debug,logging,soft_debug --with-tls=--with-tls=__thread --with-monotouch=no --without-mcs-docs --disable-mono-debugger CFLAGS=-DARM_FPU_NONE --disable-mcs-build
[sbox-ARMEL:~] make
[sbox-ARMEL:~] make install

我收到此错误:

make[2]: Entering directory `/home/johannes/mono-2.10.2/mono/mini'
CC  genmdesc-genmdesc.o
In file included from mini.h:39,
                 from genmdesc.c:9:
mini-unwind.h:106: error: expected declaration specifiers or '...' before 'mgreg_t'
mini-unwind.h:107: error: expected declaration specifiers or '...' before 'mgreg_t'
In file included from genmdesc.c:9:
mini.h:741: error: expected specifier-qualifier-list before 'mgreg_t'
In file included from genmdesc.c:9:
mini.h:1843: error: expected ')' before '*' token
mini.h:1848: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:1923: error: expected ')' before '*' token
mini.h:1924: error: expected ')' before '*' token
mini.h:1925: error: expected ')' before '*' token
mini.h:1926: error: expected ')' before '*' token
mini.h:1928: error: expected ')' before '*' token
mini.h:1930: error: expected ')' before '*' token
mini.h:1931: error: expected ')' before '*' token
mini.h:1932: error: expected ')' before '*' token
mini.h:1933: error: expected ')' before '*' token
mini.h:2061: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2084: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2092: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2093: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2094: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2096: error: expected ')' before '*' token
mini.h:2100: error: expected ')' before '*' token
mini.h:2101: error: expected ')' before '*' token
mini.h:2105: error: expected declaration specifiers or '...' before 'mgreg_t'
mini.h:2138: error: expected ')' before '*' token
mini.h:2148: error: expected declaration specifiers or '...' before 'mgreg_t'
make[2]: *** [genmdesc-genmdesc.o] Error 1
make[2]: Leaving directory `/home/johannes/mono-2.10.2/mono/mini'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/johannes/mono-2.10.2/mono'
make: *** [install-recursive] Error 1

知道这个错误或我做错了什么吗?

Knows anyone this error or what I have done wrong?

推荐答案

从 Git 获取源文件,因为您的 mini.h 和 mini-unwind.h 文件与 Git 不匹配.https://github.com/mono/mono/blob/master/mono/mini/mini.h

Get source file from Git because your mini.h and mini-unwind.h file doesn't match the Git one. https://github.com/mono/mono/blob/master/mono/mini/mini.h

这篇关于在暂存盒中构建单声道时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆