[Mono-devel-list] gmcs doesn't build

Belbin, Peter PBelbin at McLeodUSA.com
Wed May 19 14:36:02 EDT 2004


The problem below aside, there is a further problem with class.cs (2465) and
later, which prevents me from building the bootstrap target properly.

make[6]: Entering directory `/home/pbelbin/projects/monodaily/mcs/gmcs'
MONO_PATH="../class/lib/net_2_0_bootstrap:$MONO_PATH" mono ../mcs/mcs.exe -2
/target:exe /out:gmcs.exe AssemblyInfo.cs anonymous.cs assign.cs
attribute.cs driver.cs cs-tokenizer.cs cfold.cs class.cs codegen.cs const.cs
constant.cs convert.cs decl.cs delegate.cs enum.cs ecore.cs expression.cs
flowanalysis.cs generic.cs iterators.cs literal.cs location.cs modifiers.cs
namespace.cs parameter.cs pending.cs report.cs rootcontext.cs statement.cs
support.cs typemanager.cs symbolwriter.cs tree.cs CryptoConvert.cs
cs-parser.cs
class.cs(2465) error CS1502: The best overloaded match for method '
Mono.CSharp.TypeContainer..ctor (Mono.CSharp.NamespaceEntry,
Mono.CSharp.TypeContainer, Mono.CSharp.MemberName, Mono.CSharp.Attributes,
Mono.CSharp.Location)' has some invalid arguments
class.cs(2465) error CS1503: Argument 2: Cannot convert from 'string' to
'Mono.CSharp.MemberName'
class.cs(2465) error CS1501: No overload for method
`Mono.CSharp.TypeContainer' takes `5' arguments
class.cs(2465) error CS1501: Can not find a constructor for this argument
list
class.cs(2477) error CS1502: The best overloaded match for method 'bool
Mono.CSharp.Attributes.Contains (System.Type, Mono.CSharp.EmitContext)' has
some invalid arguments
class.cs(2477) error CS1503: Argument 1: Cannot convert from
'Mono.CSharp.ClassOrStruct' to 'Mono.CSharp.EmitContext'
class.cs(2477) error CS1501: No overload for method `Contains' takes `2'
arguments
class.cs(2477) error CS8006: Could not find any applicable function for this
argument list
class.cs(2486) error CS1502: The best overloaded match for method 'bool
Mono.CSharp.Attributes.Contains (System.Type, Mono.CSharp.EmitContext)' has
some invalid arguments
class.cs(2486) error CS1503: Argument 1: Cannot convert from
'Mono.CSharp.ClassOrStruct' to 'Mono.CSharp.EmitContext'
class.cs(2486) error CS1501: No overload for method `Contains' takes `2'
arguments
class.cs(2486) error CS8006: Could not find any applicable function for this
argument list
class.cs(2523) error CS1502: The best overloaded match for method '
Mono.CSharp.ClassOrStruct..ctor (Mono.CSharp.NamespaceEntry,
Mono.CSharp.TypeContainer, string, Mono.CSharp.Attributes,
Mono.CSharp.Location)' has some invalid arguments
class.cs(2523) error CS1503: Argument 2: Cannot convert from
'Mono.CSharp.MemberName' to 'string'
class.cs(2523) error CS1501: No overload for method
`Mono.CSharp.ClassOrStruct' takes `5' arguments
class.cs(2523) error CS1501: Can not find a constructor for this argument
list
class.cs(2560) error CS1502: The best overloaded match for method '
Mono.CSharp.ClassOrStruct..ctor (Mono.CSharp.NamespaceEntry,
Mono.CSharp.TypeContainer, string, Mono.CSharp.Attributes,
Mono.CSharp.Location)' has some invalid arguments
class.cs(2560) error CS1503: Argument 2: Cannot convert from
'Mono.CSharp.MemberName' to 'string'
class.cs(2560) error CS1501: No overload for method
`Mono.CSharp.ClassOrStruct' takes `5' arguments
class.cs(2560) error CS1501: Can not find a constructor for this argument
list
cs-parser.jay(2615) warning CS0162: Unreachable code detected
Compilation failed: 20 error(s), 1 warnings
make[6]: *** [gmcs.exe] Error 1
make[6]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/gmcs'
make[5]: *** [../../gmcs/gmcs.exe] Error 2
make[5]: Leaving directory
`/home/pbelbin/projects/monodaily/mcs/class/corlib'
make[4]: *** [../../class/lib/net_2_0/mscorlib.dll] Error 1
make[4]: Leaving directory
`/home/pbelbin/projects/monodaily/mcs/class/corlib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/class'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pbelbin/projects/monodaily/mcs'
make[1]: *** [all-profiles] Error 1
make[1]: Leaving directory `/home/pbelbin/projects/monodaily/mcs'
make: *** [stage3] Error 2
vaders#   

 

-----Original Message-----
From: Jaroslaw Kowalski [mailto:jaak at zd.com.pl] 
Sent: Wednesday, May 19, 2004 11:40 AM
To: mono-devel mailing list
Subject: [Mono-devel-list] gmcs doesn't build

gmcs in current CVS doesn't build:

When compiling gmcs:

attribute.cs(816) error CS1002: Expecting `;'
syntax error, got token `IF', expecting ABSTRACT BOOL BYTE CHAR CLASS CONST
DECIMAL DELEGATE DOUBLE ENUM EVENT EXPLICIT EXTERN FLOAT IMPLICIT INT
INTERFACE INTERNAL LONG NEW OBJECT OVERRIDE PRIVATE PROTECTED PUBLIC
READONLY SBYTE SEALED SHORT STATIC STRING STRUCT UINT ULONG UNSAFE USHORT
VIRTUAL VOID VOLATILE CLOSE_BRACE OPEN_BRACKET TILDE IDENTIFIER
Mono.CSharp.yyParser.yyException: irrecoverable syntax error in <0x00814>
Mono.CSharp.CSharpParser:yyparse (Mono.CSharp.yyParser.yyInput) in <0x00079>
Mono.CSharp.CSharpParser:parse ()

attribute.cs(825) error CS8025: Parsing error

Jarek

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named.  Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.



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


More information about the Mono-devel-list mailing list