Bug 547

Summary: Missing radix.o in makefile for AFS
Product: Portable OpenSSH Reporter: Evan Knop <argent>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: P3    
Version: -current   
Hardware: ix86   
OS: Linux   

Description Evan Knop 2003-04-25 01:33:27 AEST
When compiling Openssh-3.6.1p1 for linux (on RedHat-7.3), linking of the ssh and
sshd binaries fails, complaining that creds_to_radix (or radix_to_creds) cannot
be found.  The problem is that radix.o is not included in the makefile rules for
these targets.  I ran configure as:

./configure --prefix=/usr/etc/openssh/ --with-pam
--with-kerberos4=/usr/local/krb4 --with-afs --sysconfdir=/etc/ssh
--bindir=/usr/bin --mandir=/usr/local/man --with-pid-dir=/etc/ssh
--with-ipv4-default
--with-default-path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/afsws/bin:/usr/local/bin:.

My guess is that the --with-afs flag was the one which required radix.o to be
built and linked.  In sshconnect1.c, radix.h is included by:
#ifdef AFS
#include <kafs.h>
#include "radix.h"
#endif
Comment 1 Darren Tucker 2003-05-04 10:55:03 AEST
Fixed in 3.6.1p2.  From ChangeLog:
20030429
 - (djm) Add back radix.o (used by AFS support), after it went missing from
   Makefile many moons ago
Comment 2 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED