Skip Menu |

Subject: powerpc-aix nightly build failure: 'daemon' undefined in krb524d
Download (untitled) / with headers
text/plain 1.3KiB
This happens with cc as well as gcc:

-I./../include -I../include/krb5 -I./../include/krb5
-I./../include/kerberosIV -I../include/kerberosIV -I. -I. -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wno-comment -pedantic -c conv_princ.c
conv_princ.c:28: warning: no previous prototype for
gcc -L../lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual
-Wcast-align -Wconversion -Wshadow -Wno-comment -pedantic -o krb524d
krb524d.o cnv_tkt_skey.o conv_princ.o -lkadm5srv -lkdb5 -lgssrpc
-lgssapi_krb5 -lkrb5 -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err
ld: 0711-317 ERROR: Undefined symbol: .daemon
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
As Tom noted privately, this was almost certainly caused by my changes
to libkrb5 to have it not compile replacement versions of certain common
OS functions that the library itself doesn't need, and which don't fit
in the part of the symbol namespace we're trying to limit ourselves to.

Apparently, I missed a case in making that change....
Subject: CVS Commit
Download (untitled) / with headers
text/plain 1.6KiB
Copy and build daemon.c in whatever directories need it, instead of building it
into the krb5 library.

* aclocal.m4 (KRB5_AC_NEED_DAEMON): New macro.
* appl/bsd/, kadmin/, kdc/,
krb524/, slave/ Use it. Don't directly check if
prototype for daemon() is needed.
* kadmin/server/ (OBJS), kadmin/v5passwdd/ (SERV_OBJS),
kdc/ (OBJS, fakeka), krb524/ (SERVER_OBJS),
* config/ (daemon.c): New rule for copying daemon.c locally
from lib/krb5/posix.

To generate a diff of this commit:

cvs diff -r5.415 -r5.416 krb5/src/ChangeLog
cvs diff -r1.264 -r1.265 krb5/src/aclocal.m4
cvs diff -r5.380 -r5.381 krb5/src/appl/bsd/ChangeLog
cvs diff -r5.99 -r5.100 krb5/src/appl/bsd/
cvs diff -r5.184 -r5.185 krb5/src/config/ChangeLog
cvs diff -r1.49 -r1.50 krb5/src/config/
cvs diff -r1.32 -r1.33 krb5/src/kadmin/ChangeLog
cvs diff -r5.93 -r5.94 krb5/src/kadmin/server/ChangeLog
cvs diff -r1.16 -r1.17 krb5/src/kadmin/server/
cvs diff -r1.33 -r1.34 krb5/src/kadmin/v5passwdd/ChangeLog
cvs diff -r1.16 -r1.17 krb5/src/kadmin/v5passwdd/
cvs diff -r5.265 -r5.266 krb5/src/kdc/ChangeLog
cvs diff -r1.56 -r1.57 krb5/src/kdc/
cvs diff -r1.53 -r1.54 krb5/src/kdc/
cvs diff -r1.133 -r1.134 krb5/src/krb524/ChangeLog
cvs diff -r1.44 -r1.45 krb5/src/krb524/
cvs diff -r1.18 -r1.19 krb5/src/krb524/
cvs diff -r5.59 -r5.60 krb5/src/slave/ChangeLog
cvs diff -r1.30 -r1.31 krb5/src/slave/
cvs diff -r1.20 -r1.21 krb5/src/slave/