RT RT/krbdev.mit.edu: Ticket #1791 powerpc-aix nightly build failure: 'daemon' undefined in krb524d Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
1791
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
  • krb5-build
Tags
Version_reported
Version_Fixed
  • 1.4
Target_Version
 

 Relationships  
Depends on:
Depended on by:
Parents:
Children:

Refers to:
Referred to by:
  • 1847: (raeburn) daemon.c doesn't build on tru64 unix [resolved]
 
 Dates  
Created: Fri Aug 29 18:08:36 2003
Starts: Not set
Started: Fri Aug 29 21:09:45 2003
Last Contact: Not set
Due: Not set
Updated: Mon Nov 15 22:21:59 2004 by tlyu
 

 People  
Owner
 raeburn
Requestors
 raeburn@mit.edu
Cc
 
AdminCc
 
 

 More about Ken Raeburn  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Fri Aug 29 18:08:37 2003  raeburn - Ticket created    
     
Subject: powerpc-aix nightly build failure: 'daemon' undefined in krb524d

This happens with cc as well as gcc:

        gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DKRB5_KRB4_COMPAT=1 -DHAVE_BT_RSEQ=1 -DKRB5_PRIVATE=1
-DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_UNISTD_H=1 -DNEED_DAEMON_PROTO=1 -DRETSIGTYPE=void
-DHAVE_REGCOMP=1  -DUSE_MASTER -DKRB524_PRIVATE=1 -I../include
-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
`krb524_convert_princs'
        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
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.


Download (untitled) 1.3k
      Fri Aug 29 18:25:18 2003  raeburn - Correspondence added    
     
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....


Download (untitled) 341b
      Fri Aug 29 18:40:17 2003  raeburn - Component krb5-build added    
      Fri Aug 29 21:09:45 2003  raeburn - Status changed from new to resolved    
      Fri Aug 29 21:09:46 2003  raeburn - Given to raeburn    
      Fri Aug 29 21:09:46 2003  raeburn - Correspondence added    
     
From: raeburn@mit.edu
Subject: CVS Commit

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/configure.in, kadmin/configure.in, kdc/configure.in,
krb524/configure.in, slave/configure.in: Use it.  Don't directly check if
prototype for daemon() is needed.
* kadmin/server/Makefile.in (OBJS), kadmin/v5passwdd/Makefile.in (SERV_OBJS),
kdc/Makefile.in (OBJS, fakeka), krb524/Makefile.in (SERVER_OBJS),
slave/Makefile.in (SERVEROBJS): Use LIBOBJS.
* config/post.in (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/configure.in
	cvs diff -r5.184 -r5.185 krb5/src/config/ChangeLog
	cvs diff -r1.49 -r1.50 krb5/src/config/post.in
	cvs diff -r1.32 -r1.33 krb5/src/kadmin/ChangeLog
		krb5/src/kadmin/configure.in
	cvs diff -r5.93 -r5.94 krb5/src/kadmin/server/ChangeLog
	cvs diff -r1.16 -r1.17 krb5/src/kadmin/server/Makefile.in
	cvs diff -r1.33 -r1.34 krb5/src/kadmin/v5passwdd/ChangeLog
	cvs diff -r1.16 -r1.17 krb5/src/kadmin/v5passwdd/Makefile.in
	cvs diff -r5.265 -r5.266 krb5/src/kdc/ChangeLog
	cvs diff -r1.56 -r1.57 krb5/src/kdc/Makefile.in
	cvs diff -r1.53 -r1.54 krb5/src/kdc/configure.in
	cvs diff -r1.133 -r1.134 krb5/src/krb524/ChangeLog
	cvs diff -r1.44 -r1.45 krb5/src/krb524/Makefile.in
	cvs diff -r1.18 -r1.19 krb5/src/krb524/configure.in
	cvs diff -r5.59 -r5.60 krb5/src/slave/ChangeLog
	cvs diff -r1.30 -r1.31 krb5/src/slave/Makefile.in
	cvs diff -r1.20 -r1.21 krb5/src/slave/configure.in


Download (untitled) 1.6k
      Mon Nov 15 22:21:59 2004  tlyu - Version_Fixed 1.4 added