Skip Menu |

Download (untitled) / with headers
text/plain 3.1KiB
From sklower@circe.CS.Berkeley.EDU Thu Mar 13 03:57:27 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id DAA05565 for <bugs@RT-11.MIT.EDU>; Thu, 13 Mar 1997 03:57:27 -0500
Received: from circe.CS.Berkeley.EDU by MIT.EDU with SMTP
id AA19005; Thu, 13 Mar 97 03:57:21 EST
Received: (from sklower@localhost) by circe.CS.Berkeley.EDU (8.7.3/8.7.3) id AAA06814; Thu, 13 Mar 1997 00:57:25 -0800 (PST)
Message-Id: <199703130857.AAA06814@circe.CS.Berkeley.EDU>
Date: Thu, 13 Mar 1997 00:57:25 -0800 (PST)
From: sklower@CS.Berkeley.EDU
Reply-To: sklower@CS.Berkeley.EDU
To: krb5-bugs@MIT.EDU
Subject: V5 distribution fails to build under BSD/OS 3.0
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 396
>Category: krb5-libs
>Synopsis: BSD/OS 3.0 build has conflicts between KV5 rpc lib and libc.a
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Mar 13 03:58:03 EST 1997
>Originator: Keith &
| Keith Sklower Computer Science Dept. |
| sklower@CS.Berkeley.EDU 380 Soda Hall |
| (510) 642-9587 University of California |
| H: (415) 863-0990 Berkeley, CA 94720-1776 |
Show quoted text
>Release: 1.0

System: BSD/OS diamond.CS.Berkeley.EDU 3.0 BSDI BSD/OS 3.0 Kernel #0: Thu Jan 30 13:02:43 MST 1997 polk@demiurge.BSDI.COM:/rel/proto/3.0RC1-i386/usr/src/sys/compile/GENERIC i386

Show quoted text
The BSD/OS 3.0 environment contains the public domain sun rpc lib
which is the basis for the V5 distribution in its libc.a (which
was not true of BSD/OS 2.1). For some reason, there are calls
made from BSD/OS routines to _seterr_reply which is in its
rpc_prot.o in libc.a and the V5 distribution calls sunrpc_seterr_reply
which brings in the V5 version of rpc_prot.o resulting in things like

cc -L./../../../lib -L./../../../lib -o server server.o rpc_test_svc.o -lgssrpc -lgssapi_krb5 -lkrb5 -lcrypto -ldyn -lcom_err
rpc_prot.o: Definition of symbol _xdr_opaque_auth (multiply defined)
rpc_prot.o: Definition of symbol _xdr_des_block (multiply defined)
rpc_prot.o: Definition of symbol _xdr_accepted_reply (multiply defined)
rpc_prot.o: Definition of symbol _xdr_rejected_reply (multiply defined)
[others deleted]

and, much worse, kadmind fails to load.

Show quoted text
under BSD/OS 3.0, unpack the sources, type ./configure, then run make.
Show quoted text
You'll probably want to incorporate this in your configuration
magic in osconf.h somehow, but merely appending the following
3 lines to the local include/rpc/rpc_msg.h gets around the problem:
*** rpc_msg.h Thu Mar 13 00:35:31 1997
--- Wed Mar 12 18:35:35 1997
*** 185,190 ****
* struct rpc_err *error;
extern void _seterr_reply();
- #if defined(__bsdi__) && _BSDI_VERSION >= 199701
- #define sunrpc_seterr_reply _seterr_reply
- #endif
--- 185,187 ----
Show quoted text