[5290] in Kerberos
Solaris 2.4/setreuid
daemon@ATHENA.MIT.EDU (Michael Helm)
Sat May 27 23:44:33 1995
To: kerberos@MIT.EDU
Date: 28 May 1995 03:32:37 GMT
From: mike@fionn.lbl.gov (Michael Helm)
Reply-To: mike@fionn.lbl.gov (Michael Helm)
Anybody run beta 5 thru Solaris 2.4? I've been trying to build
it, keeping to the instructions in doc/install.*, & (sorry about the
long line, hope it makes it) ran into this:
make[2]: Entering directory `/home/ux6/ux6d/unixproj/mike/kks1/solaris/appl/bsd'
cc -g -i -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void -Dvfork=fork -DHAS_UTIMES=1 -DHAVE_GETUTENT=1 -DHAVE_INITGROUPS=1 -DHAVE_WAITPID=1 -DHAVE_SETSID=1 -DHAVE_TTYNAME=1 -DHAVE_PTSNAME=1 -DHAVE_GRANTPT=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TTY_H=1 -DHAVE_LASTLOG_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_PTYVAR_H=1 -DPOSIX_SIGNALS=1 -DPOSIX_SETJMP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_TERMIOS=1 -DNO_UT_HOST=1 -DHAVE_SETUTENT=1
-DHAVE_SETUTXENT=1 -DHAVE_UPDWTMP=1 -DHAVE_UPDWTMPX=1 -DHAVE_STREAMS=1 -DHAVE_SETOWN=1 -DHAVE_SHADOW=1 -I../../../src/appl/bsd/../../include -I../../include -I../../../src/appl/bsd/../../include/krb5 -I../../include/krb5 -DKRB4 -DBACKWARD_COMPAT -DKERBEROS -I../../../src/appl/bsd/../../include/kerberosIV -DKRB5_PATH_RLOGIN=\"/usr/bin/Custom/krb5/bin/rlogin\" -DUCB_RLOGIN=\"/bin/rlogin\" -DUCB_RSH=\"/bin/rsh\" -DUCB_RCP=\"/bin/rcp\" -DLOGIN_PROGRAM=\"/usr/bin/Custom/krb5/sbin/login.krb5\" -DKPROGDIR=\"/us
r/bin/Custom/krb5/bin\" -o login.krb5 login.o logutil.o setenv.o getdtablesize.o ../../lib/libkrb5.a ../../lib/libkrb4.a ../../lib/libdes425.a ../../lib/libcrypto.a ../../util/et/libcom_err.a ../../lib/libkrb5.a ../../lib/libkrb4.a ../../lib/libdes425.a ../../lib/libcrypto.a ../../util/et/libcom_err.a -lsocket -lnsl
Undefined first referenced
symbol in file
setreuid ../../lib/libkrb4.a(in_tkt.o)
ld: fatal: Symbol referencing errors. No output written to login.krb5
Looks like __svr4__ is supposed to hide this in src/lib/krb4/in_tkt.c
[This is SUNWspro-3.0/bin/cc, btw]. Doesn't seem to be defined, tho.
#ifdef __svr4__
#define setreuid(r,e) setuid(r)
#endif
"setreuid" can be had by using the bsd libraries, but I take it from
the install doc that this distribution doesn't work with those libs.
I'm concerned my environment or other configuration choices may
not be in order; I've had some other problems getting this far.
Anyone who's successfully navigated their way thru a Solaris build,
I'd much appreciate hearing your advice. This particular distribution
seems to be much more difficult to finish than the last one, btw.