Skip Menu |
 

Date: Wed, 28 Jun 2006 20:51:26 -0400 (EDT)
From: Ezra Peisach <epeisach@MIT.EDU>
To: krb5-bugs@MIT.EDU
Subject: krb5-1.5-beta2 fails make check...

profile_copy is not exported by libkrb5 - but when running make check in
the os directory - the following is seen:

gcc -L../../../lib -Wl,-rpath -Wl,/tmp/e12345/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -o
t_std_conf t_std_conf.o def_realm.o get_krbhst.o realm_dom.o hst_realm.o
init_os_ctx.o locate_kdc.o dnsglue.o -lkrb5 -lk5crypto -lcom_err
-lkrb5support -lresolv -ldl
init_os_ctx.o(.text+0x3aa): In function `krb5_get_profile':
/tmp/krb5-1.5-beta2/src/lib/krb5/os/init_os_ctx.c:418: undefined
reference to `profile_copy'
collect2: ld returned 1 exit status

A fix would be to not compile the object file init_os_ctx.o into the
executable - but instead use the library... In Makefile.in - remove
init_os_ctx.o from T_STD_CONF_OBJS... In fact changing T_STD_CONF_OBJS
to only include t_std_conf.o would probably be best...

Ezra
From: epeisach@mit.edu
Subject: SVN Commit
rest from libkrb5. This fixes the problem of linking in init_os_ctx.o which
was trying to use the private copy_profile() that was not exported.

Also - updated dependencies - init_os_ctx.c now includes prof-int.h...


Commit By: epeisach



Revision: 18264
Changed Files:
U trunk/src/lib/krb5/os/Makefile.in
From: tlyu@mit.edu
Subject: SVN Commit
pull up r18264 from trunk

r18264@cathode-dark-space: epeisach | 2006-06-29 09:26:42 -0400
ticket: 3953
tags: pullup

Makefile.in: Change T_STD_CONF_OBJS to only list t_std_conf.o and pull in the
rest from libkrb5. This fixes the problem of linking in init_os_ctx.o which
was trying to use the private copy_profile() that was not exported.

Also - updated dependencies - init_os_ctx.c now includes prof-int.h...




Commit By: tlyu



Revision: 18269
Changed Files:
_U branches/krb5-1-5/
U branches/krb5-1-5/src/lib/krb5/os/Makefile.in