[Mono-devel-list] Problem when building Mono from svn this morning...

Bill Middleton flashdict at gmail.com
Fri Jun 24 04:45:12 EDT 2005


My experience has been that it's easier to run make clean before updating 
svn. Does this make sense? If configure.in <http://configure.in> or any 
Makefile template changes then one can't make clean after updating without 
re-autogen'ing. Of course, if any of those have changed, then autogen will 
be required anyway, but it makes the process go smoother to do it 
beforehand. Also, dependencies may have changed, potentially stranding some 
object targets - although I think most clean targets are globs.

Fwiw,

Bill

On 6/24/05, miguel at ximian.com <miguel at ximian.com> wrote:
> 
> > gmcs could not load some classes?
> 
> You forgot to run `make clean' before make. You really should do that
> after updating from SVN.
> 
> >
> > make[8]: Entering directory `/home/hubert/mono/mcs/class/System'
> > MONO_PATH="../../class/lib/net_2_0:
> > $MONO_PATH" /home/hubert/mono/mono/runtime/mono-wrapper
> > ../../gmcs/gmcs.exe -d:NET_1_1 -d:NET_2_0
> > -debug /noconfig /define:XML_DEP /r:System.Xml.dll /define:SECURITY_DEP
> > /r:System.Security.dll /define:CONFIGURATION_DEP
> > /r:System.Configuration.dll /target:library /out:System.dll
> > @System.dll.sources
> >
> > ** (../../gmcs/gmcs.exe:22787): WARNING **: The class
> > System.Collections.IKeyComparer could not be loaded, used
> > in /home/hubert/mono/mcs/class/lib/net_2_0/System.Xml.dll (token
> > 0x010000a8)
> >
> > Unhandled Exception: System.NullReferenceException: Object reference not
> > set to an instance of an object
> > in <0x00000> <unknown method>
> > in (wrapper managed-to-native)
> > System.Reflection.MonoMethodInfo:get_method_info
> > (intptr,System.Reflection.MonoMethodInfo&)
> > in <0x00025> System.Reflection.MonoMethod:get_Attributes ()
> > in <0x0000c> System.Reflection.MethodBase:get_IsVirtual ()
> > in <0x0019a> Mono.CSharp.MemberCache:AddMethods (BindingFlags bf,
> > System.Type type)
> > in <0x0002b> Mono.CSharp.MemberCache:AddMethods (System.Type type) in
> > <0x0015c> Mono.CSharp.MemberCache:.ctor (IMemberContainer container) in
> > <0x00146> Mono.CSharp.TypeHandle:.ctor (System.Type type)
> > in <0x00051> Mono.CSharp.TypeHandle:GetTypeHandle (System.Type t)
> > in <0x0000b> Mono.CSharp.TypeHandle:GetMemberCache (System.Type t) in
> > <0x001ab> Mono.CSharp.TypeManager:LookupMemberCache (System.Type t) in
> > <0x000ae> Mono.CSharp.TypeHandle:.ctor (System.Type type)
> > in <0x00051> Mono.CSharp.TypeHandle:GetTypeHandle (System.Type t)
> > in <0x0000b> Mono.CSharp.TypeHandle:GetMemberCache (System.Type t) in
> > <0x001ab> Mono.CSharp.TypeManager:LookupMemberCache (System.Type t) in
> > <0x00046> Mono.CSharp.TypeContainer:get_BaseCache ()
> > in <0x0000f> Mono.CSharp.TypeContainer:FindBaseMemberWithSameName
> > (System.String name, Boolean ignore_methods)
> > in <0x00051> Mono.CSharp.FieldBase:CheckBase ()
> > in <0x00075> Mono.CSharp.FieldMember:Define ()
> > in <0x0001f> Mono.CSharp.Field:Define ()
> > in <0x00077>
> > Mono.CSharp.TypeContainer+MemberCoreArrayList:DefineContainerMembers ()
> > in <0x00014> Mono.CSharp.TypeContainer:DefineContainerMembers
> > (Mono.CSharp.MemberCoreArrayList mcal)
> > in <0x002f8> Mono.CSharp.TypeContainer:DoDefineMembers ()
> > in <0x0002b> Mono.CSharp.TypeContainer:DefineMembers
> > (Mono.CSharp.TypeContainer container)
> > in <0x00279> Mono.CSharp.RootContext:PopulateTypes ()
> > in <0x00b0b> Mono.CSharp.Driver:MainDriver (System.String[] args)
> > in <0x0001f> Mono.CSharp.Driver:Main (System.String[] args)
> > make[8]: *** [../../class/lib/net_2_0/System.dll] Erreur 1
> > make[8]: Leaving directory `/home/hubert/mono/mcs/class/System'
> > make[7]: *** [do-all] Erreur 2
> > make[7]: Leaving directory `/home/hubert/mono/mcs/class/System'
> > make[6]: *** [all-recursive] Erreur 1
> > make[6]: Leaving directory `/home/hubert/mono/mcs/class'
> > make[5]: *** [all-recursive] Erreur 1
> > make[5]: Leaving directory `/home/hubert/mono/mcs'
> > make[4]: *** [profile-do--net_2_0--all] Erreur 2
> > make[4]: Leaving directory `/home/hubert/mono/mcs'
> > make[3]: *** [profiles-do--all] Erreur 2
> > make[3]: Leaving directory `/home/hubert/mono/mcs'
> > make[2]: *** [all-local] Erreur 2
> > make[2]: Leaving directory `/home/hubert/mono/mono/runtime'
> > make[1]: *** [all-recursive] Erreur 1
> > make[1]: Leaving directory `/home/hubert/mono/mono'
> > make: *** [all] Erreur 2
> > _______________________________________________
> > Ce message et les éventuels documents joints peuvent contenir des
> > informations confidentielles. Au cas où il ne vous serait pas destiné,
> > nous vous remercions de bien vouloir le supprimer et en aviser
> > immédiatement l'expéditeur. Toute utilisation de ce message non conforme
> > à sa destination, toute diffusion ou publication, totale ou partielle et
> > quel qu'en soit le moyen est formellement interdite. Les communications
> > sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas
> > assurée et la société émettrice ne peut être tenue pour responsable de
> > son contenu. _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050624/f25700fc/attachment.html 


More information about the Mono-devel-list mailing list