I\'m compiling a c++ program using the command line
g++ -c prog.cc -std=c++11 -march=native -fPIC -fopenmp
and then try to make a shared ob
I just ran into something similar when upgrading to ubuntu 14.04. I had to add -fkeep-inline-functions to the source file that defined the 'missing' symbol. No idea if your problem is similar.
You just need to make the default visibility hidden for your base class(handle_base). You can do this by -
#define VISIBILITY __attribute__((visibility("hidden")))
class VISIBILITY handle_base;