[Mono-dev] Cannot compile the 9/16 daily build due to: boehm-gc.c:262: parse error before `MONO_TLS_FAST'

Robert Jordan robertj at gmx.net
Sun Sep 16 15:48:51 EDT 2007


Hi,

mono-dev at monnet-usa.com wrote:
> First, I am newbie. I am a .net developer, but my personal web site is on a 
> Linux shared web host. As a result I would like to setup Mono on Apache. I have 
> tried for the last week to compile a build without any success.
> 
> I have tried the following:
>   1- mono-1.2.5 from ttp://go-mono.com/sources-stable/
>   2- SVN TAGS mono-1-2-5-p5
>   3- SVN TRUNK
>   4- and finally mono-latest (mono-20070916)
> 
> For 1 & 2 I get the following error:
> ------------------------------------------------------------------------------------------
>             GLib-ERROR **: gmem.c:135:g_malloc(): failed to allocate 8192 bytes
>             aborting...
>             Stacktrace:

Your system ran out of memory.

You may try to reconfigure with --disable-mcs-build and copy all
managed components (assemblies, compiler) from another machine
running the *same* mono version.

Anyway, I doubt that you can run ASP.NET on such a crippled
environment.

> 
> For 3 and 4, I get a different error:
> 
> boehm-gc.c: At top level:
> boehm-gc.c:262: parse error before `MONO_TLS_FAST'
> boehm-gc.c:262: syntax error before `void'
> In file included from ../../mono/metadata/domain-internals.h:11,
>                  from metadata-internals.h:8,
>                  from boehm-gc.c:263:

This seems to be a gcc problem. Which gcc version is this?

Robert




More information about the Mono-devel-list mailing list