Guest User

Untitled

a guest
May 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. [noname@localhost lib_test]$ ls -l
  2. total 8
  3. -rw-r--r-- 1 noname noname 2816 Jan 14 00:13 libtest.a
  4. -rw-r--r-- 1 noname noname  111 Jan 14 00:02 main.cpp
  5. [noname@localhost lib_test]$ ranlib libtest.a
  6. [noname@localhost lib_test]$ g++ main.cpp -L. -ltest
  7. ./libtest.a: could not read symbols: Archive has no index; run ranlib to add one
  8. collect2: ld returned 1 exit status
  9. [noname@localhost lib_test]$
Add Comment
Please, Sign In to add comment