This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Comiling errors in kdelibs, kdesupport and strigi under ARMEL dev-environment

Tags: None
(comma "," separated)
leever
Registered Member
Posts
3
Karma
0
OS
Hi guys,

I'm pretty new to KDE development and my actual project is to put KDE 4 on my internet table device. I've seen that someones have already acomplished it, but I still keep having some basic kde compilation errors.

When I try to make kdelibs this following error occurs, despite cmake finished without any fatal errors.

Code: Select all
[sbox-DIABLO_ARMEL: ~/KDE-trunc/kdelibs-build] > make
[  0%] Built target KDECMakeModulesManPage
make[2]: *** No rule to make target `kdecore/CMakeFiles/kdecore.dir/link.txt', needed by `lib/libkdecore.so.5.3.0'.  Stop.
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make: *** [all] Error 2


Here is the full error listing after a successfull and clean cmake:

Code: Select all
[sbox-DIABLO_ARMEL: ~/KDE-trunc/kdelibs-build] > make all
Scanning dependencies of target nepomuk-rcgen
[  0%] Building CXX object nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/nepomuk-rcgen_automoc.o
[  0%] Building CXX object nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/rcgen.o
[  0%] Building CXX object nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/resourceclass.o
[  0%] Building CXX object nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/ontologyparser.o
/home/maemo/KDE-trunc/kdelibs/nepomuk/rcgen/ontologyparser.cpp:240: warning: unused parameter 'externalRefs'
Linking CXX executable ../../bin/nepomuk-rcgen
[  0%] Built target nepomuk-rcgen
Generating backgroundengine_p.moc
Generating kconfigbackend.moc
Generating kcoreconfigskeleton.moc
Generating k3bufferedsocket.moc
Generating client_p.moc
Generating k3reverseresolver.moc
Generating klocalsocket.moc
Generating loader_p.moc
Generating ktoolinvocation.moc
Generating kjob.moc
Generating k3serversocket.moc
Generating ksystemtimezone.moc
Generating kjobtrackerinterface.moc
Generating k3datagramsocket.moc
Generating kdebugdbusiface_p.moc
Generating ktcpsocket.moc
Generating klibloader.moc
Generating kpluginloader.moc
Generating kautosavefile.moc
Generating kcompositejob.moc
Generating ksycoca.moc
Generating klibrary.moc
Generating k3streamsocket.moc
Generating k3clientsocketbase.moc
Generating k3resolver.moc
Generating kautostart.moc
Generating k3socketbase.moc
Generating klauncher_iface.moc
Generating kprocess.moc
Generating kpluginfactory.moc
Generating qtest_kde.moc
Generating kdedmodule.moc
Generating kjobuidelegate.moc
Generating backgroundchecker.moc
Scanning dependencies of target kdecore
make[2]: *** No rule to make target `kdecore/CMakeFiles/kdecore.dir/link.txt', needed by `lib/libkdecore.so.5.3.0'.  Stop.
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make: *** [all] Error 2


I thought this error might be because I didn't compile kdesupport and there might be some missing dependencies, but when I try to compile kdesupport, the same kind of error occurs ("No rule to make ....link.txt'")

I tried to compile the packages separately, some worked fine (namely automoc, soprano, akonadi, cpptoxml, phonon and qimageblitz) and the others showed the same error. Here the error listing of strigi:

Code: Select all
[ 12%] Built target testpt
make[2]: *** No rule to make target `strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/link.txt', needed by `strigi/src/streams/tests/testrunner-streams'.  Stop.
make[1]: *** [strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/all] Error 2
make: *** [all] Error 2
[sbox-DIABLO_ARMEL: ~/KDE-trunc/kdesupportbuild/strigi] >



Here some more information with a make VERBOSE=1:

