Build 通过Cygwin在Windows上编译Mono时出错

Build 通过Cygwin在Windows上编译Mono时出错,build,mono,makefile,cygwin,autogen,Build,Mono,Makefile,Cygwin,Autogen,我将遵循以下教程: 我已经从GitHub下载了Mono源代码(截至今天) 我的autogen命令行如下所示: sh autogen.sh --host=i686-pc-mingw32 我有两个autogen警告,没有错误(见下文)。然后我运行make,发现错误: Makefile:2463: recipe for target 'libmonoruntime_la-threadpool.lo' failed make[3]: *** [libmonoruntime_la-threadpool.

我将遵循以下教程:

我已经从GitHub下载了Mono源代码(截至今天)

我的autogen命令行如下所示:

sh autogen.sh --host=i686-pc-mingw32
我有两个autogen警告,没有错误(见下文)。然后我运行
make
,发现错误:

Makefile:2463: recipe for target 'libmonoruntime_la-threadpool.lo' failed
make[3]: *** [libmonoruntime_la-threadpool.lo] Error 1
make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/metadata'
Makefile:436: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/projects/mono/mono/mono'
Makefile:520: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/projects/mono/mono'
Makefile:447: recipe for target 'all' failed
make: *** [all] Error 2
我不知道如何解决这个错误。libmono运行库la-threadpool.lo包含:

# libmonoruntime_la-assembly.lo - a libtool object file
# Generated by doltcompile, not libtool
pic_object='.libs/libmonoruntime_la-assembly.o'
non_pic_object='libmonoruntime_la-assembly.o'
我已经检查过了,上面提到的两个文件
libmonorauntime\u la-assembly.o
都存在

完整的
make
输出可在此处找到:

我也不知道这些错误是否与autogen警告有关。为完整起见,警告如下:

mono/unit-tests/Makefile.am:7: warning: variable 'TEST_LDFLAGS' is defined but no program or
mono/unit-tests/Makefile.am:7: library has 'TEST' as canonical name (possible typo)

/cygdrive/c/projects/mono/mono/libgc/missing: Unknown `--is-lightweight' option
Try `/cygdrive/c/projects/mono/mono/libgc/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing

至于第二个警告,我正在寻找较新的libgc
缺少的
脚本,但找不到它。

我相信实际错误在第969行“../../mono/metadata/threadpool internals.h:11:2:error:未知类型名“mono\u mutex\t”。这个问题由此得到解决。出于兴趣,为什么要在Windows上编译mono?许可?