[Simh] Interesting problem on Slackware 11.0

Gregg C Levine hansolofalcon at worldnet.att.net
Sat Sep 29 01:06:55 EDT 2007


Hello!
Problem resolved. I simply found where the library references were missing
in the makefile and inserted them thusly. I also told the file where to find
the library for the networking functions.
--
Gregg C Levine hansolofalcon at worldnet.att.net
"The Force will be with you. Always." Obi-Wan Kenobi
  

-----Original Message-----
From: simh-bounces at trailing-edge.com [mailto:simh-bounces at trailing-edge.com]
On Behalf Of David Holland
Sent: Friday, September 28, 2007 8:46 PM
To: Gregg Levine
Cc: Simh at trailing-edge.com
Subject: Re: [Simh] Interesting problem on Slackware 11.0

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





More information about the Simh mailing list