[kde-freebsd] Compilation error in kdeedu

Max Brazhnikov makc at freebsd.org
Tue Apr 14 23:15:56 CEST 2009


On Tue, 14 Apr 2009 21:36:02 +0200, Marco Beishuizen wrote:
> Hi,
>
> I tried to do a portinstall of KDE 4.2.2 on FreeBSD 7.1-stable but I get
> the following compile error:
>
> ....
> [ 94%] Building CXX object
> kstars/kstars/CMakeFiles/kstars.dir/kstarsadaptor.o
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp: In
> destructor 'virtual KStars::~KStars()':
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:133:
> warning: possible problem detected in invocation of delete operator:
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:133:
> warning: invalid use of incomplete type 'struct INDIMenu'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.h:40:
> warning: forward declaration of 'struct INDIMenu'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:133:
> note: neither the destructor nor the class-specific operator delete will be
> called, even if they are declared when the class is defined.
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:134:
> warning: possible problem detected in invocation of delete operator:
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:134:
> warning: invalid use of incomplete type 'struct INDIDriver'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.h:41:
> warning: forward declaration of 'struct INDIDriver'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:134:
> note: neither the destructor nor the class-specific operator delete will be
> called, even if they are declared when the class is defined.
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:135:
> warning: possible problem detected in invocation of delete operator:
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:135:
> warning: invalid use of incomplete type 'struct imagesequence'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.h:42:
> warning: forward declaration of 'struct imagesequence'
> /usr/ports/misc/kdeedu4/work/kdeedu-4.2.2/kstars/kstars/kstars.cpp:135:
> note: neither the destructor nor the class-specific operator delete will be
> called, even if they are declared when the class is defined.
> [ 94%] Building CXX object
> kstars/kstars/CMakeFiles/kstars.dir/simclockadaptor.o
> Linking CXX executable kstars
> [ 94%] Built target kstars
> 1 error
> *** Error code 2
> 1 error
> *** Error code 1
> ....
>
> Does anyone has an idea what happened here?
> Thanks in advance.
>
> Marco

Try to build with DISABLE_MAKE_JOBS=yes

Max


More information about the kde-freebsd mailing list