Anitha Boyapati writes: > > Please let me know if I am missing something.It is important for > me to get through this immediately :-( > > ------------------------------------------- > > Sample Code : > > class X : class baseX { > ... > }; > > class Y : class baseY { > ... > }; > //End of Code > > g++ -c -shared -o mem.so X.o Y.o > > ( This created mem.so ) > > When used with dlopen as : > > handle = dlopen ("mem.so", RTLD_LAZY) > > The above statement throws error saying undefined reference to baseX > and BaseY! No kidding. Where are baseX and BaseY defined? Andrew.