Compile problem

Chris Kuklewicz chrisk at mit.edu
Wed Nov 22 03:20:54 CET 2000


Okay, this is a compile problem that eludes me.  I have RedHat 6.2 and
I am at MIT, so I have the local Athena packages as well.  I was
interesting in testing the 2.4 kernel and I so I am trying to get arla
setup.  I have both the MIT (athena) kerberos and the RH6.2 kerberos
available.  I compiled libkrbafs 0.9.8 against the MIT kerberos and
put it under /usr/local/.

But the problem comes from the linking (arla 0.34.6).  The tail end of
the failed make is: 

... blah blah blah ... here is where it compiles kocell.c

gcc -c  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/arla/etc\" -DARLACACHEDIR=\"/usr/local/arla/cache\" -DARLACONFFILE=\"/usr/local/arla/etc/arla.conf\" -DHAVE_CONFIG_H -DARLAOS=\"linux-gnu\" -DARLAVENDOR=\"pc\" -DARLACPU=\"i586\"  -I. -I. -I../../include -I./../../include -I../.. -I./../.. -I../../rxdef -I/usr/athena/include -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs   kocell.c
kocell.c: In function `cell_getcellbyhost':
kocell.c:572: warning: passing arg 1 of `krb_realmofhost' discards `const' from pointer target type

... text removed ...

gcc -c  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/arla/etc\" -DARLACACHEDIR=\"/usr/local/arla/cache\" -DARLACONFFILE=\"/usr/local/arla/etc/arla.conf\" -DHAVE_CONFIG_H -DARLAOS=\"linux-gnu\" -DARLAVENDOR=\"pc\" -DARLACPU=\"i586\"  -I. -I. -I../../include -I./../../include -I../.. -I./../.. -I../../rxdef -I/usr/athena/include -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs   auth.c
auth.c: In function `ktc_SetToken':
auth.c:134: warning: implicit declaration of function `krb_time_to_life'
rm -f libko.a
ar cr libko.a koerror.o kocell.o ports.o part.o sysname.o vlmisc.o afsconf.o auth.o
ranlib libko.a
gcc -c  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/arla/etc\" -DARLACACHEDIR=\"/usr/local/arla/cache\" -DARLACONFFILE=\"/usr/local/arla/etc/arla.conf\" -DHAVE_CONFIG_H -DARLAOS=\"linux-gnu\" -DARLAVENDOR=\"pc\" -DARLACPU=\"i586\"  -I. -I. -I../../include -I./../../include -I../.. -I./../.. -I../../rxdef -I/usr/athena/include -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs   kotest.c
gcc -o kotest kotest.o -L. -lko -L../../util -lutil -L../roken -lroken -L/usr/athena/lib  -lresolv 
./libko.a(kocell.o): In function `cell_getcellbyhost':
/home/build/arla/arla-0.34.6/lib/ko/kocell.c:572: undefined reference to `krb_realmofhost'
collect2: ld returned 1 exit status
make[1]: *** [kotest] Error 1
make[1]: Leaving directory `/home/build/arla/arla-0.34.6/lib/ko'
make: *** [all] Error 1

What should I do to arla's ./configure options or to /etc/ld.so.conf
to fix this mess?  I did not see any similar problem when I looked at
the arla-drinkers mailing list archive.

Current ld.so.conf is:

/usr/X11R6/LessTif/Motif1.2/lib/
/usr/X11R6/lib
/usr/lib
/usr/kerberos/lib
/usr/local/lib
/usr/i486-linux-libc5/lib
/usr/lib/qt-2.2.1/lib
/usr/lib/qt-2.2.0/lib
/usr/lib/qt-1.45/lib

-- 
Chris Kuklewicz





More information about the Arla-drinkers mailing list