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
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

#1
Posted 02/08/2012 09:23 AM   
Ok, I found a temporary solution here:

http://forums.nvidia.com/index.php?showtopic=79189

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
Ok, I found a temporary solution here:



http://forums.nvidia.com/index.php?showtopic=79189



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

#2
Posted 02/08/2012 09:30 AM   
Scroll To Top