[Mono-dev] Compile problem on linux ARM/EABI
Hi Damien! Have you found a solution for the problem, that mono is not compiling on linux ARM? I am trying to compile it on a Montavista Linux running on an ARM. And I get exactly the same problem with the undefined reference to 'GC_local_malloc' errors. Maybe you found out, what was the problem?? Greetx Marek ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.DllNotFoundException: libclntsh.so.10.1
Hi, I have oracle 10gR2 and mono1.2.4 installed on suse9.3 and I get the following error when I run a web page. Both oracle and mono work well on their own however when accessing the database from a web page this error occurs. Ive included both libclntsh.so.10.1 and libclntsh.so in the /usr/lib/apache2 , /usr/lib and /lib directory. Furthermore, ive made reference to these libraries in the ld.so.conf file and ive added the oracle environment variables in the .bash_profile: export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1 export ORACLE_SID=TCI export PATH=/usr/bin:/usr/sbin/:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib and I still get the same error any help would be greatly appreciated. Description: Error processing request. Error Message: HTTP 500. Stack Trace: System.DllNotFoundException: libclntsh.so.10.1 in 0x0004a (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate (intptr,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr) in 0x0001f System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate (intptr,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr) in 0x0003c System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor (System.Data.OracleClient.Oci.OciEnvironmentMode) in 0x00037 System.Data.OracleClient.Oci.OciGlue:CreateConnection (System.Data.OracleClient.OracleConnectionInfo) in 0x00028 System.Data.OracleClient.OracleConnection:Open () in 0x00038 (wrapper remoting-invoke-with-check) System.Data.OracleClient.OracleConnection:Open () in 0x0007d Oracle.WebForm1:Button1_Click (object,System.EventArgs) in 0x00045 (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in 0x00069 System.Web.UI.WebControls.Button:OnClick (System.EventArgs) in 0x00040 System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (string) in 0x00016 System.Web.UI.Page:RaisePostBackEvent (System.Web.UI.IPostBackEventHandler,string) in 0x00033 System.Web.UI.Page:RaisePostBackEvents () in 0x00238 System.Web.UI.Page:InternalProcessRequest () in 0x000a9 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in 0x00233 ExecuteHandlerState:Execute () in 0x0007c StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool) - All new Yahoo! Mail - - Get a sneak peak at messages with a handy reading pane.___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Compile problem on linux ARM/EABI
Wyborski Marek wrote: Hi Damien! Have you found a solution for the problem, that mono is not compiling on linux ARM? I am trying to compile it on a Montavista Linux running on an ARM. And I get exactly the same problem with the undefined reference to 'GC_local_malloc' errors. Maybe you found out, what was the problem?? Sadfully, no. I gave up and cross-compiled. - Damien ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Porting to OpenMoko
Miguel de Icaza wrote: Hello, Just an update on the situation: Sounds great! Are you thinking it'll be worth chipping out for the advanced set with the debug board as well for Mono/Moonlight development? Or might the ability to hack on the single (Neo Basic) phone be enough? Just curious, they had me at black carrying case Since we are not hardware hackers, we will only be getting the basic model, which is branded as Application Developer Platform and is 150 dollars cheaper too. Miguel. Several of us on our team are purchasing the Neo SH1. One reason is to port a portion of our C# app to the handheld device. We too are in a big company, so I just bought it personally :) Free your phone We are just buying the basic version, the debug board is for folks messing with the bootloader. (We may try to get one to share in case anybody bricks theirs). I'm glad that folks here are already looking at mono for openmoko. Cheers, Jae ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Method size limits.
Hello, I'm writting some Gendarme rules for the 2007-soc, and I have a little question. I'm writting a rule for detect if a method is too long, then I have mesaured a screen of code and rounding up I have get that is equivalent as 170 IL lines of code. Then, my question is if exists some limits where the method size affects to Mono JIT. By example, 520 IL lines of code causes an overflow, or causes performance issues. Thanks. Néstor. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Compiler bug with Generics and where constraints
I tried making a smaller example but couldn't reproduce the error because i'm not exactly sure whats causing it. Heres the code: http://dev.orchidesolutions.com/testcode.tar.bz2 if you run 'nant' you'll see the error, its: 1. [nant] /home/sontek/code/personal/devtoo/trunk/src/DataArch. DataFactory.MsSqlDatabase/DataArch.DataFactory.MsSqlDatabase.dll.buildbuild 2. Buildfile: file: ///home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/DataArch.DataFactory.MsSqlDatabase.dll.build 3. Target framework: Mono 2.0 Profile 4. Target(s) specified: build 5. 6. 7. build: 8. 9. [echo] Build Directory ishttp://www.google.com/search?q=is+msdn.microsoft.com/home/sontek/code/personal/devtoo/trunk/src/DataArch. DataFactory.MsSqlDatabase/bin/Release 10. [csc] Compiling 3 files to '/home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/bin/Release/DataArch.DataFactory.MsSqlDatabase.dll' . 11. [csc]/home/sontek/code/personal/devtoo/trunk/src/DataArch. DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(351,30): warning CS0219: The variable `columnsToUpdate' is assigned but its value is never used 12. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(479,30): error CS0309: The type `T' must be convertible to `DataArch. DataFactory.Common.BusinessQueryObject' in order to use it as parameter `T' in the generic type or method `DataArch.DataFactory. Common.BaseDataObjectFactory.GetBusinessQueryObjectFromReaderT( System.Data.IDataReader)' 13. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.Common/bin/Release/DataArch.DataFactory.Common.dll (Location of the symbol related to previous error) 14. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(462,9): (Location of the symbol related to previous error) 15. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(479,30): error CS0309: The type `T' must be convertible to `DataArch. DataFactory.Common.BusinessQueryObject' in order to use it as parameter `T' in the generic type or method `DataArch.DataFactory. Common.BaseDataObjectFactory.GetBusinessQueryObjectFromReaderT( System.Data.IDataReader)' 16. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.Common/bin/Release/DataArch.DataFactory.Common.dll (Location of the symbol related to previous error) 17. [csc] /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/MsSqlDataObjectFactory.cs(462,9): (Location of the symbol related to previous error) 18. [csc] Compilation failed: 2 error(s), 1 warnings 19. 20. BUILD FAILED - 0 non-fatal error(s), 7 warning(s) 21. 22. /home/sontek/code/personal/devtoo/trunk/src/DataArch.DataFactory.MsSqlDatabase/DataArch.DataFactory.MsSqlDatabase.dll.build(12,10): 23. External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1) 24. 25. Total time: 1 seconds. 26. 27. 28. === MsSqlDataObjectFactory = 29. 30. public override T[] GetQueryObjectsT(string query, params QueryParameter[] parameters) 31. 462 { 32. 463 DbCommand command = this.CreateNewCommand(); 33. 464 34. 465 command.CommandText = query; 35. 466 foreach (QueryParameter parameter in parameters) 36. 467 { 37. 468 DbParameter dbParameter = command.CreateParameter(); 38. 469 dbParameter.ParameterName = parameter.Name; 39. 470 dbParameter.Value = parameter.Value; 40. 471 command.Parameters.Add(dbParameter); 41. 472 } 42. 473 43. 474 ListT list = new ListT(); 44. 475 45. 476 ExecuteReader(command, 46. 477 delegate(IDataReader reader) 47. 478 { 48. 479 list.Add (GetBusinessQueryObjectFromReaderT(reader)); 49. 480 }); 50. 481 51. 482 return list.ToArray(); 52. 483 } 53. 54. 55. 56. == BASE == 57. 58. protected static T GetBusinessQueryObjectFromReaderT(IDataReader reader) 59. 74 where T : BusinessQueryObject, new() 60. 75 { 61. 76 QueryDataObject data = new QueryDataObject(reader); 62. 77 T t = new T(); 63. 78 t.data = data; 64. 79 return t; 65. 80 } 66. 67. 68. public abstract T[] GetQueryObjectsT(string query, params