[OpenAFS] OpenAFS 1.4.0-rc8 Compile Error With Krb5 on OS 10.3
Mike Bydalek
mbydalek@contentconnections.com
Thu, 20 Oct 2005 11:14:46 -0700
Jeffrey Altman wrote:
> Ken Hornstein wrote:
>
>
>>> The krb_524_convert_creds() function is new to MIT Kerberos 1.4.x.
>>> Therefore, it is present in Tiger but not in previous versions.
>>>
>> Assuming you're talking about krb5_524_convert_creds(), it was definately
>> in MIT Kerberos 1.3, and I see it prototyped in /usr/include/krb5.h on
>> a Panther system here.
>>
>> --Ken
>>
>
> Ken:
>
> You are correct. This was added in 1.3 and should be available on Panther.
>
I checked, and yes, krb5_524_convert_creds is in the krb5.h. Doing some
looking, I checked the config.log and saw this, which is probably my
problem ;)
configure:13395: checking for krb5_524_convert_creds
configure:13445: cc -o conftest -g -O2 -I/usr/include conftest.c
-L/usr/lib -Wl,-rpath -Wl,/usr/lib -lkrb5 -lk5crypto -lkrb5support
-lcom_err -lresolv >&5
ld: unknown flag: -rpath
So I created a conftest.h and .c (from the configure script), and tried
removing the -rpath, but then it complained:
ld: can't map file: /usr/lib ((os/kern) invalid argument)
and it's all been downhill from here.
I'm not really sure on how to go from here, so any help would be great.
Thanks,
Mike