Greetings all,

I was in the process of porting kdenetwork-filesharing to KF5, and with
help from #kde-devel, managed to fix most of the porting issues. However,
there is a recurring linking error which we're stuck on (This is being done
in the frameworks branch). It looks like this:

[ 16%] Automatic moc for target sambausershareplugin
[ 16%] Built target sambausershareplugin_automoc
Linking CXX shared module sambausershareplugin.so
CMakeFiles/sambausershareplugin.dir/sambausershareplugin.cpp.o: In function
`SambaUserSharePluginFactory::SambaUserSharePluginFactory()':
sambausershareplugin.cpp:(.text+0x2f): undefined reference to `vtable for
SambaUserSharePluginFactory'
CMakeFiles/sambausershareplugin.dir/sambausershareplugin.cpp.o: In function
`SambaUserSharePluginFactory::~SambaUserSharePluginFactory()':
sambausershareplugin.cpp:(.text+0xaf): undefined reference to `vtable for
SambaUserSharePluginFactory'
collect2: error: ld returned 1 exit status
samba/filepropertiesplugin/CMakeFiles/sambausershareplugin.dir/build.make:165:
recipe for target 'samba/filepropertiesplugin/sambausershareplugin.so'
failed
make[2]: *** [samba/filepropertiesplugin/sambausershareplugin.so] Error 1
CMakeFiles/Makefile2:122: recipe for target
'samba/filepropertiesplugin/CMakeFiles/sambausershareplugin.dir/all' failed
make[1]: ***
[samba/filepropertiesplugin/CMakeFiles/sambausershareplugin.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Has anyone faced a similar issue before? If yes, any possible fix?
Thanks.

Sincerely,
Ranveer
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to