[krbdev.mit.edu #3953] krb5-1.5-beta2 fails make check...

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Wed Jun 28 20:53:41 EDT 2006


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




More information about the krb5-bugs mailing list