[comp.sys.sgi] compiling JOVE on Personal Iris

RIE@PSUVM.BITNET (08/30/89)

I tried to compile JOVE 4.14 (only version avaiable from cs.rochester.edu)
without luck!
In the Makefile LIBS = -lbsd -lcurses and CFLAGS= -O -I/usr/include/bsd
was specified.
In the file sysdep.h i ensured that UNIX SYSV , SYSVR2 , SYSVR3 was defined
by taking out the comments from appropriate lines (3 lines).
While compiling JOVE i got the following error message during linking xjove:
/usr/bin/ld:
Undefined:
gldav

This is the only error message that i get.
Any suggestions to correct this error would be highly appreciated.
Thanks,
                                      Subhransu Roy
                                      E-mail: s3r@ecl.psu.edu

amos@USNA.NAVY.MIL ("Mr. Charlie A. Amos ", ECSD/CADIG STAFF) (08/31/89)

>While compiling JOVE i got the following error message during linking xjove:
>/usr/bin/ld:
>Undefined:
>gldav

I'm not 100% sure with jove 4.14, but with 4.13 commenting out the definition
of LOAD_AV in tune.h will fix this problem. 

Charlie Amos (amos@usna.navy.mil).

moraes@csri.toronto.edu (Mark Moraes) (09/03/89)

RIE@PSUVM.BITNET writes:
>While compiling JOVE i got the following error message during linking xjove:
>/usr/bin/ld:
>Undefined:
>gldav

In tune.h in Jove4.14, comment out the line

# define LOAD_AV      /* Use the load average for various commands.

and it should compile correctly on the Iris4d. This is also necessary
to get it to compile on DECstation 3100s since they use a different
nlist structure from BSD, but need BSD4_[23] defined. Sigh.

(Since you need to make /dev/kmem world readable, or Jove setgid kmem
to use LOAD_AV on any security-minded system, it's hardly worth all
the extra ifdef's it would need to fix this. It's only used for the
message "Screaming along", "Chugging along" or "Crawling along" in
starting makes, and for those people who want it on their status line)