https://bugs.kde.org/show_bug.cgi?id=414151

            Bug ID: 414151
           Summary: Linking CXX shared module ../bin/sftp.so fails
           Product: kio-extras
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: dennisvea...@bellsouth.net
  Target Milestone: ---

SUMMARY
The linking portion of sftp fails.

STEPS TO REPRODUCE
1. Have gcc-9.2.0 with LTO enabled, libssh-0.9.2, openssh-81p1
2. run through cmake configuration
3. run make

OBSERVED RESULT
[ 79%] Automatic MOC for target windowsexethumbnail
[ 79%] Built target windowsexethumbnail_autogen
[ 80%] Built target windowsexethumbnail
[ 81%] Automatic MOC for target kio_sftp
[ 81%] Built target kio_sftp_autogen
[ 81%] Linking CXX shared module ../bin/sftp.so
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::closeConnection()':
kio_sftp.cpp:(.text+0x20): undefined reference to `sftp_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x36): undefined reference to `ssh_disconnect'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3f): undefined reference to `ssh_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::close()':
kio_sftp.cpp:(.text+0xa9): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::seek(unsigned long long)':
kio_sftp.cpp:(.text+0x3d8): undefined reference to `sftp_seek64'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3e9): undefined reference to `sftp_tell64'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4bf): undefined reference to `sftp_seek64'
/usr/bin/ld: kio_sftp.cpp:(.text+0x511): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::~sftpProtocol()':
kio_sftp.cpp:(.text+0x5ec): undefined reference to `ssh_finalize'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::write(QByteArray const&)':
kio_sftp.cpp:(.text+0xe91): undefined reference to `sftp_write'
/usr/bin/ld: kio_sftp.cpp:(.text+0x103b): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::special(QByteArray const&)':
kio_sftp.cpp:(.text+0x11da): undefined reference to `ssh_channel_poll'
/usr/bin/ld: kio_sftp.cpp:(.text+0x124e): undefined reference to
`ssh_channel_poll'
/usr/bin/ld: kio_sftp.cpp:(.text+0x12aa): undefined reference to
`ssh_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::read(unsigned long long)':
kio_sftp.cpp:(.text+0x146c): undefined reference to `sftp_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0x15f6): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::authenticateKeyboardInteractive(KIO::AuthInfo&)':
kio_sftp.cpp:(.text+0x2070): undefined reference to `ssh_userauth_kbdint'
/usr/bin/ld: kio_sftp.cpp:(.text+0x20ab): undefined reference to
`ssh_userauth_kbdint_getname'
/usr/bin/ld: kio_sftp.cpp:(.text+0x20d9): undefined reference to
`ssh_userauth_kbdint_getinstruction'
/usr/bin/ld: kio_sftp.cpp:(.text+0x2107): undefined reference to
`ssh_userauth_kbdint_getnprompts'
/usr/bin/ld: kio_sftp.cpp:(.text+0x2300): undefined reference to
`ssh_userauth_kbdint_setanswer'
/usr/bin/ld: kio_sftp.cpp:(.text+0x2349): undefined reference to
`ssh_userauth_kbdint_getprompt'
/usr/bin/ld: kio_sftp.cpp:(.text+0x24d2): undefined reference to
`ssh_userauth_kbdint'
/usr/bin/ld: kio_sftp.cpp:(.text+0x2958): undefined reference to
`ssh_userauth_kbdint_setanswer'
/usr/bin/ld: kio_sftp.cpp:(.text+0x2f0c): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3003): undefined reference to
`ssh_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::createUDSEntry(QString const&, QByteArray const&,
KIO::UDSEntry&, short)':
kio_sftp.cpp:(.text+0x32ce): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3405): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x344d): undefined reference to
`sftp_readlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x357d): undefined reference to `sftp_stat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x358d): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x35f4): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::canonicalizePath(QString const&)':
kio_sftp.cpp:(.text+0x376e): undefined reference to `sftp_canonicalize_path'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3850): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::sftpProtocol(QByteArray const&, QByteArray const&)':
kio_sftp.cpp:(.text+0x3aeb): undefined reference to `ssh_set_log_level'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3afe): undefined reference to
`ssh_set_log_userdata'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3b15): undefined reference to
`ssh_set_log_callback'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::sftpOpenConnection(KIO::AuthInfo const&)':
kio_sftp.cpp:(.text+0x3c75): undefined reference to `ssh_new'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3cbd): undefined reference to
`ssh_options_set'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3cd8): undefined reference to
`ssh_options_set'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3cf8): undefined reference to
`ssh_options_set'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3d1c): undefined reference to
`ssh_options_set'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3d39): undefined reference to
`ssh_options_set'
/usr/bin/ld:
CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o:kio_sftp.cpp:(.text+0x3d64): more
undefined references to `ssh_options_set' follow
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::sftpOpenConnection(KIO::AuthInfo const&)':
kio_sftp.cpp:(.text+0x3dd5): undefined reference to `ssh_options_parse_config'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3df6): undefined reference to
`ssh_set_callbacks'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3ed0): undefined reference to `ssh_connect'
/usr/bin/ld: kio_sftp.cpp:(.text+0x3eea): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x406e): undefined reference to
`ssh_options_set'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4182): undefined reference to
`ssh_options_get_port'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::GetRequest::~GetRequest()':
kio_sftp.cpp:(.text+0x4220): undefined reference to `sftp_async_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4514): undefined reference to `sftp_close'
/usr/bin/ld: kio_sftp.cpp:(.text+0x451d): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::mimetype(QUrl const&)':
kio_sftp.cpp:(.text+0x4b5f): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::open(QUrl const&, QFlags<QIODevice::OpenModeFlag>)':
kio_sftp.cpp:(.text+0x4c63): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4cc2): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4d9d): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4dfe): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4e3d): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4e7c): undefined reference to `sftp_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4f30): undefined reference to `sftp_rewind'
/usr/bin/ld: kio_sftp.cpp:(.text+0x4fd5): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x505f): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::listDir(QUrl const&)':
kio_sftp.cpp:(.text+0x598e): undefined reference to `sftp_opendir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x5bcb): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x5be4): undefined reference to `sftp_readdir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x5da9): undefined reference to
`sftp_readlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x5fbe): undefined reference to `sftp_stat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x5fd2): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6086): undefined reference to
`sftp_closedir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6205): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x62ac): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::mkdir(QUrl const&, int)':
kio_sftp.cpp:(.text+0x64f7): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6513): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6687): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x66a3): undefined reference to `sftp_mkdir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x66dc): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x66fd): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6711): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::chmod(QUrl const&, int)':
kio_sftp.cpp:(.text+0x68e9): undefined reference to `sftp_chmod'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6b65): undefined reference to
`sftp_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::del(QUrl const&, bool)':
kio_sftp.cpp:(.text+0x6c42): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6da1): undefined reference to `sftp_rmdir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x6db2): undefined reference to
`sftp_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::closeWithoutFinish()':
kio_sftp.cpp:(.text+0x6ed9): undefined reference to `sftp_close'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::openConnection()':
kio_sftp.cpp:(.text+0x7073): undefined reference to `ssh_get_server_publickey'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7085): undefined reference to `ssh_key_type'
/usr/bin/ld: kio_sftp.cpp:(.text+0x708c): undefined reference to
`ssh_key_type_to_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x70b1): undefined reference to
`ssh_get_publickey_hash'
/usr/bin/ld: kio_sftp.cpp:(.text+0x70bf): undefined reference to `ssh_key_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x70df): undefined reference to
`ssh_get_fingerprint_hash'
/usr/bin/ld: kio_sftp.cpp:(.text+0x70ee): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7114): undefined reference to
`ssh_session_is_known_server'
/usr/bin/ld: kio_sftp.cpp:(.text+0x72c6): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x73cd): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x761a): undefined reference to
`ssh_userauth_none'
/usr/bin/ld: kio_sftp.cpp:(.text+0x763a): undefined reference to
`ssh_auth_list'
/usr/bin/ld: kio_sftp.cpp:(.text+0x76e6): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x76ef): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x77db): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x77e4): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x791a): undefined reference to
`ssh_session_update_known_hosts'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7934): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x798e): undefined reference to `ssh_key_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x79d7): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7b55): undefined reference to
`ssh_string_free_char'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7bd0): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7c5f): undefined reference to `sftp_new'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7c9a): undefined reference to `sftp_init'
/usr/bin/ld: kio_sftp.cpp:(.text+0x7f3f): undefined reference to
`ssh_userauth_publickey_auto'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8297): undefined reference to
`ssh_userauth_password'
/usr/bin/ld: kio_sftp.cpp:(.text+0x83f3): undefined reference to
`ssh_userauth_gssapi'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8a5a): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8bc0): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8c96): undefined reference to
`ssh_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::fileSystemFreeSpace(QUrl const&)':
kio_sftp.cpp:(.text+0x8d33): undefined reference to `sftp_extension_supported'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8d95): undefined reference to `sftp_statvfs'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8e42): undefined reference to
`sftp_statvfs_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x8f75): undefined reference to
`sftp_get_error'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::GetRequest::readChunks(QByteArray&)':
kio_sftp.cpp:(.text+0x9044): undefined reference to `sftp_async_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0x952c): undefined reference to `sftp_seek64'
/usr/bin/ld: kio_sftp.cpp:(.text+0x953c): undefined reference to
`sftp_async_read_begin'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::symlink(QString const&, QUrl const&, QFlags<KIO::JobFlag>)':
kio_sftp.cpp:(.text+0x962f): undefined reference to `sftp_symlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x98ae): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x98c8): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x98d4): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x98dd): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x990b): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9932): undefined reference to `sftp_symlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x993e): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::rename(QUrl const&, QUrl const&, QFlags<KIO::JobFlag>)':
kio_sftp.cpp:(.text+0x9a39): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9a6c): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9a80): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9a9b): undefined reference to `sftp_rename'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9c21): undefined reference to `sftp_rmdir'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9c3d): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9ca8): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::sftpPut(QUrl const&, int, QFlags<KIO::JobFlag>, int&, int)':
kio_sftp.cpp:(.text+0x9dc7): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9fca): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9fde): undefined reference to `sftp_fstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0x9ff2): undefined reference to `sftp_seek64'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa003): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa057): undefined reference to `sftp_write'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa0fd): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa116): undefined reference to `sftp_close'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa152): undefined reference to `sftp_rename'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa235): undefined reference to `sftp_chmod'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa27f): undefined reference to `sftp_chown'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa41f): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa4cf): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa4fd): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa52d): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa54f): undefined reference to `sftp_close'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa568): undefined reference to `sftp_stat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xa614): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xaa2f): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0xab40): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xac59): undefined reference to
`ssh_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0xac9f): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xad67): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0xae11): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xae81): undefined reference to `sftp_utimes'
/usr/bin/ld: kio_sftp.cpp:(.text+0xae91): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xafdc): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xb015): undefined reference to `sftp_unlink'
/usr/bin/ld: kio_sftp.cpp:(.text+0xb14f): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xb157): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::GetRequest::enqueueChunks()':
kio_sftp.cpp:(.text+0xba30): undefined reference to `sftp_async_read_begin'
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function
`sftpProtocol::sftpGet(QUrl const&, int&, long long, int)':
kio_sftp.cpp:(.text+0xbd63): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xbd9a): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xbeb8): undefined reference to
`sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xbeda): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0xbef8): undefined reference to `sftp_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0xbfad): undefined reference to `sftp_rewind'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc17d): undefined reference to
`sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc1f1): undefined reference to `sftp_seek64'
collect2: error: ld returned 1 exit status
make[2]: *** [sftp/CMakeFiles/kio_sftp.dir/build.make:129: bin/sftp.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:8371: sftp/CMakeFiles/kio_sftp.dir/all]
Error 2
make: *** [Makefile:130: all] Error 2


EXPECTED RESULT
No failure in linking.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 5.64 
Qt Version: 5.13.2

ADDITIONAL INFORMATION
KDE Applications version 19.08.3.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to