Kdevplatform compile error

Andreas Pakulat apaku at gmx.de
Thu Mar 3 07:41:41 GMT 2011


On 03.03.11 00:34:48, Robin Atwood wrote:
> > Still problems building 1.2.0:
> > 
> > Building CXX object 
> plugins/subversion/CMakeFiles/kdevsubversion.dir/kdevsvncpp/context.o                                                                                        
> > In file included from /usr/include/apr-0/apr_file_io.h:29,                                  
> >                  from /usr/include/subversion-1/svn_io.h:33,
> >                  from /usr/include/subversion-1/svn_subst.h:33,
> >                  from /var/tmp/portage/dev-
> util/kdevplatform-1.2.0/work/kdevplatform-1.2.0/plugins/subversion/kdevsvncpp/context.cpp:46:
> > /usr/include/apr-0/apr_file_info.h:121: error: conflicting declaration 
> ‘typedef ino_t apr_ino_t’
> > /usr/include/apr-1/apr.h:287: error: ‘apr_ino_t’ has a previous declaration 
> as ‘typedef long unsigned int apr_ino_t’
> 
> Looking at .../kdevsvncpp/context.cpp I commented out the                                                                                         
> "#include "apr_xlate.h" line and then the compilation completed. I have 
> Subverion 1.6.15 and Apache 2.2.16 installed.

As I said, you've got 2 versions of apr installed on your system and
somehow both are being used in the include-flags. Thats the error you
need to fix, anything else won't help you.

Andreas





More information about the KDevelop mailing list