[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: bug in activity.cpp?
From: patrick flaherty <patf () well ! com>
Date: 2010-05-26 15:49:23
Message-ID: 4BFD4303.9010704 () well ! com
[Download RAW message or body]
On 5/26/2010 7:27 AM, Matteo Agostinelli wrote:
> Are you sure that you are linking to trunk kdelibs and not to an older
> version? Can you try to do a
>
> make VERBOSE=1
>
> in workspace/plasma/desktop/shell/ and post the output where it fails?
>
> Regards,
> Matteo
>
> On Tue, May 25, 2010 at 20:17, patrick flaherty<patf@well.com> wrote:
>
>> On 5/24/2010 12:33 PM, patrick flaherty wrote:
>>
>> Thanx Arno,
>>
>> I have all three of: kdelibs, kdepimlibs and kdebase. I've been trying
>> to keep them in sync with frequent svn udpates followed by builds.
>>
>> All three are pulling from the same set of repositories. (the list for
>> which I put in my first message).
>>
>> So I'll try updating and rebuilding kdelibs and after that return to
>> kdebase. And see what happens.
>>
>> pat
>>
>>
>> On 5/24/2010 12:19 PM, Arno Rehn wrote:
>>
>>
>> On Monday 24 May 2010 19:38:20 patrick flaherty wrote:
>>
>>
>>
>> Hi,
>>
>> I'm building KDE for the first time. KDE4 from the trunk. Had this
>> problem last night (GMT-8).
>>
>> Got up this morning; did an svn update and got a number of new files.
>> Then cmakekde to generate new build files. And rebuild. The problem
>>
>>
>>
>> When you build kdebase from svn, you'll also have to build kdelibs from SVN.
>> it appears as if you're building trunk kdebase against an old version of
>> kdelibs.
>>
>>
>>
>>
>> I rebuilt KDE from scratch and ran into the same problem again:
>>
>> [ 74%] Built target kdeinit_plasma-desktop_automoc
>> Scanning dependencies of target kdeinit_plasma-desktop
>> [ 74%] Building CXX object
>> workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/activity.o
>>
>> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:
>> In member function ‘void Activity::insertContainment(Plasma::Containment*)’:
>> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:267:
>> error: ‘class Plasma::Containment’ has no member named ‘lastScreen’
>> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:268:
>> error: ‘class Plasma::Containment’ has no member named ‘lastDesktop’
>> make[2]: ***
>> [workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/activity.o]
>> Error 1
>> make[1]: ***
>> [workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> I wiped the svn repositories clean and I do know to build kdelibs before
>> kdebase or kdepimlibs. This is the svn repository I use for all three:
>>
>> svn checkout -N svn://anonsvn.kde.org/home/kde/trunk
>>
>> I've looked at and studied a whole bunch of things. Gcc -E on activity.cpp
>> shows me that the symbols lastScreen and lastDekstop don't get declared
>> anywhere within activity.cpp's header files until the point at which
>> activity.cpp tries to use them - and blows up. On the other hand,
>> kdelibs/plasma/view.cpp (and other files) have the two symbols and compile
>> without problem.
>>
>> I would note from here:
>>
>> http://lxr.kde.org/ident?i=lastScreen
>>
>> that activity.cpp is the only file under kdebase that accesses these symbols
>> - as opposed to kdelibs. I would imagine that my inability to build
>> activity.cpp is related to this difference.
>>
>> Starting again from scratch is a long procedure for me. This step:
>>
>> http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2/KDE4-BASIS.ymp
>>
>> from here:
>>
>> http://en.opensuse.org/KDE/KDE4
>>
>> upgrades the installation to KDE 4.4.7 (with many applications such as
>> Dolphin not working - however I figured out how to fix what I need). So
>> rebuilding from scratch means, for me, wiping out the entire virtual machine
>> installation (openSUSE 11.2). Then reinstalling the operating system and a
>> number of other packages before I even arrive at rebuilding my local KDE
>> repository and restart the KDE build. There may be some better way of doing
>> things but I haven't figured it out yet.
>>
>> So if someone has some other idea of what I might be doing wrong, I'd be
>> very happy to hear it.
>>
>> thanx - pat
>>
>>
>>
>>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
>>>> <<
>>>>
>>
>>
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe<<
>>>
>
>
>
thanx Matteo - pat
> [ 50%] Building CXX object
> workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/activity.o
> cd
> /home/kde-devel/kde/build/trunk/KDE/kdebase/workspace/plasma/desktop/shell
> && /usr/bin/c++ -Dkdeinit_plasma_desktop_EXPORTS -D_BSD_SOURCE
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII
> -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1
> -DKDE_DEFAULT_DEBUG_AREA=1204 -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 -fvisibility-inlines-hidden -O2 -g -DNDEBUG
> -DQT_NO_DEBUG -fPIC
> -I/home/kde-devel/kde/build/trunk/KDE/kdebase/workspace/plasma/desktop/shell
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase
> -I/home/kde-devel/kde/build/trunk/KDE/kdebase
> -I/home/kde-devel/kde/build/trunk/KDE/kdebase/workspace
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/kdm
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/libs
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/libs/kworkspace
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/libs/plasmagenericshell
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/shells/common
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/scripting
> -I/home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/libs/kephal
> -I/usr/include/KDE -I/usr/include/QtXmlPatterns -I/usr/include/QtXml
> -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest
> -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools
> -I/usr/include/QtScript -I/usr/include/QtOpenGL
> -I/usr/include/QtNetwork -I/usr/include/QtMultimedia
> -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDBus
> -I/usr/include/QtAssistant -I/usr/include/Qt3Support
> -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt
> -I/usr/share/qt4/mkspecs/default -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -o CMakeFiles/kdeinit_plasma-desktop.dir/activity.o -c
> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp
> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:
> In member function ‘void
> Activity::insertContainment(Plasma::Containment*)’:
> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:266:
> error: ‘class Plasma::Containment’ has no member named ‘lastScreen’
> /home/kde-devel/kde/sources/trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp:267:
> error: ‘class Plasma::Containment’ has no member named ‘lastDesktop’
> make[2]: ***
> [workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/activity.o]
> Error 1
> make[2]: Leaving directory `/home/kde-devel/kde/build/trunk/KDE/kdebase'
> make[1]: ***
> [workspace/plasma/desktop/shell/CMakeFiles/kdeinit_plasma-desktop.dir/all]
> Error 2
> make[1]: Leaving directory `/home/kde-devel/kde/build/trunk/KDE/kdebase'
> make: *** [all] Error 2
> kde-devel@linux-26qn:~/kde/build/trunk/KDE/kdebase/workspace/plasma/desktop/shell>
>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic