I am using gcc-4.2.3 on 64-Bit Linux System. My Source base is having 2-shared libraries, each shared library having one class implementation. One class is base and other is derived in the shared libraries and both are not concrete classes. Concrete derived class is anoother class which is inherited from the classes implemented in shared libraries. When making call to the virtual function for Concrete derived class program terminates with segmentaion fault. For me its seems like vtable entries are getting corrupted but unable to resolve this problem.Please help/guide to resolve this issue.
I did not understand your problem correctly. Please provide more information. On a higher note, is there a specific reason you keep the derived and base class in different libraries?