[Mono-dev] Unable to build Mono from trunk r158797 because of errors in Microsoft.CSharp

Alexander M. Batishchev abatishchev at godfather.net.ru
Thu Jun 10 13:07:18 EDT 2010


Hi everybody.

What can I do to successfully build current trunk, r158797

 

I did next:

 

$ make uninstall && make clean

$ make get-monolite-latest

$ ./autogen.sh --prefix=/usr

$ make

 

But nothing helps. Every time the same error:

 

make[8]: Entering directory `/usr/src/mono/mcs/class/Microsoft.CSharp'

MCS     [net_4_0] Microsoft.CSharp.dll

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39):
error CS1502: The best overloaded method match for
`Mono.CSharp.New.New(Mono.CSharp.FullNamedExpression, Mono.CSharp.Arguments,
Mono.CSharp.Location)' has some invalid arguments

/usr/src/mono/mcs/class/lib/net_4_0/Mono.CSharp.dll (Location of the symbol
related to previous error)

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39):
error CS1503: Argument `#1' cannot convert `Mono.CSharp.Expression'
expression to type `Mono.CSharp.FullNamedExpression'

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38):
error CS1502: The best overloaded method match for
`Microsoft.CSharp.RuntimeBinder.CSharpBinder.CSharpBinder(System.Dynamic.Dyn
amicMetaObjectBinder, Mono.CSharp.Expression,
System.Dynamic.DynamicMetaObject)' has some invalid arguments

Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs(49,24): (Location of the
symbol related to previous error)

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38):
error CS1503: Argument `#2' cannot convert `object' expression to type
`Mono.CSharp.Expression'

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(59,32):
error CS1061: Type `object' does not contain a definition for
`AddRestrictions' and no extension method `AddRestrictions' of type `object'
could be found (are you missing a using directive or an assembly reference?)

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(60,32):
error CS1061: Type `object' does not contain a definition for
`AddRestrictions' and no extension method `AddRestrictions' of type `object'
could be found (are you missing a using directive or an assembly reference?)

Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(62,39):
error CS1061: Type `object' does not contain a definition for `Bind' and no
extension method `Bind' of type `object' could be found (are you missing a
using directive or an assembly reference?)

Compilation failed: 7 error(s), 0 warnings

 

Thanks in advance!

Alex

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100610/a3786413/attachment.html 


More information about the Mono-devel-list mailing list