[Mono-dev] Build fails: name `AllowReversePInvokeCallsAttribute' does not exist

Markku Tavasti tavasti at seravo.fi
Tue Jan 31 10:38:28 UTC 2012


2012/1/31 Eberhard Beilharz <eb1 at sil.org>

> 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.
>
> I'm working on Suse Enterprise Linux 11, and have installed followinf
packages:

 localhost:~ # rpm -qa | grep mono
mono-locale-extras-2.0.1-1.34.1
mono-zeroconf-0.9.0-1.2.93
dbus-1-mono-0.63-188.1.57
mono-nunit-2.0.1-1.34.1
mono-data-sqlite-2.0.1-1.34.1
avahi-mono-0.6.23-11.19.36
mono-data-sybase-2.0.1-1.34.1
mono-jscript-2.0.1-1.34.1
apache2-mod_mono-2.0-1.26
mono-core-2.0.1-1.34.1
mono-winforms-2.0.1-1.34.1
mono-data-postgresql-2.0.1-1.34.1
mono-data-firebird-2.0.1-1.34.1
mono-addins-0.4-1.40
mono-data-2.0.1-1.34.1
monodoc-core-2.0-1.34
monodevelop-1.0-96.43
mono-extras-2.0.1-1.34.1
mono-tools-2.0-6.40
mono-web-2.0.1-1.34.1
mono-zeroconf-provider-avahi-0.9.0-1.2.93
mono-data-oracle-2.0.1-1.34.1
mono-basic-2.0-6.34
mono-devel-2.0.1-1.34.1
mono-debugger-2.0-13.16

So there is mcs compiler, but it still, getting error:
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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120131/01ad63da/attachment.html>


More information about the Mono-devel-list mailing list