trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

FTBFS: kdebase-svn

From: Francois Andriot <francois.andriot@...>
Date: Sat, 03 Sep 2011 09:45:21 +0200
Hello, I've noticed 2 problems compiling kdebase from SVN.

1) in 'kdebase/libkonq/konq_sound.cc'
There are 2 "#include" which are incorrect :
#include <kartsdispatcher.h>
#include <kplayobjectfactory.h>
should be
#include <arts/kartsdispatcher.h>
#include <arts/kplayobjectfactory.h>
(btw, these 2 headers files are provided by kdelibs, not by arts)


2)  in 'kdebase/kdm/backend/access.c'
Error at linking with Xdmcp.
I used the cmake parameter :  -DWITH_XDMCP=ON
But it looks like the linking command below is missing the parameter: 
-lXdmcp
(it works if I add it manually)

cc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 
CMakeFiles/kdm.dir/access.c.o CMakeFiles/kdm.dir/auth.c.o 
CMakeFiles/kdm.dir/bootman.c.o CMakeFiles/kdm.dir/choose.c.o 
CMakeFiles/kdm.dir/client.c.o CMakeFiles/kdm.dir/consolekit.c.o 
CMakeFiles/kdm.dir/ctrl.c.o CMakeFiles/kdm.dir/daemon.c.o 
CMakeFiles/kdm.dir/dm.c.o CMakeFiles/kdm.dir/dpylist.c.o 
CMakeFiles/kdm.dir/error.c.o CMakeFiles/kdm.dir/genauth.c.o 
CMakeFiles/kdm.dir/inifile.c.o CMakeFiles/kdm.dir/krb5auth.c.o 
CMakeFiles/kdm.dir/mitauth.c.o CMakeFiles/kdm.dir/netaddr.c.o 
CMakeFiles/kdm.dir/policy.c.o CMakeFiles/kdm.dir/process.c.o 
CMakeFiles/kdm.dir/protodpy.c.o CMakeFiles/kdm.dir/reset.c.o 
CMakeFiles/kdm.dir/resource.c.o CMakeFiles/kdm.dir/rpcauth.c.o 
CMakeFiles/kdm.dir/server.c.o CMakeFiles/kdm.dir/session.c.o 
CMakeFiles/kdm.dir/sessreg.c.o CMakeFiles/kdm.dir/socket.c.o 
CMakeFiles/kdm.dir/streams.c.o CMakeFiles/kdm.dir/util.c.o 
CMakeFiles/kdm.dir/xdmauth.c.o CMakeFiles/kdm.dir/xdmcp.c.o  -o kdm 
-rdynamic -L/opt/trinity/lib -lX11 -lXau -ldbus-tqt-1 -ldbus-1 -lpthread 
-lrt -lpam -ldl -Wl,-rpath,/opt/trinity/lib:
CMakeFiles/kdm.dir/access.c.o: In function `scanEntrylist':
/home/albator/rpmbuild/BUILD/kdebase/kdm/backend/access.c:347: undefined 
reference to `XdmcpARRAY8Equal'
CMakeFiles/kdm.dir/access.c.o: In function `getLocalAddress':
/home/albator/rpmbuild/BUILD/kdebase/kdm/backend/access.c:123: undefined 
reference to `XdmcpAllocARRAY8'
/home/albator/rpmbuild/BUILD/kdebase/kdm/backend/access.c:118: undefined 
reference to `XdmcpAllocARRAY8'
/home/albator/rpmbuild/BUILD/kdebase/kdm/backend/access.c:111: undefined 
reference to `XdmcpAllocARRAY8'
[...]
and so on ....


Regards
Fran├žois Andriot