[Mono-dev] EntryPointNotFoundException with __Internal method

2013-04-29 Thread Marcelo Zabani
When embedding Mono within Nginx, I received the following exception: *Unhandled Exception: System.EntryPointNotFoundException: log_error_core_wrapper* * at (wrapper managed-to-native) Nam.NginxMethods:ngx_log_error (uint,intptr,int,string)* * at Nam.NginxMethods.LogInfo (IntPtr log,

Re: [Mono-dev] EntryPointNotFoundException with __Internal method

2013-04-29 Thread Marcelo Zabani
I'm running Linux. On Mon, Apr 29, 2013 at 9:27 PM, Jonathan Pryor jonpr...@vt.edu wrote: On Apr 29, 2013, at 3:20 PM, Marcelo Zabani mzab...@gmail.com wrote: When embedding Mono within Nginx, I received the following exception: Unhandled Exception: System.EntryPointNotFoundException:

Re: [Mono-dev] EntryPointNotFoundException with __Internal method

2013-04-29 Thread Robert Jordan
On 29.04.2013 21:20, Marcelo Zabani wrote: When embedding Mono within Nginx, I received the following exception: *Unhandled Exception: System.EntryPointNotFoundException: log_error_core_wrapper* * at (wrapper managed-to-native) Nam.NginxMethods:ngx_log_error (uint,intptr,int,string)* * at

Re: [Mono-dev] EntryPointNotFoundException with __Internal method

2013-04-29 Thread Jonathan Pryor
On Apr 29, 2013, at 3:20 PM, Marcelo Zabani mzab...@gmail.com wrote: When embedding Mono within Nginx, I received the following exception: Unhandled Exception: System.EntryPointNotFoundException: log_error_core_wrapper at (wrapper managed-to-native) Nam.NginxMethods:ngx_log_error

Re: [Mono-dev] EntryPointNotFoundException with __Internal method

2013-04-29 Thread Marcelo Zabani
hmm Thanks Robert! I was only adding --export-dynamic to generate the intermediary .o files. Now I've added it to create the *nginx* executable. Do you have any hints on the problem of Marshal.SizeOf returning 0 (zero)? This is the class whose size is said to be zero: