[Simh] Interesting problem on Slackware 11.0

David Holland david.w.holland at gmail.com
Fri Sep 28 20:46:11 EDT 2007


Need to add a -lrt as a library on the link line.

I don't have a copy of current SIMH source to tell you exactly where to add
it in the Makefile though.

David


On 9/28/07, Gregg Levine <gregg.drwho8 at gmail.com> wrote:
>
> Hello!
> I am attempting to build SimH for Linux. When I do what it says in
> this C&P from my terminal,
> root at jimkirk:/usr/local/src/simh# make USE_NETWORK=1 -f makefile
> gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -D_GNU_SOURCE -I .
> PDP1/pdp1_lp.c PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c
> PDP1/pdp1_dt.c PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c
> sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c
> sim_tape.c -I PDP1 -o BIN/pdp1
> /tmp/ccDInJAr.o(.text+0x5d): In function `sim_os_ms_sleep_init':
> /usr/local/src/simh/sim_timer.c:302: undefined reference to `clock_getres'
> collect2: ld returned 1 exit status
> make: *** [BIN/pdp1] Error 1
>
> I get that. Any suggestions? Please note that this is on Slackware
> Linux (Intel x86).
>
> --
> Gregg C Levine gregg.drwho8 at gmail.com
> "This signature was once found posting rude
> messages in English in the Moscow subway."
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20070928/e383b1c6/attachment-0003.html>


More information about the Simh mailing list