I recently upgraded my GLibc to 2.15 and as a result, my KDE-Runtime module will no longer build. The cause appears to be changes to the "rpc.h" header. It appears to build fine against older headers.

BLFS has posted a small patch [attached]:

http://www.linuxfromscratch.org/blfs/view/svn/kde4/kde4runtime.html

to make it build with current headers, which I would suggest be committed to the GIT repository.

--
James Tyrer

Linux (mostly) From Scratch
Submitted By:            Ragnar Thomsen <rthomsen_at_linuxfromscratch_dot_org>
Date:                    2012-04-14
Initial Package Version: 4.8.2
Description:             Fixes linking to libtirpc

diff -Naur a/kioslave/nfs/CMakeLists.txt b/kioslave/nfs/CMakeLists.txt
--- a/kioslave/nfs/CMakeLists.txt       2011-07-27 20:36:16.000000000 +0200
+++ b/kioslave/nfs/CMakeLists.txt       2012-04-04 14:26:09.899031662 +0200
@@ -3,8 +3,8 @@
 
 kde4_add_plugin(kio_nfs ${kio_nfs_PART_SRCS})
 
-
-target_link_libraries(kio_nfs   ${KDE4_KIO_LIBS})
+include_directories(/usr/include/tirpc)
+target_link_libraries(kio_nfs   ${KDE4_KIO_LIBS} tirpc)
 
 install(TARGETS kio_nfs  DESTINATION ${PLUGIN_INSTALL_DIR} )
 
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Reply via email to