SDK linking problem on Lion archive has no table of contents for architecture

Hi,

I’m having a problem linking the SDK, release 4.1.15 on my mac (osx 10.7.3).

I get the following error while trying to compile the examples:

ld: in …/…/…/shared//lib/libshrutil_x86_64.a, archive has no table of contents for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** […/…/bin/darwin/release/asyncAPI] Error 1
make[1]: *** [src/asyncAPI/Makefile.ph_build] Error 2
make: *** [all] Error 2

I’m not sure what ot make of it: the archive is there, and the objects packed should have been compiled
for the right architecture. Can anyone help me to trace the source of the error?

thanks a lot

Ok, I found a temporary solution here:

It seems that for some reason ranlib was not called on the archive files.
Is this a problem of the makefiles, or did I miss something?

thanks