Hi Albert, bshah on #kde-devel found the issue and I pushed the fix to frameworks. It works now :) There was a missing moc header in the main file.
Sincerely, Ranveer On Sat, 25 Jul 2015 at 22:56 Albert Astals Cid <aa...@kde.org> wrote: > El Dissabte, 25 de juliol de 2015, a les 16:10:02, Ranveer Aggarwal va > escriure: > > 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). > > I just compiled the frameworks branch and it compiled fine > > I am on commit 00566116b9732855eb6c58fe4c3df853f50d5ffd > > Is that the one you're having problems with? Or you have > uncommited/unpushed > things? Or you already fixed it? > > Cheers, > Albert > > > 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:16 > > 5: 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 <<