In order to successfully compile ktalkd, you need the latest versions of the KDE libraries as well as the Qt C++ library. All required libraries as well as ktalkd itself can be found on ftp://ftp.kde.org/pub/kde/.