Hi, <br><br>I've seen the same problem. It's a typo and easy to fix. Change file mono-profiler-logging.c line 4294 <br><br>from <br><br> if ((stat_buf.st_mtim.tv_sec * 1000000) < profiler->heap_shot_command_file_access_time) <br>to <br> if ((stat_buf.st_mtime * 1000000) < profiler->heap_shot_command_file_access_time) <br><br>and recompile. <br><br>Martin <br><br><br><blockquote class="quote light-black dark-border-color"><div class="quote light-border-color"> <div class="quote-author" style="font-weight: bold;">john blair wrote:</div> <div class="quote-message shrinkable-quote">I am trying to build mono-2.2 on my linux box. <br><br>I receive the following error while doing make <br>mono-profiler-logging.c: In function 'profiler_heap_shot_process_command_file': <br>mono-profiler-logging.c:4294: error: 'struct stat' has no member named 'st_mtim' <br>make[3]: *** [mono-profiler-logging.lo] Error 1 <br><br>my machine info <br>$ uname -a <br>Linux mymachine 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003 i686 unknown <br><br>I have gcc-4.1.2 and glib2-2.16.4. <br><br>If I configure it with /configure --enable-minimal=profiler <br>then I get <br>..... <br>..... <br>..... <br>..... <br>*** The compiler 'mcs' doesn't appear to be usable. <br>*** Trying the 'monolite' directory. <br>make[7]: Entering directory `/dev/mono-2.2/mono-2.2/mcs' <br>** <br>** ERROR:(mini-exceptions.c:1134):mono_setup_altstack: assertion failed: (staddr) <br>make[8]: *** [build/deps/basic-profile-check.exe] Aborted <br>make[8]: Entering directory `/dev/mono-2.2/mono-2.2/mcs' <br>*** The contents of your 'monolite' directory may be out-of-date <br>*** You may want to try 'make get-monolite-latest' <br>make[8]: *** [do-profile-check-monolite] Error 1 <br><br><br><br> <br>_______________________________________________ <br>Mono-list maillist - [email protected] <br><a href="http://lists.ximian.com/mailman/listinfo/mono-list" target="_top" rel="nofollow">http://lists.ximian.com/mailman/listinfo/mono-list</a></div> </div></blockquote>
-- View this message in context: http://n2.nabble.com/mono-profiler-logging.c%3A4294%3A-error%3A-%27struct-stat%27-has-no-member-named-%27st_mtim%27-tp2504406p2522940.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
