[OpenAFS] compile problems on Solaris 7 with 1.0.2

Norman Hill rnhill@uncg.edu
Wed, 21 Feb 2001 16:31:55 -0500


Okay, I keep getting the same error when I try to compile openafs 1.0.2
under SunOS 5.7 (and under 5.6 but I haven't tried as hard there).
I don't know if the problem is with my environment or the compiler
I'm using but I'd appreciate any hints.

Briefly, here's the environment I'm using to compile:
$ /opt/SUNWspro/bin/cc -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
usage: cc [ options] files.  Use 'cc -flags' for details
$ uname -a
SunOS <hostname> 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-Enterprise

I have made sure that PATH and LD_LIBRARY_PATH are both minimal and
reasonable and I start the compile with:

$ make SYS_NAME="sun4x_57"

and all runs fine for quite a while until... WHAMMO!!! 
this happens:

case sun4x_57 in \
sun4x_57 | hp_ux11* )  \
        /opt/SUNWspro/bin/cc -g -dy -Bdynamic -xarch=v9 -o kdump64 kdump64.o /af
s/uncg.edu/scratch/rnhill/openafs-1.0.2/sun4x_57/dest/lib/afs/libcmd64.a -lelf
-lkvm -lsocket -lnsl -lintl -ldl ;; \
esac
+ /opt/SUNWspro/bin/cc -g -dy -Bdynamic -xarch=v9 -o kdump64 kdump64.o /afs/uncg
.edu/scratch/rnhill/openafs-1.0.2/sun4x_57/dest/lib/afs/libcmd64.a -lelf -lkvm -
lsocket -lnsl -lintl -ldl
ild: (argument error) can't find library arguments :: -lkvm -ldl
*** Error code 8
make: Fatal error: Command failed for target `kdump64'
Current working directory /afs/uncg.edu/scratch/rnhill/openafs-1.0.2/sun4x_57/ob
j/venus
*** Error code 1
make: Fatal error: Command failed for target `venus'
Current working directory /afs/uncg.edu/scratch/rnhill/openafs-1.0.2
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /afs/uncg.edu/scratch/rnhill/openafs-1.0.2
*** Error code 1

Any clues would be MOST welcome.  I'll happily provide other details
about the environment, patches, or whatever.

Thanks in advance,

   Norman

----------------------
Norman Hill, University Webmaster
211 Forney Building, UNCG, Greensboro, NC, 27412
(336) 334-5410, norman_hill@uncg.edu