I have 2 static libs: liba.a, libb.a and a executable that link both. liba.a is calling to function foo which is defined in libb.a both libs compile successfully BUT my exe seems to have linker errors:
undefined reference to `foo'
need help...
using ubuntu 14.04. gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)