Kdevplatform compile error

Robin Atwood robin at binro.org
Mon Feb 28 00:17:50 GMT 2011


On Sunday 27 February 2011, Andreas Pakulat wrote:
> On 27.02.11 16:57:57, Robin Atwood wrote:
> > On Sunday 27 February 2011, Andreas Pakulat wrote:
> > > On 26.02.11 12:37:34, Robin Atwood wrote:
> > > > I am trying to build kdevplatform 1.2.0 against KDE 4.6.0 and get:
> > > Can you generate the pre-processed output of that file (run make
> > > VERBOSE=1, copy the compiler invocation and then add -I. Then you'll
> > > find the preprocessed file in
> > > interfaces/CMakeFiles/kdevplatforminterfaces.dir/foregroundlock.o). I
> > > guess your compiler is not able to understand the code to which
> > > PTHREAD_MUTEX_INITIALIZER expands.
> > 
> > Andreas
> > Thanks for the advice but it cannot create foregroundlock.o. (?)
> 
> There is at least -E missing in your commandline and did you change into
> the kdevplatform/interfaces directory first?

I have a Gentoo system and I changed the default compiler from gcc 4.3.5 to 
4.4.5 and the problem went away. :)

Thanks for the pointers
-Robin
-- 
----------------------------------------------------------------------
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/20110228/be4a1705/attachment.html>


More information about the KDevelop mailing list