Arla Compiling problem that I can't seem to fix

Mahir Aydin maydin at us.ibm.com
Tue Dec 12 16:42:50 CET 2000



well, libkrb4.a is in the /usr/local/lib directory, and here is the output
from the previous mail:
gcc -o kotest kotest.o -L. -lko -L../../util -lutil -L../roken -lroken
-L/usr/lo
cal/lib  -lresolv
./libko.a(kocell.o): In function `cell_getcellbyhost':
/root/mahir/arla-0.34.6/lib/ko/kocell.c:565: undefined reference to
`krb_realmof
host'
collect2: ld returned 1 exit status
make[1]: *** [kotest] Error 1
it seems to be including /usr/local/lib in there.  What am I doing wrong?
I am not very experianced with the -L option or ld, so I don't know if that
is the way I should include...
Thanks

Harald Barth <haba at pdc.kth.se>@stacken.kth.se on 12/12/2000 09:58:34 AM

Sent by:  owner-arla-drinkers at stacken.kth.se


To:   Mahir Aydin/Poughkeepsie/IBM at IBMUS
cc:   arla-drinkers at stacken.kth.se
Subject:  Re: Arla Compiling problem that I can't seem to fix




> I tried, and what I get is this: (There is none in usr/local/arla,
> they are all U's) so does this mean libkrb4a has it? (I have the MIT
> distirubtion of V5 as I told previously)


> [root at s390labo lib]# nm -o *.a | grep realmofhost
> libkrb4.a:realmofhost.o:0000000c T krb_realmofhost

That output looks as if it might be there, what happens if you link
against libkrb4.a?

Harald.








More information about the Arla-drinkers mailing list