Need to add -fPIC to objects that will be put in a shared library.
Attach a file by drag & drop or click to upload