[Mono-dev] Build fails: name `AllowReversePInvokeCallsAttribute' does not exist
Eberhard Beilharz
eb1 at sil.org
Tue Jan 31 07:26:47 UTC 2012
Did you have a look at the README file? In section "c. Building the
software from GIT" it lists several options. The recommended way is to
install the latest released packages for your distribution for building
mono from git, but there are also instructions if you don't have a
working Mono installation.
Eberhard
On 01/31/2012 07:34 AM, Markku Tavasti wrote:
> I'm trying to build mono from git sources
> ./autogen.sh --prefix=/usr/local && make && sudo make install
>
> , but unfortunately it fails like this:
>
> make[6]: Entering directory `/home/tavasti/build/mono/mcs'
> build/common/basic-profile-check.cs(13,67): error CS0234: The type or
> namespace name `AllowReversePInvokeCallsAttribute' does not exist in
> the namespace `System.Runtime.InteropServices'. Are you missing an
> assembly reference?
> Compilation failed: 1 error(s), 0 warnings
> make[6]: *** [build/deps/basic-profile-check.exe] Error 1
> make[6]: Leaving directory `/home/tavasti/build/mono/mcs'
> *** The compiler 'gmcs' doesn't appear to be usable.
> *** You need Mono version 2.4 or better installed to build MCS
> *** Read INSTALL.txt for information on how to bootstrap a Mono
> installation.
> make[5]: *** [do-profile-check] Error 1
> make[5]: Leaving directory `/home/tavasti/build/mono/mcs'
> make[4]: *** [profile-do--basic--all] Error 2
> make[4]: Leaving directory `/home/tavasti/build/mono/mcs'
> make[3]: *** [profiles-do--all] Error 2
>
> Any hints?
>
> --Tavasti
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list