Skip to main content

All Questions

Tagged with
5 votes
1 answer
7k views

Archive has no index; run ranlib to add one (when linking with a .a containing a MachO64 object file on Linux)

I tried to create a library and test it, but an error occurred. error code: ./libasm.a: error adding symbols: Archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status I ...
AMATEUR_TOSS's user avatar
0 votes
1 answer
486 views

Visual Studio Android building assembly files into app

We've got a Visual Studio Android solution with (among others) a static library project that contains functionality implemented in assembly. Like: my.S -> libMine.a -> libMyApp.so Some hoops (...
zyndor's user avatar
  • 1,438
1 vote
1 answer
232 views

I can't import symbols in assembler

I'm trying to write a static library for assembler. It's not working, though. The library builds fine, but when I try to build the program, this happens: $ ld -o hello -L../myasm -lmyasm hello.o ...
tbodt's user avatar
  • 16.9k