<div>Out of curiosity, do the binaries on the sourceforge site work for you at all?</div>
<div> </div>
<div><a href="http://sourceforge.net/project/showfiles.php?group_id=154308&package_id=244757">http://sourceforge.net/project/showfiles.php?group_id=154308&package_id=244757</a><br><br> </div>
<div><span class="gmail_quote">On 10/15/07, <b class="gmail_sendername">Matjaz Rihtar</b> <<a href="mailto:matjaz@eunet.si">matjaz@eunet.si</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I tried to compile my own version of SIMH on Windows XP, mainly because:<br><br>1. I want to use WinPcap 3.1
, because I would like to<br>   continue to use Ethereal 0.99.0, which doesn't work<br>   with WinPcap 4.0.1 yet.<br>2. I wanted to automatically spawn external telnet<br>   application (putty), when starting SIMH with
<br>   set console telnet=xxx (like it's done in Personal<br>   Alpha)<br><br>Plain SIMH V3.7-3 compiles just fine with WinPcap 3.1 on<br>.NET 2003 *and* MinGW gcc 3.4.5, but on both compiled<br>vax.exe-s I am getting the same same error - NULL pointer
<br>in routine get_uint(scp.c:3180):<br><br>t_value get_uint (char *cptr, uint32 radix, t_value max, t_stat *status)<br>{ ...<br>*status = SCPE_OK;<br><br>This is called from rq_set_type(pdp11_rq.c:2224):<br><br>t_stat rq_set_type (UNIT *uptr, int32 val, char *cptr, void *desc)
<br>{ ...<br>t_stat r;<br>...<br>    cap = (uint32) get_uint (cptr, 10, 0xFFFFFFFF, &r);<br><br>Before getting into get_uint, everything is fine (r is not NULL),<br>but if I look at disassembly, I can see one additional
<br>"push 0" to the stack (after push [r]), which causes get_uint to fail<br>with NULL pointer exception.<br><br>Has anybody experienced the same problem? First I thought .NET 2003<br>produces false code, but then the same happened with MinGW gcc.
<br>There were no optimizations involved in both cases.<br><br>Please help!<br>Thanks,<br>  Matjaz<br><br><br>_______________________________________________<br>Simh mailing list<br><a href="mailto:Simh@trailing-edge.com">
Simh@trailing-edge.com</a><br><a href="http://mailman.trailing-edge.com/mailman/listinfo/simh">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><br></blockquote></div><br>