building krb5-1.4 on hpux and solaris with native compilers
Douglas E. Engert
deengert at anl.gov
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/libgssapi_krb5.so
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/anl.gov/appl/krb5-1.4.0/build/sun4x_57/lib/rpc/unit-test'
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 anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
More information about the krbdev
mailing list