[Mono-list] mono-profiler-logging.c:4294: error: 'struct stat' has no member named 'st_mtim'

john blair mailtome200420032002 at yahoo.com
Thu Mar 19 14:30:57 EDT 2009


Now, I compiled it with ./configure --prefix=/build/toolchain/lin32/mono-2.2 --enable-minimal=profiler  --with-sigaltstack=no 
and I get 

System.Web.Configuration/HttpHandlersSectionHandler.cs(159,31): error CS1502: The best overloaded method match for `System.Configuration.ConfigurationException.ConfigurationException(string, System.Exception)' has some invalid arguments
/mine/mono-2.2/mcs/class/lib/net_1_1/System.dll (Location of the symbol related to previous error)
System.Web.Configuration/HttpHandlersSectionHandler.cs(159,31): error CS1503: Argument `#2' cannot convert `System.Xml.XmlNode' expression to type `System.Exception'

which is similar to the error I am getting on my 64bit box.
Any help?

--- On Thu, 3/19/09, john blair <mailtome200420032002 at yahoo.com> wrote:

> From: john blair <mailtome200420032002 at yahoo.com>
> Subject: [Mono-list] mono-profiler-logging.c:4294: error: 'struct stat' has no member named 'st_mtim'
> To: mono-list at lists.ximian.com
> Date: Thursday, March 19, 2009, 11:22 PM
> I am trying to build mono-2.2 on my linux box.
> 
> I receive the following error while doing make
> mono-profiler-logging.c: In function
> 'profiler_heap_shot_process_command_file':
> mono-profiler-logging.c:4294: error: 'struct stat'
> has no member named 'st_mtim'
> make[3]: *** [mono-profiler-logging.lo] Error 1
> 
> my machine info
> $ uname -a
> Linux mymachine 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003
> i686 unknown
> 
> I have gcc-4.1.2 and glib2-2.16.4. 
> 
> If I configure it with /configure --enable-minimal=profiler
> then I get
> .....
> .....
> .....
> .....
> *** The compiler 'mcs' doesn't appear to be
> usable.
> *** Trying the 'monolite' directory.
> make[7]: Entering directory
> `/dev/mono-2.2/mono-2.2/mcs'
> **
> ** ERROR:(mini-exceptions.c:1134):mono_setup_altstack:
> assertion failed: (staddr)
> make[8]: *** [build/deps/basic-profile-check.exe] Aborted
> make[8]: Entering directory
> `/dev/mono-2.2/mono-2.2/mcs'
> *** The contents of your 'monolite' directory may
> be out-of-date
> *** You may want to try 'make get-monolite-latest'
> make[8]: *** [do-profile-check-monolite] Error 1 
> 
> 
> 
>       
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


      


More information about the Mono-list mailing list