[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 13:52:16 EDT 2009


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 



      


More information about the Mono-list mailing list