[OpenAFS-port-darwin] compiling aklog for Intel OS X

andrew bovill abovill@gmail.com
Tue, 21 Mar 2006 21:18:33 -0500


I am having an issue where I can compile aklog for OS X for intel, but
it will not run.
I am running OS X version 10.4.5 for Intel

I ran ./configure with --with-transarc-paths and --with-krb5-config

when I ran make aklog everything compiled properly, but when I run
aklog, I get the following error:
Illegal instruction

a backtrace shows the following:
(gdb) run
Starting program: /Users/andy/Desktop/Downloads/openafs-1.5.0/src/aklog/akl=
og
Reading symbols for shared libraries ................... done

Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x8fe136e4 in __dyld_stub_binding_helper_interface ()
(gdb) bt
#0  0x8fe136e4 in __dyld_stub_binding_helper_interface ()
#1  0x00000000 in ?? ()
#2  0x000181c1 in Create_Process_Part2 ()
#3  0xf3f2f1f0 in ?? ()
#4  0x8fe03da6 in __dyld__ZN4dyld14bindLazySymbolEPK11mach_headerPm ()
#5  0x8fe1370f in __dyld_stub_binding_helper_interface ()
#6  0x00000000 in ?? ()
#7  0x00016ef1 in afs_randomMod15 ()
#8  0x00016fd3 in ubik_ClientInit ()
#9  0x00009942 in pr_Initialize ()
#10 0x00002f7b in auth_to_cell ()
#11 0x000049ee in aklog ()
#12 0x00001ef2 in main ()

This is my first mac ever, so I'm a bit lost as to what those top few
functions are.
Does anyone have any idea what is causing this?
Thanks
--Andrew