undefined symbol error during linnk time of library
I have written some code. During run time it gives me this error
vARubberBand is a class and QgsMapCanvas is also a class.
qgis: symbol lookup error: /usr/lib/qgis/libqgis_plugin_va.so: undefined symbol: _ZN12vARubberBandC1EP12QgsMapCanvas
i am using a object of vARubberBand in another class x inheriting from QgsMapCanvas. Code looks clean to me, no warning at compile time but at runtime this error is presented.
Help required to sort it out.