<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>This is the config log, <a href="https://pastebin.com/Nc4EQy7D" target="_blank" style="font-size: 10.5pt; line-height: 1.5; font-family: 微软雅黑, Tahoma; background-color: window; text-decoration: none !important;">https://pastebin.com/Nc4EQy7D</a><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); font-family: 微软雅黑, Tahoma;"> </span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); font-family: 微软雅黑, Tahoma;">You can start from Line 11218.</span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); font-family: 微软雅黑, Tahoma;"><br></span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0); font-family: 微软雅黑, Tahoma;">And the check function from configure.ac is shown below:</span></div><div><span style="font-family: '微软雅黑, Tahoma'; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><span style="white-space: pre;">  </span>dnl ********************************<br><span style="white-space: pre;">        </span>dnl *** Checks for timezone stuff **<br><span style="white-space: pre;">       </span>dnl ********************************<br><span style="white-space: pre;">        </span>AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,<br><span style="white-space: pre;">      </span><span style="white-space: pre;">   </span>AC_TRY_COMPILE([<br><span style="white-space: pre;"> </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>#include <time.h><br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>], [<br><span style="white-space: pre;">        </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>struct tm tm;<br><span style="white-space: pre;">  </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>tm.tm_gmtoff = 1;<br><span style="white-space: pre;">      </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))<br><span style="white-space: pre;">     </span>if test $ac_cv_struct_tm_gmtoff = yes; then<br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span>AC_DEFINE(HAVE_TM_GMTOFF, 1, [Have tm_gmtoff])<br><span style="white-space: pre;">    </span>else<br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span>AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,<br><span style="white-space: pre;"> </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>AC_TRY_COMPILE([<br><span style="white-space: pre;"> </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>#include <time.h><br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>], [<br><span style="white-space: pre;">        </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>timezone = 1;<br><span style="white-space: pre;">  </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))<br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span>if test $ac_cv_var_timezone = yes; then<br><span style="white-space: pre;"> </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>AC_DEFINE(HAVE_TIMEZONE, 1, [Have timezone variable])<br><span style="white-space: pre;">        </span><span style="white-space: pre;">   </span>else<br><span style="white-space: pre;">     </span><span style="white-space: pre;">   </span><span style="white-space: pre;">   </span>AC_ERROR(unable to find a way to determine timezone)<br><span style="white-space: pre;">  </span><span style="white-space: pre;">   </span>fi<br><span style="white-space: pre;">       </span>fi</span></div><div><span style="font-family: '微软雅黑, Tahoma'; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="font-family: '微软雅黑, Tahoma'; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Best wishes,</div><div>xuelin.tian@qkmtech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:chrisj@rtems.org">Chris Johns</a></div><div><b>Date:</b> 2017-07-25 06:18</div><div><b>To:</b> <a href="mailto:xuelin.tian@qkmtech.com">xuelin.tian@qkmtech.com</a>; <a href="mailto:russ.haley@gmail.com">Russell Haley</a>; <a href="mailto:joel@rtems.org">Joel Sherrill</a></div><div><b>CC:</b> <a href="mailto:users@rtems.org">users@rtems.org</a></div><div><b>Subject:</b> Re: Has anyone tried to port Mono to RTEMS</div></div></div><div><div>On 24/07/2017 19:39, xuelin.tian@qkmtech.com wrote:</div>
<div>> The error I encountered when configuring Mono is</div>
<div>> "configure: error: unable to find a way to determine timezone"</div>
<div>> And I checked the standard libraries, there is a structure called *tm* in</div>
<div>> <time.h> header file, it includes some members like tm_sec, tm_min, and so on. </div>
<div>> And RTEMS does not provide this, so anyone can help me with this? Thanks a lot.</div>
<div> </div>
<div>Is there a log, for example config.log, which details what the test was and how</div>
<div>it failed?</div>
<div> </div>
<div>Chris</div>
</div></blockquote>
</body></html>