Hi,

Using LFS SVN (only difference is adding a switch to gcc2
configure, as described in one my posts to lfs-dev), I get
an error when building kderuntime. I have built 100+ BLFS
packages before (all required or recommended dependencies
for kde), following exactly the book instructions (actually
extracting scripts with ablfs). I had to modify some scripts
in trivial ways (specially because I do not have installed Doxygen
and Gtk-doc, and the book has instructions to using them).
Also, a few 'role="root"' are missing. I'll make a report if
I succeed in building kde.

But here I am stuck. The log has (I have passed
-DCMAKE_VERBOSE_MAKEFILE=TRUE to get
the commands logged) :
------------------
[...]
Linking CXX shared module ../../lib/kio_nfs.so
cd /sources/kderuntime/kde-runtime-4.8.2/build/kioslave/nfs && 
/usr/bin/cmake -E  cmake_link_script CMakeFiles/kio_nfs.dir/link.txt 
--verbose=1
/usr/bin/c++  -fPIC  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef 
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new 
-fno-common -Woverloaded-virtual -fno-threadsafe-statics 
-fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 
-g -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings 
-Wl,--no-undefined -lc   -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/opt/qt-4.8.1/lib 
/usr/lib/libkio.so.5.8.0 /opt/qt-4.8.1/lib/libQtNetwork.so 
/opt/qt-4.8.1/lib/libQtXml.so /usr/lib/libkdeui.so.5.8.0 
/opt/qt-4.8.1/lib/libQtGui.so /opt/qt-4.8.1/lib/libQtSvg.so 
/usr/lib/libkdecore.so.5.8.0 /opt/qt-4.8.1/lib/libQtDBus.so 
/opt/qt-4.8.1/lib/libQtCore.so -lpthread -Wl,-rpath,/opt/qt-4.8.1/lib:
CMakeFiles/kio_nfs.dir/kio_nfs.o: In function 
`NFSProtocol::openConnection()':
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:391: 
undefined reference to `clnttcp_create'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:432: 
undefined reference to `authunix_create'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:440: 
undefined reference to `xdr_void'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:478: 
undefined reference to `authunix_create'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:398: 
undefined reference to `clntudp_create'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:401: 
undefined reference to `clnt_pcreateerror'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:485: 
undefined reference to `clntudp_create'
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/kio_nfs.cpp:488: 
undefined reference to `clnt_pcreateerror'
CMakeFiles/kio_nfs.dir/mount_xdr.o: In function `xdr_fhandle':
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/mount_xdr.c:70: 
undefined reference to `xdr_opaque'
CMakeFiles/kio_nfs.dir/mount_xdr.o: In function `xdr_fhstatus':
/sources/kderuntime/kde-runtime-4.8.2/kioslave/nfs/mount_xdr.c:82: 
undefined reference to `xdr_u_int'
[... a long list of similar errors ...]

--------------------------
Those xdr_things are defined in librpcsvc.a, but I do not know where the 
clnt_things come
from. I suspect all of this has something to do with a missing library 
(maybe libtirpc ???),
or maybe nfs should be installed?
but nothing sure. Has anybody seen this error before?

Regards,
Pierre

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to