[Mono-list] Error building mcs sources

Sebastien Pouliot Sebastien Pouliot <spouliot@videotron.ca>
Sat, 16 Nov 2002 10:33:20 -0500


Hello Carlos,

I'm not sure exactly what's your problem. However one of the first error you
seem to have come from CryptographicUnexpectedOperationExcpetion.cs.

I modified this file yesterday. I didn't have any problem building the whole
project after the patch and all the tests runs fine.
But... I'm building under Windows - so it's difficult to compare my build
log with yours (Linux/Spanish).

As for the modification I added the following constructor:

 protected CryptographicUnexpectedOperationException (SerializationInfo
info, StreamingContext context)
  : base (info, context)
 {
 }

You may try to remove it - or fetch an earlier version of the file (this is
the first change in this file since mono-0.16).

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot@motus.com
home: spouliot@videotron.ca

----- Original Message -----
From: "Carlos Guzmán Álvarez" <carlosga@telefonica.net>
To: "Mono-List" <mono-list@ximian.com>
Sent: Saturday, November 16, 2002 5:41 AM
Subject: [Mono-list] Error building mcs sources


> Hello:
>
> I´m trying to build the latest cvs sources of the mcs on linux ( Red Hat
> 8.0 ) and it gives the next error:
>
>
> if test x = xWindows_NT; then make linux; else make -f makefile.gnu; fi
> make[1]: Cambiando a directorio `/home/linux/go-mono/mcs'
> for i in jay mcs class nunit monoresgen ilasm ; do \
> make -C $i -f makefile.gnu all || exit 1; \
> done
> make[2]: Cambiando a directorio `/home/linux/go-mono/mcs/jay'
> make -f makefile linux
> make[3]: Cambiando a directorio `/home/linux/go-mono/mcs/jay'
> make[3]: No se hace nada para `linux'.
> make[3]: Saliendo directorio `/home/linux/go-mono/mcs/jay'
> make[2]: Saliendo directorio `/home/linux/go-mono/mcs/jay'
> make[2]: Cambiando a directorio `/home/linux/go-mono/mcs/mcs'
> make[2]: No se hace nada para `all'.
> make[2]: Saliendo directorio `/home/linux/go-mono/mcs/mcs'
> make[2]: Cambiando a directorio `/home/linux/go-mono/mcs/class'
> make[3]: Cambiando a directorio `/home/linux/go-mono/mcs/class/corlib'
> MONO_PATH= mono ../../mcs/mcs.exe --target library --noconfig -o
> ../../class/lib/corlib.dll --unsafe --nostdlib @.response
> syntax error, expecting end-of-file EOF ABSTRACT CLASS
> DELEGATE ENUM EXTERN INTERFACE INTERNAL NAMESPACE
> NEW OVERRIDE PRIVATE PROTECTED PUBLIC READONLY
> SEALED STATIC STRUCT UNSAFE USING VIRTUAL VOLATILE
> OPEN_BRACKET
>
System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs
> (1,1), Token: OP_SHIFT_LEFT   : Parsing error 
> Mono.CSharp.yyParser.yyException: irrecoverable syntax error
> in <0x006f6> 00 Mono.CSharp.CSharpParser:yyparse
> (Mono.CSharp.yyParser.yyInput)
> in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()
> 
> syntax error, expecting end-of-file EOF ABSTRACT CLASS
> DELEGATE ENUM EXTERN INTERFACE INTERNAL NAMESPACE
> NEW OVERRIDE PRIVATE PROTECTED PUBLIC READONLY
> SEALED STATIC STRUCT UNSAFE USING VIRTUAL VOLATILE
> OPEN_BRACKET
> System.Security.Cryptography/HashAlgorithm.cs (1,1), Token:
> OP_SHIFT_LEFT   : Parsing error 
> Mono.CSharp.yyParser.yyException: irrecoverable syntax error
> in <0x006f6> 00 Mono.CSharp.CSharpParser:yyparse
> (Mono.CSharp.yyParser.yyInput)
> in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()
> 
> syntax error, expecting end-of-file EOF ABSTRACT CLASS
> DELEGATE ENUM EXTERN INTERFACE INTERNAL NAMESPACE
> NEW OVERRIDE PRIVATE PROTECTED PUBLIC READONLY
> SEALED STATIC STRUCT UNSAFE USING VIRTUAL VOLATILE
> OPEN_BRACKET
> System.Security.Cryptography/RC2.cs (1,1), Token: OP_SHIFT_LEFT   :
> Parsing error 
> Mono.CSharp.yyParser.yyException: irrecoverable syntax error
> in <0x006f6> 00 Mono.CSharp.CSharpParser:yyparse
> (Mono.CSharp.yyParser.yyInput)
> in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()
> 
> syntax error, expecting end-of-file EOF ABSTRACT CLASS
> DELEGATE ENUM EXTERN INTERFACE INTERNAL NAMESPACE
> NEW OVERRIDE PRIVATE PROTECTED PUBLIC READONLY
> SEALED STATIC STRUCT UNSAFE USING VIRTUAL VOLATILE
> OPEN_BRACKET
> System.Security.Cryptography/SHA1CryptoServiceProvider.cs (1,1),
> Token: OP_SHIFT_LEFT   : Parsing error 
> Mono.CSharp.yyParser.yyException: irrecoverable syntax error
> in <0x006f6> 00 Mono.CSharp.CSharpParser:yyparse
> (Mono.CSharp.yyParser.yyInput)
> in <0x0006b> 00 Mono.CSharp.CSharpParser:parse ()
> 
> System.Security.Cryptography/KeyedHashAlgorithm.cs(15) error CS0246:
> Cannot find type `HashAlgorithm'
> System.Security.Cryptography/HMACSHA1.cs(144) error CS0146: Class
> definition is circular:
`System.Security.Cryptography.KeyedHashAlgorithm'
> System.Security.Cryptography/HMACSHA1.cs(144) error CS0246: Cannot
> find type `KeyedHashAlgorithm'
> System.Security.Cryptography/MACTripleDES.cs(106) error CS0146: Class
> definition is circular:
`System.Security.Cryptography.KeyedHashAlgorithm'
> System.Security.Cryptography/MACTripleDES.cs(106) error CS0246:
> Cannot find type `KeyedHashAlgorithm'
> System.Security.Cryptography/MD5.cs(19) error CS0246: Cannot find
> type `HashAlgorithm'
> System.Security.Cryptography/MD5CryptoServiceProvider.cs(15) error
> CS0146: Class definition is circular:
`System.Security.Cryptography.MD5'
> System.Security.Cryptography/MD5CryptoServiceProvider.cs(15) error
> CS0246: Cannot find type `MD5'
> System.Security.Cryptography/RC2CryptoServiceProvider.cs(10) error
> CS0246: Cannot find type `RC2'
> System.Security.Cryptography/SHA1.cs(19) error CS0246: Cannot find
> type `HashAlgorithm'
> System.Security.Cryptography/SHA256.cs(19) error CS0246: Cannot find
> type `HashAlgorithm'
> System.Security.Cryptography/SHA256Managed.cs(19) error CS0146: Class
> definition is circular: `System.Security.Cryptography.SHA256'
> System.Security.Cryptography/SHA256Managed.cs(19) error CS0246:
> Cannot find type `SHA256'
> System.Security.Cryptography/SHA384.cs(19) error CS0246: Cannot find
> type `HashAlgorithm'
> System.Security.Cryptography/SHA384Managed.cs(17) error CS0146: Class
> definition is circular: `System.Security.Cryptography.SHA384'
> System.Security.Cryptography/SHA384Managed.cs(17) error CS0246:
> Cannot find type `SHA384'
> System.Security.Cryptography/SHA512.cs(19) error CS0246: Cannot find
> type `HashAlgorithm'
> System.Security.Cryptography/SHA512Managed.cs(17) error CS0146: Class
> definition is circular: `System.Security.Cryptography.SHA512'
> System.Security.Cryptography/SHA512Managed.cs(17) error CS0246:
> Cannot find type `SHA512'
> System.Security.Cryptography/AsymmetricSignatureDeformatter.cs(45)
> error CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/AsymmetricSignatureFormatter.cs(45)
> error CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/HMACSHA1.cs(34) error CS0246: Cannot
> find type `HashAlgorithm'
> System.Security.Cryptography/HMACSHA1.cs(59) error CS0246: Cannot
> find type `HashAlgorithm'
> System.Security.Cryptography/RC2CryptoServiceProvider.cs(16) error
> CS0246: Cannot find type `RC2'
> System.Security.Cryptography/SignatureDescription.cs(113) error
> CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSACryptoServiceProvider.cs(133) error
> CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSACryptoServiceProvider.cs(152) error
> CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSAPKCS1SignatureDeformatter.cs(17)
> error CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSAPKCS1SignatureDeformatter.cs(58)
> error CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSAPKCS1SignatureFormatter.cs(17) error
> CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/RSAPKCS1SignatureFormatter.cs(41) error
> CS0246: Cannot find type `HashAlgorithm'
> System.Security.Cryptography/PasswordDeriveBytes.cs(28) error CS0246:
> Cannot find type `HashAlgorithm'
> Compilation failed: 32 error(s), 0 warnings
> make[3]: Saliendo directorio `/home/linux/go-mono/mcs/class/corlib'
> make[2]: Saliendo directorio `/home/linux/go-mono/mcs/class'
> make[1]: Saliendo directorio `/home/linux/go-mono/mcs'
>
>
>
>
> Best regards
> Carlos Guzmán Álvarez
> Vigo-Spain
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>