<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>I installed my source files under /usr/local/krb5_125.
<p>In /usr/local/krb5_125/src/lib/Makefile, I couln't find MY_SUBDIRS but
<br>instead I found....
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000">&nbsp; SUBDIRS
= krb5 kdb des425 crypto gssapi krb4 kdb4 kadm</font>
<p>In /usr/local/krb5_125/src/, I ran the command
<p>cat config.status | grep -i krb4
<p>and this is what showed up...
<p><font color="#FF0000"># ./configure&nbsp; --with-cc=cc --with-ccopts=-O
--without-krb4 --without-tcl --disable-shared</font>
<br><font color="#FF0000">&nbsp;&nbsp;&nbsp; echo "running ${CONFIG_SHELL-/bin/sh}
./configure&nbsp; --with-cc=cc --with-ccopts=-O --without-krb4 --without-tcl
--</font>
<br><font color="#FF0000">&nbsp;&nbsp;&nbsp; sable-shared --no-create --no-recursion"</font>
<br><font color="#FF0000">&nbsp;exec ${CONFIG_SHELL-/bin/sh} ./configure&nbsp;
--with-cc=cc --with-ccopts=-O --without-krb4 --without-tcl --disable-s</font>
<br><font color="#FF0000">&nbsp;red --no-create --no-recursion ;;</font><font color="#FF0000"></font>
<p><font color="#FF0000">&nbsp;s%@KRB4_LIB@%%g</font>
<br>&nbsp;
<p>This morning, before I tried configuring, I deleted everything under
/usr/local/krb5-125
<br>and started fresh by untarring the crypto.tar and src.tar files again.
<p>I am getting a slightly different error with the make but always with
the klog.c file and the tm struct.<font color="#3366FF"></font>
<p><font color="#3366FF">[</font>
<br><font color="#3366FF">&nbsp;cc -O -DHAVE_LIBNSL=1 -DPOSIX_FILE_LOCKS=1
-DHAS_UNISTD_H=1 -DMSBFIRST=1 -DSIZEOF_INT=4 -DBITS32=1&nbsp; -I./../.</font>
<br><font color="#3366FF">&nbsp;./include -I../../include -I./../../include/krb5
-I../../include/krb5&nbsp;&nbsp;&nbsp; -I./../../include/kerberosIV -c
klog.c</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 88.8: 1506-068 (W) Operation
between types "struct tm*" and "int" is not allowed.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 90.51: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 91.25: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 91.41: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 92.13: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 92.26: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; "klog.c", line 92.38: 1506-285 (S) The
indirection operator cannot be applied to a pointer to an incomplete struct
o</font>
<br><font color="#3366FF">&nbsp; r union.</font>
<br><font color="#3366FF">&nbsp; make: 1254-004 The error code from the
last command is 1.</font>
<br><font color="#3366FF"></font>&nbsp;<font color="#3366FF"></font>
<p><font color="#3366FF">&nbsp; Stop.</font>
<br><font color="#3366FF">&nbsp; make: 1254-004 The error code from the
last command is 1.</font>
<br><font color="#3366FF"></font>&nbsp;<font color="#3366FF"></font>
<p><font color="#3366FF">&nbsp; Stop.</font>
<br><font color="#3366FF">&nbsp; make: 1254-004 The error code from the
last command is 1.</font>
<br><font color="#3366FF"></font>&nbsp;<font color="#3366FF"></font>
<p><font color="#3366FF">&nbsp; Stop.</font>
<br><font color="#3366FF">&nbsp;</font>
<br><font color="#3366FF">]</font>
<br>&nbsp;
<p>I agree with you that my "main" problem is ...why is it compiling krb4
stuff.
<br>klog.c is located under the /usr/local/krb5_125/src/kerberosIV/ directory.
<p>Thanks for all your help.&nbsp; You don't know how much I appreciate
specially since IBM won't provide support for kerberos.
<br>&nbsp;
<p>Ken Raeburn wrote:
<blockquote TYPE=CITE>Isabelle Doran &lt;ihdoran@omnisig.com> writes:
<br>> I did reconfigure with cc.
<br>> Let me test it with your options and I will get back to you
<br>>
<br>> Dan Million wrote:
<br>>> I use:&nbsp; configure --with-cc=cc --with-ccopts="-O" \
<br>>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--without-krb4 --without-tcl \
<br>>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--disable-shared
<p>Note that when you reconfigure with different options, you should do
<br>it in a new, empty build tree, or at least get rid of config.cache,
<br>which caches system configuration information looked up under the
<br>previous configuration.&nbsp; If the choice of compiler is making a
<br>difference (and from your first message I'd say gcc is breaking a test
<br>for the header file containing "struct tm", which could be a gcc bug
<br>or a broken installation of it), you really want to throw away those
<br>old results.
<p>Our AIX box here is offline at the moment (some sort of boot-time
<br>problem we haven't fixed yet), but it's running 4.3.3 anyways, so the
<br>fact that I've successfully built krb5 on it wouldn't mean much.
<p>I'm also a little confused why it would be building the krb4 library
<br>if you indicated "--without-krb4" at configure time.&nbsp; If you look
for
<br>MY_SUBDIRS in lib/Makefile, and "grep -i krb4" in the top-level
<br>config.status, what do you find?
<p>Ken</blockquote>

<p>--
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \|||||||||||/
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + +
<br>---ooo-----oooo---
<br>Isabelle Doran
<br>Communications Security Establishment
<br>Ottawa, ON
<br>Canada
<br>(613) 443-3060
<br>---oooO&nbsp;&nbsp; Oooo---
<br>&nbsp;</html>