[OpenAFS-devel] Re: Building OpenAFS on SmartOS

Coy Hile coy.hile@coyhile.com
Wed, 7 May 2014 21:29:26 -0400


>=20
> Message: 1
> Date: Mon, 5 May 2014 08:19:02 -0400
> From: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
> To: coy.hile@coyhile.com
> Cc: openafs-devel@openafs.org
> Subject: Re: [OpenAFS-devel] Building OpenAFS on SmartOS
>=20
> Not that I know about.  You could just send him some email and ask.
>=20
> SOLARISCC should probably go away in favor of some more generic
> configure option like --kernel-cc/KERNELCC so that if configure can't
> guess the right compiler for the kernel module you can manually =
specify
> it separately from the userspace CC.

I=92m attempting to resurrect Chas=92 change set that he referenced.  =
(Once I=92ve got everything building and can test the kernel module, =
I=92ll try to incorporate =97kernel-cc changes as suggested.  However, =
I=92m running into build issues:

gcc  -I/home/hile/openafs/src/config -I/home/hile/openafs/include -I. =
-I. -m64  -o rmtsysd rmtsysd.o libsys.a /home/hile/openafs/lib/librx.a =
libsys.a /home/hile/openafs/lib/liblwp.a /home/hile/openafs/lib/util.a =
-lresolv -lsocket -lnsl -lintl -ldl
Undefined                       first referenced
 symbol                             in file
savecontext                         =
/home/hile/openafs/lib/liblwp.a(lwp.o)
returnto                            =
/home/hile/openafs/lib/liblwp.a(lwp.o)
ld: fatal: symbol referencing errors. No output written to rmtsysd
collect2: error: ld returned 1 exit status

Is there something simple that I=92ve missed here?  If it would be =
helpful, I can tar up this build tree and stuff it in AFS somewhere. =
(obviously, this box has no access to AFS itself.)

Apologies in advance if this ends up being a bunch of simple or inane =
questions; this is my first real foray deep into the code besides =
configure/make/make dest on Solaris 10 SPARC 6 or 8 years ago now.

-c=