Date: Sat, 10 Apr 2010 15:20:19 -0400
From: cliffhan...@gardener.com
Subject: Errors compiling kdebase-runtime 4.4
To: blfs-support@linuxfromscratch.org
Message-ID: <8cca6f9fe349576-1a14-4...@web-mmc-d07.sysops.aol.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi

Has anyone seen this unusual error when compling kdebase-runtime 4.4 on
LFS6.5

Apparently gcc thinks it's allocating the actual abstract objects,
instead of an
array of pointers and reports the following error: "cannot allocate an
object
of abstract type '...'".

Well, I'm not a programmer so how does one solve this?

/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent

.cpp:
In function 'QObject* qt_plugin_instance()':
/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent

.cpp:225:
error: cannot allocate an object of abstract type
'Attica::KdePlatformDependent'
/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent

.h:42:
note:   because the following virtual functions are pure within
'Attica::KdePlatformDependent':
/opt/kde/include/attica/platformdependent.h:47: note:   virtual void
Attica::PlatformDependent::addDefaultProviderFile(const QUrl&)
/opt/kde/include/attica/platformdependent.h:48: note:   virtual void
Attica::PlatformDependent::removeDefaultProviderFile(const QUrl&)
/opt/kde/include/attica/platformdependent.h:53: note:   virtual void
Attica::PlatformDependent::enableProvider(const QUrl&, bool) const
/opt/kde/include/attica/platformdependent.h:54: note:   virtual bool
Attica::PlatformDependent::isEnabled(const QUrl&) const
make[2]: ***
[attica/kdeplugin/CMakeFiles/attica_kde.dir/kdeplatformdependent.o]
Error 1
make[1]: *** [attica/kdeplugin/CMakeFiles/attica_kde.dir/all] Error 2
make: *** [all] Error 2
I'm running qt 4.6.1.  Any ideas?

yes, Install qt-4.6.2   for kde 4.4.2.
I just finished building everything I could and most went falwlessly, there
are a few packages which if too new will cause some problems,   I think
don't use the latest soprano package.   I think I used 3.70 or so, Dont have
access to my computer...
Regards,
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to