Need to add a -lrt as a library on the link line.<br><br>I don't have a copy of current SIMH source to tell you exactly where to add it in the Makefile though. <br><br>David<br><br><br><div><span class="gmail_quote">On 9/28/07, 
<b class="gmail_sendername">Gregg Levine</b> <<a href="mailto:gregg.drwho8@gmail.com">gregg.drwho8@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello!<br>I am attempting to build SimH for Linux. When I do what it says in<br>this C&P from my terminal,<br>root@jimkirk:/usr/local/src/simh# make USE_NETWORK=1 -f makefile<br>gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -D_GNU_SOURCE -I .
<br>PDP1/pdp1_lp.c PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c<br>PDP1/pdp1_dt.c PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c<br>sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c<br>sim_tape.c -I PDP1 -o BIN/pdp1
<br>/tmp/ccDInJAr.o(.text+0x5d): In function `sim_os_ms_sleep_init':<br>/usr/local/src/simh/sim_timer.c:302: undefined reference to `clock_getres'<br>collect2: ld returned 1 exit status<br>make: *** [BIN/pdp1] Error 1
<br><br>I get that. Any suggestions? Please note that this is on Slackware<br>Linux (Intel x86).<br><br>--<br>Gregg C Levine <a href="mailto:gregg.drwho8@gmail.com">gregg.drwho8@gmail.com</a><br>"This signature was once found posting rude
<br> messages in English in the Moscow subway."<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>