[Mono-dev] Not sure where the problem is here (building nclass 1.09)

Paul paul at all-the-johnsons.co.uk
Thu Sep 25 12:25:31 EDT 2008


Hi,

I'm building nclass against Mono2.0RC1 on my Fedora rawhide box and have
hit a problem

            Buildfile:
file:///home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Translations.build
            Target framework: Mono 2.0 Profile
            Target(s) specified: compile 
            
            compile:
            
                  [csc] Compiling 2 files to
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/bin/NClass.Translations.dll'.
                           [resgen] Read in 292 resources from
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Strings.es.resx'
                           [resgen] Writing resource file...  Done.
                           [resgen] Read in 294 resources from
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Strings.hu.resx'
                           [resgen] Writing resource file...  Done.
                           [resgen] Read in 261 resources from
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Strings.pt-BR.resx'
                           [resgen] Writing resource file...  Done.
                           [resgen] Read in 293 resources from
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Strings.resx'
                           [resgen] Writing resource file...  Done.
                           [resgen] Read in 293 resources from
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/src/Translations/Strings.ru.resx'
                           [resgen] Writing resource file...  Done.
                               [al] Compiling 1 files to
'/home/paul/rpmbuild/BUILD/NClass_v1.09_src/bin/es/NClass.Translations.resources.dll'.
                               [al] ** (/usr/lib/mono/1.0/al.exe:25819):
WARNING **: Missing method .ctor in
assembly /home/paul/rpmbuild/BUILD/NClass_v1.09_src/bin/NClass.Translations.dll, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
                               [al] ** (/usr/lib/mono/1.0/al.exe:25819):
WARNING **: The class
System.Runtime.CompilerServices.RuntimeCompatibilityAttribute could not
be loaded, used in NClass.Translations
                               [al] ** (/usr/lib/mono/1.0/al.exe:25819):
WARNING **: Can't find custom attr constructor
image: /home/paul/rpmbuild/BUILD/NClass_v1.09_src/bin/NClass.Translations.dll mtoken: 0x0a000023
                               [al] Unhandled Exception:
System.TypeLoadException: Could not load type
'System.Runtime.CompilerServices.RuntimeCompatibilityAttribute' from
assembly 'NClass.Translations'.
                               [al]   at (wrapper managed-to-native)
System.MonoCustomAttrs:GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool)
                               [al]   at
System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider
obj, System.Type attributeType) [0x00000] 
                               [al]   at
System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider
obj, System.Type attributeType, Boolean inherit) [0x00000] 
                               [al]   at
System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider
obj, Boolean inherit) [0x00000] 
                               [al]   at
System.Reflection.Assembly.GetCustomAttributes (Boolean inherit)
[0x00000] 
                               [al]   at
Mono.AssemblyLinker.AssemblyLinker.DoIt () [0x00000] 
                               [al]   at
Mono.AssemblyLinker.AssemblyLinker.DynMain (System.String[] args)
[0x00000] 
                               [al]   at
Mono.AssemblyLinker.AssemblyLinker.Main (System.String[] args)
[0x00000] 
            
            BUILD FAILED - 0 non-fatal error(s), 12 warning(s)
            
            External Program Failed: /usr/lib/mono/1.0/al.exe (return
code was 1)
 
Is this a mono problem or something up elsewhere? The first error
certainly looks to be from one of the libraries.

TTFN

Paul

-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080925/a2703e16/attachment-0001.bin 


More information about the Mono-devel-list mailing list