Code: Select all
Linking CXX executable testpt
cd /home/maemo/KDE-trunc/kdesupportbuild/strigi/src/streams && /targets/DIABLO_ARMEL/usr/local/bin/cmake -E cmake_link_script CMakeFiles/testpt.dir/link.txt --verbose=1
/scratchbox/compilers/bin/c++    -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fexceptions -Wno-unused-parameter -O2 -g -DQT_NO_DEBUG  -fPIC CMakeFiles/testpt.dir/testpt.cpp.o CMakeFiles/testpt.dir/processinputstream.cpp.o  -o testpt -rdynamic
make[2]: Leaving directory `/home/maemo/KDE-trunc/kdesupportbuild'
/targets/DIABLO_ARMEL/usr/local/bin/cmake -E cmake_progress_report /home/maemo/KDE-trunc/kdesupportbuild/CMakeFiles
[ 12%] Built target testpt
make -f strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/build.make strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/depend
make[2]: Entering directory `/home/maemo/KDE-trunc/kdesupportbuild'
cd /home/maemo/KDE-trunc/kdesupportbuild && /targets/DIABLO_ARMEL/usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /home/maemo/KDE-trunc/kdesupport /home/maemo/KDE-trunc/kdesupport/strigi/src/streams/tests /home/maemo/KDE-trunc/kdesupportbuild /home/maemo/KDE-trunc/kdesupportbuild/strigi/src/streams/tests /home/maemo/KDE-trunc/kdesupportbuild/strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/maemo/KDE-trunc/kdesupportbuild'
make -f strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/build.make strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/build
make[2]: Entering directory `/home/maemo/KDE-trunc/kdesupportbuild'
make[2]: *** No rule to make target `strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/link.txt', needed by `strigi/src/streams/tests/testrunner-streams'.  Stop.
make[2]: Leaving directory `/home/maemo/KDE-trunc/kdesupportbuild'
make[1]: *** [strigi/src/streams/tests/CMakeFiles/testrunner-streams.dir/all] Error 2
make[1]: Leaving directory `/home/maemo/KDE-trunc/kdesupportbuild'
make: *** [all] Error 2


If someone could give me a little hint where the possible error might be, I'd be very greatfull! Because here I'm really powerless.



The developing system:

Scratchbox (target is ARMEL (and not X86)) on a 8.04 Ubuntu on VMware on WinXP Pro
Scratchbox Compiler: cs2005q3.2-glibc2.5-arm
QT4.5 installed (I hope with all dev-libraries)
cmake 2.6.3 (self compiled without any fatal errors) [edited]

I tried it with a couple of KDE-trunk revisions since last weekend and always had the same issue. I know it's possible to compile it, because some guys already did compile kde 4 successfully under ARMEL (unfortunately they never had this errors...).
In fact what I tried/found out: this link.txt-error occured once with akonadi, but after a cmake && make && make install of soprano, I managed successfully to make akonadi. But on all sites I've seen, the cmake && make && make install of kdesupport and kdelibs should work fine and without any prerequisit packages (well...cmake tells us already if there is a missing library or not.) Or is there anything basic I've totally neglected?

Last edited by leever on Mon Apr 27, 2009 10:40 am, edited 1 time in total.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
I recommend contacting Marijn Kruisselbrink.

He did that for 4.2.0 so he probably knows all the tricks.

See http://www.kdedevelopers.org/node/3879

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
leever
Registered Member
Posts
3
Karma
0
OS
Will definitely try! Thanx for the hint!

I also read his post on http://www.kdedevelopers.org/node/3624 but he kinda compiled it very smoothly, never mentioned a single error... I hope he can still help me out :-)

greetz
pansz
Registered Member
Posts
113
Karma
0
OS
AFAIK you need at least cmake 2.6 to have cross-compile support. and you said that you're using cmake 2.5.3 ?
leever
Registered Member
Posts
3
Karma
0
OS
Oh, I made a slight error. In fact I'm using the latest cmake and that's 2.6.3.

But may it be due to an old version of the gcc compiler? I'm using gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)
(it's the latest one from the maemo-repository)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]