This is the error I get
cd /opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu/kdesktop/lock && /usr/bin/g++ -DHAVE_CONFIG_H -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu/kdesktop/lock -I/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu/kdesktop -I/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu -I/opt/software_x64/KDE/TDE/tdebase/tdmlib -I/opt/software_x64/KDE/TDE/tdebase/kcheckpass -I/opt/trinity/include -I/usr/include/tqt3 -I/usr/include/tqt -o CMakeFiles/kdesktop_lock.dir/lockdlg.cc.o -c /opt/software_x64/KDE/TDE/tdebase/kdesktop/lock/lockdlg.cc
/opt/software_x64/KDE/TDE/tdebase/kdesktop/lock/lockdlg.cc: In member function 'virtual void PasswordDlg::attemptCardLogin()':
/opt/software_x64/KDE/TDE/tdebase/kdesktop/lock/lockdlg.cc:979:7: error: 'pkcsLoginEnabled' is not a member of 'LDAPManager'
if (!LDAPManager::pkcsLoginEnabled()) {
^
kdesktop/lock/CMakeFiles/kdesktop_lock.dir/build.make:122: recipe for target 'kdesktop/lock/CMakeFiles/kdesktop_lock.dir/lockdlg.cc.o' failed
make[3]: *** [kdesktop/lock/CMakeFiles/kdesktop_lock.dir/lockdlg.cc.o] Error 1
make[3]: Leaving directory '/opt/software_x64/KDE/TDE/tdebase/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:22924: recipe for target 'kdesktop/lock/CMakeFiles/kdesktop_lock.dir/all' failed