Looking at cc -Ae is on by default.  Don't need this option.  Unfortunately,
this option does not turn on PA2.0 (LP64) builds.  Configured build with
yacc instead of bison.  Compile problem in krb4 area. this is shown at end
of e-mail.  Reconfigured with --without-krb4 to work around problem, here is
the configure line:

../src/configure --without-krb4 --with-cc="cc +DA2.0W" --enable-shared

Found problem with link step in a number of places, sample is shown here:

cc +DA2.0W -L../../lib -Wl,+s
-Wl,+b,/net/salvador/space0/kerberos/hp11w_dynamic_123/lib -o v5passwdd
main.o srv_net.o proto_serv.o  adm_rw.o \
        -lkadm5srv  -lkdb5 ../../lib/libdb.a -lgssrpc -ldyn
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
ld: (Warning) Unsatisfied symbol "pmap_getport" in file
/net/salvador/space0/kerberos/hp11w_dynamic_123/lib/libgssrpc.3
ld: (Warning) Unsatisfied symbol "pmap_unset" in file
/net/salvador/space0/kerberos/hp11w_dynamic_123/lib/libgssrpc.3
2 warnings.

Thanks,
jonw

krb4 error:

cc +DA2.0W -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DHAVE_UNISTD_H=1
-DHAVE_STDLIB_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_FTIME=1
-DHAVE_TIMEZONE=1 -DHAVE_GETCWD=1 -DHAVE_STRSTR=1 -DHAVE_WAITPID=1
-DHAVE_VSPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_STRFTIME=1
-DTIME_WITH_SYS_TIME=1 -DPOSIX_SIGNALS=1 -DWAIT_USES_INT=1
-DPOSIX_SETJMP=1  -DKADM5 -DNEED_SOCKETS  -DKRB5_KRB4_COMPAT
-I../../include -I../../../src/kadmin/v4server/../../include
-I../../include/krb5 -I../../../src/kadmin/v4server/../../include/krb5
-I../../../src/kadmin/v4server/../../include/kerberosIV
-I../../include/kerberosIV -I. -I../../../src/kadmin/v4server  -c
../../../src/kadmin/v4server/admin_server.c
cc: "../../../src/kadmin/v4server/admin_server.c", line 675: error 1653:
Case label too big for the type of the switch expression
gmake[2]: *** [admin_server.o] Error 1
gmake[2]: Leaving directory
`/tmp_mnt/net/salvador/space0/kerberos/DIST/krb5-1.2.3/hp11w/kadmin/v4server
'

gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory
`/tmp_mnt/net/salvador/space0/kerberos/DIST/krb5-1.2.3/hp11w/kadmin'
gmake: *** [all-recurse] Error 1
jwack

Reply via email to