Kdevplatform compile error
Robin Atwood
robin at binro.org
Sat Feb 26 12:37:34 GMT 2011
I am trying to build kdevplatform 1.2.0 against KDE 4.6.0 and get:
[ 7%] Building CXX object
interfaces/CMakeFiles/kdevplatforminterfaces.dir/foregroundlock.o
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:
In constructor ‘SimplePThreadMutex::SimplePThreadMutex()’:
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:38:
error: expected primary-expression before ‘{’ token
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:38:
error: expected `;' before ‘{’ token
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:41:
error: expected `}' at end of input
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:
In member function ‘void SimplePThreadMutex::lock()’:
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:46:
warning: unused variable ‘result’
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:
In member function ‘void SimplePThreadMutex::unlock()’:
/var/tmp/portage/dev-
util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/interfaces/foregroundlock.cpp:50:
warning: unused variable ‘result’
make[2]: ***
[interfaces/CMakeFiles/kdevplatforminterfaces.dir/foregroundlock.o] Error 1
make[1]: *** [interfaces/CMakeFiles/kdevplatforminterfaces.dir/all] Error 2
make: *** [all] Error 2
Any ideas?
--
----------------------------------------------------------------------
Robin Atwood.
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110226/042b3493/attachment.html>
More information about the KDevelop
mailing list