[OpenAFS-devel] kfm_aklog_krb5 build problem, and OSX kernel panics

Troy Benjegerdes hozer@hozed.org
Tue, 15 Feb 2005 19:50:27 -0600


I have a couple of users (with AFS home directories on OSX) who have
consistently been able to panic the box with openafs-1.2.10.

I'm wanting to try out the latest openafs-1.3.78, and see if that helps.
While I'm doing that, I also want to work on getting some sort of
Kerberos for Mac loginlogout plugin build integrated into openafs.

I've tried hacking up Alexei Kosut's kfm_aklog plugin to work with the
stuff in src/aklog, as well as Nicholas Riley's version.

The first problem is the Stanford license on kfm_aklog.c does not seem
compatible with the OpenAFS license.

The second problem is both versions have problems during the final link:


DynamicLibrary.LinkUsingFileList
/afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build/aklog.loginLogout/Contents/MacOS/aklog
    /usr/bin/gcc-3.3  -o
    /afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build/aklog.loginLogout/Contents/MacOS/aklog
    "-L/afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build"
    "-L/Library/OpenAFS/Tools/lib" "-L/Library/OpenAFS/Tools/lib/afs"
    "-F/afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build"
    -filelist/afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build/kfm_aklog_krb5.build/kfm_aklog_krb5.build/Objects-normal/LinkFileList
    "-framework" "Kerberos" "-lrx" "-lrxkad" "-lubik" "-lafsutil"
    "-lauth" "-lprot" "-lsys" "-llwp" "-ldes"  "-arch""ppc" "-bundle"
    "-read_only_relocs" "suppress"
    ld: /Library/OpenAFS/Tools/lib/afs/libauth.a(cellconfig.o) illegal
    reference tosymbol: _res_9_dn_expand defined in indirectly
    referenced dynamic library /usr/lib/libresolv.9.dylib
    ...failed DynamicLibrary.LinkUsingFileList
    /afs/scl.ameslab.gov/user/troy/krb/kfm_aklog_krb5/build/aklog.loginLogout/Contents/MacOS/aklog
    ...
    ** BUILD FAILED **
    

It looks like openafs-1.2.13 doesn't have this build problem.. any
ideas?