[comp.windows.x] R4 on Sun 386i

dsc@OSTEOCYBER.ORTHO.HMC.PSU.EDU (david s. channin) (01/06/90)

I'm in the process of building R4 on a 386i, SunOS 4.0.2. The make
world
went fine. The make install is a nightmare. I did:

  make install DESTDIR=/files1

I got the ld.so error and ran ldconfig. Now it gets past mkfontsdir but
dies with:

      installing in ./clients/xkill...
      install -c    xkill /files1/usr/bin/X11
      install in ./clients/xkill done
      installing in ./clients/xload...
      rm -f xload
      cc -o xload xload.o get_load.o -O  -L../.././lib/Xaw -lXaw
	    -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt
	    ../.././extensions/lib/libXext.a -L../.././lib/X -lX11
      ld: Undefined symbol
	 kvm_open
	 kvm_nlist
	 kvm_read
      *** Error code 1
      make: Fatal error: Command failed for target `xload'
      Current working directory
      /files1/usr/local/X11R4/mit/clients/xload
      *** Error code 1
      make: Fatal error: Command failed for target `install'
      Current working directory /files1/usr/local/X11R4/mit/clients
      *** Error code 1
      make: Fatal error: Command failed for target `install'


What file is it not finding??

dsc@osteocyber.ortho.hmc.psu.edu
--
David S. Channin
Penn State College of Medicine and
Department of Radiology
P.O. Box 1010
The Milton S. Hershey Medical Center, Hershey, PA 17033

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/06/90)

    The make world went fine.

(No, it didn't.  Obviously the build of xload failed then as well.)

    The make install is a nightmare.

One thing failing is a nightmare?  You must have very gentle dreams. :-)

      ld: Undefined symbol
	 kvm_open
	 kvm_nlist
	 kvm_read

The linking of xload is missing -lkvm.  A quick fix for you should be to
replace the /**/ in the Imakefile with -lkvm, and remake the Makefile.