Re: [Mono-dev] Mono Develop native menus on Mac OS X
Am 20.02.2009 um 01:12 schrieb Michael Hutchinson: > On Wed, Feb 18, 2009 at 11:23 AM, Geoff Norton > wrote: >> I have a patch somewhere or other for the menu (its 2 lines of code). >> The hotkeys I havn't looked into yet tho. We should probably move >> this >> discussion to the monodevelop-list tho. > > Unfortunately it's nowhere near as easy is this. I cleanly patched in > the main menu support, but it has *major* problems. [snip] > * menu item sensitivity is not respected, so items are always > sensitive even when they cannot be used IIUC, this is standard Mac behavior, not a major issue. Disabled menu items cannot be selected, but clicking closes the menu without doing anything. > * menu item images are not shown Menu items don't have images on the Mac. Just like on Windows, originally. > * menu items with checkboxes or radio boxes are invisible > > This is so broken that I've disabled my changes. > > IMO we need to generate the menus from the command tree completely > differently for Mac. If someone would like to volunteer, I'll tell > them how... > > It might even be viable to do it with Cocoa#. Please try to avoid the 5+ ObjC bridges. There is an official Gtk+ project for Mac OS X menu integration: http://live.gnome.org/GTK%2B/OSX/Integration Andreas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono Develop native menus on Mac OS X
On Sun, Feb 22, 2009 at 9:53 AM, Andreas Färber wrote: > > Am 20.02.2009 um 01:12 schrieb Michael Hutchinson: [...] >> * menu item sensitivity is not respected, so items are always >> sensitive even when they cannot be used > > IIUC, this is standard Mac behavior, not a major issue. Disabled menu items > cannot be selected, but clicking closes the menu without doing anything. So there is no way to indicate that a command is not currently valid? My quick google image search disagrees. >> * menu item images are not shown > > Menu items don't have images on the Mac. Just like on Windows, originally. I didn't consider this a major issue compared to the other problems anyway :) [...] >> IMO we need to generate the menus from the command tree completely >> differently for Mac. If someone would like to volunteer, I'll tell >> them how... >> > >> It might even be viable to do it with Cocoa#. > > Please try to avoid the 5+ ObjC bridges. > There is an official Gtk+ project for Mac OS X menu integration: > > http://live.gnome.org/GTK%2B/OSX/Integration This is the library I was using, and it is not suitable for MonoDevelop's menu integration. The GTK# menus MonoDevelop generates are simply too complex to be converted cleanly by a generic bridge. Please see the discussions on the monodevelop lists if you'd like more details. -- Michael Hutchinson http://mjhutchinson.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Unable to call methods on managed objects while running Mono on the iPhone
Over the past couple of weeks I have been working with getting the Mono framework up and running on the iPhone and I am darn close to have it all working.. .I have been able to get the AOT compilation to work and was able this morning to startup Mono in full aot mode on the device. Big thanks to Zoltan Varga for helping me through all the roadblocks I ran into. I have been working with a SVN HEAD version that I updated last week sometime. Next step I took was to try to invoke some methods on classes in the msorlib assembly to see if I could execute managed code and this is where I ran into a new road block.. It looks like I am only able to execute .ctor methods!? During the startup of Mono it creates a few exceptions (OutOfMemoryException etc..) and it invokes its constructor method and passes in parameters. This works just fine...and here it is executing managed code. However, I tried to execute the ToString() method on an instance of the Exception class and then the program is interrupted and stopped in the prolog for the function mono_get_lmf_addr.. if I continue to run the program I get a BAD_INSTRUCTION message and the whole thing shuts down... Here is the code I am trying to execute... MonoDomain * domain = mono_jit_init(""); MonoAssembly* msCorlib = mono_domain_assembly_open (domain,"mscorlib"); MonoImage* image = mono_assembly_get_image(msCorlib); MonoClass *klass = mono_class_from_name (image, "System", "Exception"); MonoObject* o = mono_object_new (domain, klass); MonoMethodDesc* methodDesc = mono_method_desc_new("System.Object:ToString", TRUE); MonoMethod* toStringMethod = mono_method_desc_search_in_class(methodDesc, klass); MonoObject* result = mono_runtime_invoke(toStringMethod, o, NULL, NULL); I don't know if it would help you but here is the assembly where it all stops... mono_get_lmf_addr 0x001d5bdc <+> push {r4, r5, r7, lr} 0x001d5bde <+0002> add r7, sp, #8 0x001d5be0 <+0004> sub sp, #12 <-- stops here 0x001d5be2 <+0006> ldr r3, [pc, #76] (0x1d5c30 ) 0x001d5be4 <+0008> add r3, pc 0x001d5be6 <+0010> ldr r3, [r3, #0] 0x001d5be8 <+0012> adds r0, r3, #0 0x001d5bea <+0014> bl 0x3e640 I get the same problem if I try to run other methods on other objects or static methods as well...Only constructor methods seems to work. It looks to me that the stack isn't setup properly since it always throws the EXC_BAD_INSTRUCTION when trying to access the stack pointer. I have been banging my head against this problem for two days and right now I am not able to figure out how to troubleshoot this. If there is anyone out there that have any suggestion on how I should go about troubleshooting this I would really appreciate it. It stings a bit to come this close and not be able to cross the finish line... Thanks, -- View this message in context: http://www.nabble.com/Unable-to-call-methods-on-managed-objects-while-running-Mono-on-the-iPhone-tp22155202p22155202.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Unable to call methods on managed objects while running Mono on the iPhone
An update on this one...I found a setting in XCode that said "Compile for Thumb" and that one was set to true. I unchecked it and recompiled everything and now the code doesn't stop at the same position anymore...now I get an EXC_BAD_ACCESS on the get_hazardous_pointer...so I am still not there but at least I cleared the hurdle I first posted about. Since thumb instructions are 16 bits and ARM mode are 32 bits things must have not been aligned properly and hence the BAD_INSTRUCTION exceptions. This is the call stack right now... #0 0x0007e0cc in get_hazardous_pointer at domain.c:276 #1 0x0007e4e8 in mono_jit_info_table_find at domain.c:370 #2 0x0020f17c in mono_get_generic_context_from_code at mini-generic-sharing.c:26 #3 0x0020f5a8 in mono_convert_imt_slot_to_vtable_slot at mini-trampolines.c:47 #4 0x0021044c in mono_magic_trampoline at mini-trampolines.c:348 #5 0x03904524 in method_order_end I guess my next step is to research my hazardous_pointers mobbe wrote: > > Over the past couple of weeks I have been working with getting the Mono > framework up and running on the iPhone and I am darn close to have it all > working.. .I have been able to get the AOT compilation to work and was > able this morning to startup Mono in full aot mode on the device. Big > thanks to Zoltan Varga for helping me through all the roadblocks I ran > into. I have been working with a SVN HEAD version that I updated last > week sometime. > > Next step I took was to try to invoke some methods on classes in the > msorlib assembly to see if I could execute managed code and this is where > I ran into a new road block.. > > It looks like I am only able to execute .ctor methods!? During the startup > of Mono it creates a few exceptions (OutOfMemoryException etc..) and it > invokes its constructor method and passes in parameters. This works just > fine...and here it is executing managed code. > > However, I tried to execute the ToString() method on an instance of the > Exception class and then the program is interrupted and stopped in the > prolog for the function mono_get_lmf_addr.. if I continue to run the > program > I get a BAD_INSTRUCTION message and the whole thing shuts down... > > Here is the code I am trying to execute... > > MonoDomain * domain = mono_jit_init(""); > MonoAssembly* msCorlib = mono_domain_assembly_open (domain,"mscorlib"); > MonoImage* image = mono_assembly_get_image(msCorlib); > > MonoClass *klass = mono_class_from_name (image, "System", "Exception"); > MonoObject* o = mono_object_new (domain, klass); > > MonoMethodDesc* methodDesc = > mono_method_desc_new("System.Object:ToString", TRUE); > MonoMethod* toStringMethod = mono_method_desc_search_in_class(methodDesc, > klass); > MonoObject* result = mono_runtime_invoke(toStringMethod, o, NULL, NULL); > > > I don't know if it would help you but here is the assembly where it all > stops... > mono_get_lmf_addr > 0x001d5bdc <+> push {r4, r5, r7, lr} > 0x001d5bde <+0002> add r7, sp, #8 > 0x001d5be0 <+0004> sub sp, #12 <-- stops here > 0x001d5be2 <+0006> ldr r3, [pc, #76] (0x1d5c30 > ) > 0x001d5be4 <+0008> add r3, pc > 0x001d5be6 <+0010> ldr r3, [r3, #0] > 0x001d5be8 <+0012> adds r0, r3, #0 > 0x001d5bea <+0014> bl 0x3e640 > > I get the same problem if I try to run other methods on other objects or > static methods as well...Only constructor methods seems to work. > > It looks to me that the stack isn't setup properly since it always throws > the EXC_BAD_INSTRUCTION when trying to access the stack pointer. > > I have been banging my head against this problem for two days and right > now I am not able to figure out how to troubleshoot this. If there is > anyone out there that have any suggestion on how I should go about > troubleshooting this I would really appreciate it. It stings a bit to come > this close and not be able to cross the finish line... > > > Thanks, > > -- View this message in context: http://www.nabble.com/Unable-to-call-methods-on-managed-objects-while-running-Mono-on-the-iPhone-tp22155202p2216.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Logging profiler timings are way off
Sorry for the *late* reply... I've had problems with my mailbox lately :-( On Sat, 2009-01-17 at 17:11 +0100, Paul Melis wrote: > While looking at the GC statistics after a profiler run which used > --profile=logging:c I noticed the following times that seem to be the > result of overflow/uninitialized vars: > [...] > What's a good way to move forward on this? You should try to use the "force-accurate-timer" profiler option as documented on the "mono(1)" man page. What happens is likely that rtdsc ends up being non-monotonic, but since the timer values are handled as unsigned quantities if they underflow they become huge numbers. I'm still pondering if using the accurate (and slower) timer should be the default instead... Thanks, Massi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] DllNotFoundException after upgrading to Mono 2.2
I'm doing some SWIG pInvoke stuff, which worked until I upgraded to Mono 2.2. Worth noting, my situation forces me to install mono to a non-standard path (I don't have root). I tried adding an entry to the $installpath/etc/mono/config, but no luck. -- View this message in context: http://www.nabble.com/DllNotFoundException-after-upgrading-to-Mono-2.2-tp21901794p21901794.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Thread shutdown hook patch
All I can add is that the logging statistical profiler needs it. As it is in svn it does not crash anymore, but it terminates when the main thread ends. So, for instance, it is totally unable to profile "xsp2 --nonstop" (while with this patch, and using the callback, is works fine). Thanks! Massi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Help about how to start?
Hi, I wish to contribute the project as a developer. But I don't know how can I help. So please let me know how can I understand the project? Thanks, Shweta -- View this message in context: http://www.nabble.com/Help-about-how-to-start--tp21958241p21958241.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono is losing session when cookieless="true"
Hi, I have a problem, I need to use cookieless session. It works very good on my windows machine (Windows XP 5.1 Build 2600, IIS 5.1), I experience no issues. However when I migrate my project to mono server, mono is losing session. I have trouble reading data from Session object. My application goes down :( When I set cookieless to "false" everything is ok. However I can't use session with cookies because of environment which I work in. Requirement for my application is to not use cookies. I'm fighting with this some time and can't solve :( Please advise, Many thanks, Michal -- View this message in context: http://www.nabble.com/Mono-is-losing-session-when-cookieless%3D%22true%22-tp21984030p21984030.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Developing using Mono/Gtk# Vs Mono.WinForms (Windows & Linux)
Tom Opgenorth wrote: >> What could be better to use Gtk# or Winforms? > The rule of thumb would use: if the majority of users are Windows, > use WinForms. If Linux, use GTK#. Of course, this is assuming that > you're equally skilled in both. Bear in mind that if one chooses Gtk# one will have to include it with one's Windows packages, as the vast majority of Windows users do not have it installed already. Winforms is available in both .Net and Mono as standard. The desktop integration of WinForms in Mono could be improved if someone does the work to allow use of native widgets. I believe there was a GSoC project working on that, but I do not know if there has been any progress lately. On a related note, I would like to see a Qt backend for WinForms available as well. I believe the KDE project is still working on Qyoto. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] pInvoke exceptions after installing Mono2.2
In release 1.9.1, my pInvoke works, but OpenFileDialog crashes (fixed in 2.2). In release 2.2, OpenFileDialog works, but pInvoke crashes. Technically I can't install Mono2.2, because I don't have root. So I install 1.9.1, then build 2.2 from source and install on top of 1.9.1. So, right off the bat, I'm dealing with a questionable install. If there's another way around this install issue, I'd definitely like to here it. After installing 2.2, I'm getting DllNotFoundExceptions. I've read the FAQ on this. Its a good one, and it got me running in 1.9.1. But the exact same code fails after installing 2.2. -- View this message in context: http://www.nabble.com/pInvoke-exceptions-after-installing-Mono2.2-tp22002905p22002905.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can't debug from monodevelop with 2.2
Looks like your debugger is not in sync with your installed mono. If you compiled the debugger from sources, you should recompile it again. El dj 19 de 02 de 2009 a les 16:57 +0100, en/na pablosantosl...@terra.es va escriure: > Hi, > > I've upgraded my develop machine main mono installation to 2.2 and now I > can't debug using monodevelop (ouch!). > > Whenever it tries to launch a process it says it needs Mono.Cecil > 0.6.8.8607 but now what I have is something like 0.6.9.xxx > > I've tried with the latest monodevelop (just downloaded from the > monodevelop site using the 1 click install), but same problem... > > Any pointers will be welcomed since we're *all* moving to MD today... > > Thanks, > > pablo > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can't debug from monodevelop with 2.2
El dj 19 de 02 de 2009 a les 21:19 +0100, en/na pablosantosl...@terra.es va escriure: > Hi Lluis, > > Just installed from the official repositories: mono 2.2 and your last MD. > > It works with mono 2.0.1 > > I'm using OpenSuse 11 > > Another question: it seems the variable inspection does not work with > generic collections, does it? Nope, due to limitations in the Mono debugger, inspection of generic collections may not work. > > Thanks, > pablo > > Lluis Sanchez escribió: > > Looks like your debugger is not in sync with your installed mono. If you > > compiled the debugger from sources, you should recompile it again. > > > > El dj 19 de 02 de 2009 a les 16:57 +0100, en/na pablosantosl...@terra.es > > va escriure: > > > >> Hi, > >> > >> I've upgraded my develop machine main mono installation to 2.2 and now I > >> can't debug using monodevelop (ouch!). > >> > >> Whenever it tries to launch a process it says it needs Mono.Cecil > >> 0.6.8.8607 but now what I have is something like 0.6.9.xxx > >> > >> I've tried with the latest monodevelop (just downloaded from the > >> monodevelop site using the 1 click install), but same problem... > >> > >> Any pointers will be welcomed since we're *all* moving to MD today... > >> > >> Thanks, > >> > >> pablo > >> ___ > >> Mono-devel-list mailing list > >> Mono-devel-list@lists.ximian.com > >> http://lists.ximian.com/mailman/listinfo/mono-devel-list > >> > > > > > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Bug in DataGridView.ScrollBars
Dear friends developers. The property ScrollBars.Vertical or ScrollBars.Horizontal in the DataGridView control is not working properly. The horizontal and vertical bar is always visible. Attached the following changes to correct operation. Marcelo Marques Inácio marceloina...@hotmail.com Telefones: (62) 9969-3839 Celular CC: mig...@ximian.com From: mig...@novell.com To: marceloina...@hotmail.com Subject: Re: Bug in DataGridView.ScrollBars Date: Thu, 19 Feb 2009 08:41:58 -0500 Hello Marcelo, Would you mind sending this as a patch? It would be even better if you post this to the mono-devel-list@lists.ximian.com for the patch to be reviewed and discussed. Miguel. On Feb 18, 2009, at 7:26 PM, Marcelo Marques Inácio wrote: Dear Miguel; Sorry, but the correct code for the attribute "scrollbars" is that it was attached. thanks Marcelo Marques Inácio marceloina...@hotmail.com Telefones: (62) 9969-3839 Celular _ Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! http://mobile.live.com/signup/signup2.aspx?lc=pt-br//# // Atribute ScrollBars //# [DefaultValue (ScrollBars.Both)] [Localizable (true)] public ScrollBars ScrollBars { get { return scrollBars; } set { if (!Enum.IsDefined(typeof(ScrollBars), value)) { throw new InvalidEnumArgumentException("Invalid ScrollBars value."); } /// *** InvalidOperationException *** /// The System.Windows.Forms.DataGridView is unable to /// scroll due to a cell change that cannot be committed /// or canceled. /// scrollBars = value; if (value == ScrollBars.Vertical | value == ScrollBars.Both) { verticalScrollBar.Visible = true; } else { verticalScrollBar.Visible = false; } if (value == ScrollBars.Horizontal | value == ScrollBars.Both) { horizontalScrollBar.Visible = true; } else { horizontalScrollBar.Visible = false; } } } //# // Atribute ScrollBars //# //# // Function OnPaint //# ... if (AutoSize) { if (gridWidth > Size.Width || gridHeight > Size.Height) { Size = new Size(gridWidth, gridHeight); } } else { if (horizontalScrollBar.Visible && gridWidth > Size.Width) { horizontalVisible = true; } if (verticalScrollBar.Visible && gridHeight > Size.Height) { verticalVisible = true; } if (verticalScrollBar.Visible && horizontalScrollBar.Visible && (gridHeight + horizontalScrollBar.Height) > Size.Height) { verticalVisible = true; } if (horizontalScrollBar.Visible && verticalScrollBar.Visible && (gridWidth + verticalScrollBar.Width) > Size.Width) { horizontalVisible = true; } if (horizontalVisible) { horizontalScrollBar.Minimum = 0; horizontalScrollBar.Maximum = gridWidth; horizontalScrollBar.SmallChange = Columns[first_col_index].Width; int largeChange = ClientSize.Width - rowHeadersWidth; if (largeChange <= 0) largeChange = ClientSize.Width; horizontalScrollBar.LargeChange = largeChange; } if (verticalVi
[Mono-dev] Mono.SIMD
I have done some performance tests of SIMD under windows. Results tests in ms: In MS C 235 (Visual Studio Release Mode With SIMD) In MS C 360 (Visual Studio Release Mode With 4D Float) In Mono C#453 (With Mono SIMD) In Mono C#562 (With Mono 4D Float) In MS C# 609 (Visual Studio With 4D Float) In MS C 672 (Visual Studio Debug Mode) I'm just surprise by difference between C SIMD and mono SIMD version. Is Mono.SIMD under linux speeder than under windows ? Johann. My mono code for test: using Mono.Simd; using System; using Mono; public struct Color { public float r,g,b,a; }; public class TestMonoSIMD { public Color m_pixels; const int w = 4096; const int h = 4096; public static void Main () { //Debug Console.WriteLine("AccelMode: {0}", Mono.Simd.SimdRuntime.AccelMode ); //Without SIMD DateTime start1 = DateTime.Now; Color ret1 = Gradient(); TimeSpan ts1 = DateTime.Now - start1; Console.WriteLine("-FLOAT {0} {1}", ts1, ret1); //With SIMD DateTime start2 = DateTime.Now; Vector4f ret2 = GradientSIMD(); TimeSpan ts2 = DateTime.Now - start2; Console.WriteLine("-SIMD {0} {1}", ts2, ret2); } public static Color Gradient() { float finv_WH = 1.0f / (float)(w*h); Color ret = new Color(); ret.r=ret.g=ret.b=ret.a=0.0f; Color a = new Color(); Color b = new Color(); Color c = new Color(); Color d = new Color(); a.r=0.0f; a.g=0.0f; a.b=1.0f; a.a=1.0f; b.r=0.0f; b.g=1.0f; b.b=0.0f; b.a=1.0f; c.r=1.0f; c.g=0.0f; c.b=0.0f; c.a=1.0f; d.r=0.5f; d.g=0.5f; d.b=1.0f; d.a=1.0f; //Process operator for (int y=0; yhttp://www.nabble.com/Mono.SIMD-tp22116483p22116483.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Making your own programming language for mono
Hi everyone, I just want to know if it's possible to create your own language (a very simple one and probably not object oriented) for mono (for academy purpose of a course at university), and if this task is possible, I want to know just what steps probably I should follow to do this task, like: create lexer in this way, create parser that generate this kind of AST, then pass the AST to this function to generate code or something like that. Thanks for any help. -- View this message in context: http://www.nabble.com/Making-your-own-programming-language-for-mono-tp22147566p22147566.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Making your own programming language for mono
As long as you can emit IL in a PE-format executable (basically, if you can emit an executable like gmcs/csc/etc.), Mono can run it. --Bojan -Original Message- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of xiul Sent: Sunday, February 22, 2009 9:52 AM To: mono-devel-list@lists.ximian.com Subject: [Mono-dev] Making your own programming language for mono Hi everyone, I just want to know if it's possible to create your own language (a very simple one and probably not object oriented) for mono (for academy purpose of a course at university), and if this task is possible, I want to know just what steps probably I should follow to do this task, like: create lexer in this way, create parser that generate this kind of AST, then pass the AST to this function to generate code or something like that. Thanks for any help. -- View this message in context: http://www.nabble.com/Making-your-own-programming-language-for-mono-tp221475 66p22147566.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Unable to compile from svn
Hi all, I get the following error when trying to compile from svn. CC mono-hash.lo mono-hash.c: In function 'g_hash_node_new': mono-hash.c:401: error: 'node_mem_chunk' undeclared (first use in this function) mono-hash.c:401: error: (Each undeclared identifier is reported only once mono-hash.c:401: error: for each function it appears in.) make[3]: *** [mono-hash.lo] Error 1 As far as I can see node_mem_chunk is defined as #if defined(HAVE_NULL_GC) static GMemChunk *node_mem_chunk = NULL; #endif #if defined(HAVE_SGEN_GC) static MonoGHashNode *node_free_lists [4] = {NULL}; static void *hash_descr = NULL; static GMemChunk *node_mem_chunk = NULL; #else static MonoGHashNode *node_free_list = NULL; #endif My config is mcs source:$(top_srcdir)/../mcs olive source: GC:included TLS: __thread SIGALTSTACK: yes Engine:Building and using the JIT 2.0 Beta: yes 2.1 Alpha: yes JNI support: IKVM Native libgdiplus:assumed to be installed zlib: oprofile: no BigArrays: no DTrace:no Parallel Mark: yes Kojo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list