In order to successfully compile KFax, you need the latest versions of libkdecore, libkfm and libkdeui. All required libraries as well as KFax itself can be found on ftp://ftp.kde.org/pub/kde/.