Timothy Baldwin wrote: >> is defined in a header file and included in main-program and plugin-lib. > > Are you sure you haven't added a non-inline virtual function to the > Polygon class? nope there's only the header file for the polygon class.
> >> But it seems that the compiler creates different symbol names each time. > > It shouldn't do that. > >> g++ -O0 -g3 -o cpp_dlopentest cpp_dlopentest.o -ldl > > You should pass -rdynamic when linking the main program so that the plugin > can refer to symbols in main program. > I set that flag but it changes nothing ;-(... -- mit freundlichem Gruss -- regards Thomas _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus