[kio] [Bug 328411] New: Linking kio_nfs.so fails due to missing -ltirpc

Markus Trippelsdorf markus at trippelsdorf.de
Wed Dec 4 07:35:48 GMT 2013


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

            Bug ID: 328411
           Summary: Linking kio_nfs.so fails due to missing -ltirpc
    Classification: Unclassified
           Product: kio
           Version: 4.11.4
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: nfs
          Assignee: unassigned-bugs at kde.org
          Reporter: markus at trippelsdorf.de

With glibc trunk I get:
/usr/local/bin/clang++  -w -march=native -O2 -flto -fPIC -march=native -O2
-pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common
-fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
-Wno-return-type-c-linkage -Wl,--enable-new-dtags
 -Wl,--no-undefined -lc 
-Wl,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3
-shared -Wl,-soname,kio_nfs.so -o ../../lib/kio_nfs.so CMakeFiles/kio_nfs
.dir/kio_nfs_automoc.o CMakeFiles/kio_nfs.dir/kio_nfs.o
CMakeFiles/kio_nfs.dir/mount_xdr.o CMakeFiles/kio_nfs.dir/nfs_prot_xdr.o 
-L/usr/lib64/qt4 /usr/lib64/libkio.so.5.11.4
 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so
/usr/lib64/libkdeui.so.5.11.4 /usr/lib64/qt4/libQtGui.so
/usr/lib64/qt4/libQtSvg.so /usr/lib64/libkdecore.so.5.11.4
 /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread
-Wl,-rpath,/usr/lib64/qt4
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to 'clnttcp_create'
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to 'clntudp_create'
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to
'clnt_pcreateerror'
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to 'authunix_create'
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to 'xdr_void'
/var/tmp/portage/kde-base/kdebase-kioslaves-4.11.4/temp/lto-llvm-a41f68.o:ld-temp.o:function
NFSProtocol::openConnection(): error: undefined reference to 'clnttcp_create'
etc.

Adding -ltirpc fixes the issue

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list