[Simh] NEWBIE: Linux simh Fedora Core 5/6 - simhv37-1

JAG Beland jagb2lt at gmail.com
Fri May 18 12:32:48 EDT 2007


Excellent. I added the -lrt in the gcc command just before the -o specifier
and lo and behold, I have a binary. Many thanks!

Jacques


On 5/18/07, Jason Stevens <neozeed at gmail.com> wrote:
>
> I think you are missing -lrt
>
> From http://www.linuxforums.org/forum/redhat-fedora-linux-help/78847-whivh-version-glibc-needed-clock_getres-gettime-etc.html
>
>
>
> On 5/18/07, JAG Beland <jagb2lt at gmail.com> wrote:
>
> > I am attempting to compile simh (simhv37-1) under Fedora Core 5 (and
> > I've tried 6). When I do, I receive the following error:
> >
> > make USE_NETWORKING=1 BIN/vax
> > gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -D_GNU_SOURCE -I .
> > VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c
> > VAX/vax_octa.c  VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c
> > VAX/vax_sysdev.c VAX/vax_sys.c  VAX/vax_syscm.c VAX/vax_syslist.c
> > PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c
> > PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_ry.c
> > PDP11/pdp11_vh.c PDP11/pdp11_cr.c scp.c sim_console.c sim_fio.c
> > sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_VAX
> > -DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11  -o BIN/vax
> > /tmp/ccZpL5jz.o: In function `sim_os_ms_sleep_init':
> > /toolkits/simh/sim_timer.c:299: undefined reference to `clock_getres'
> > collect2: ld returned 1 exit status
> > make: *** [BIN/vax] Error 1
> >
> >
> > I assume I have an incorrect version of a library or "something". Is
> > there a list of the library versions/requirements for building this under
> > UNIX or are there too many variants? I'm following Phillip Wherry's
> > instructions from 2004 but they were obviously for a different flavour of
> > Linux.
> >
> > I've scanned the archives of this list and Google for hints. So far,
> > nothing jumps out. My VAX works great under Windows. I'm just trying to move
> > it to Linux.
> >
> > If you have any ideas, I'd love to hear them.
> >
> > Thanks!
> >
> > jacques
> >
> >
> > _______________________________________________
> > 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/20070518/4281d36d/attachment-0003.html>


More information about the Simh mailing list