building krb5-1.4 on hpux and solaris with native compilers

Douglas E. Engert deengert at
Wed Feb 16 16:46:11 EST 2005

Sam Hartman wrote:

> Doug, what happens if you build on solaris 7 without threads and
> without shared libraries?  Does rlogin work?

Tried two ways:

On Solaris 7, with --disable-delayed-initialization
compile fails with:

   1233  gcc -L../../../lib -R/krb5/lib -O  -o client client.o rpc_test_clnt.o \
   1234      -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support  -lresolv -lsocket -lnsl
   1235  Undefined           first referenced
   1236   symbol                 in file
   1237  PROGRAM_EXITING                     ../../../lib/
   1238  ld: fatal: Symbol referencing errors. No output written to client
   1239  collect2: ld returned 1 exit status
   1240  make[3]: *** [client] Error 1
   1241  make[3]: Leaving directory `/afs/'
   1242  make[2]: *** [all-recurse] Error 1

With  --diable-thread-support

rlogin and klist work.
I assume this would work just like 1.3? If so we can live with it.

This is with shared libs and using gcc-3.2.2 with Solaris ld.

I did not try with static.



  Douglas E. Engert  <DEEngert at>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

More information about the krbdev mailing list