LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Errors when compiling KTlight on Debian Lenny (testing) (https://www.linuxquestions.org/questions/linux-software-2/errors-when-compiling-ktlight-on-debian-lenny-testing-592255/)

lefty.crupps 10-16-2007 09:32 AM

Errors when compiling KTlight on Debian Lenny (testing)
 
At work we use the Nagios monitor to keep an eye on our servers. I am running the NTrayC.exe app under Wine, but I was hoping for a native Linux (preferably KDE) application.

I came across KTlight here and tried to build it, but I am getting the following errors with make:

Code:

lefty@crupps:~/ktlight/ktlight$ make
make  all-recursive
make[1]: Entering directory `/home/lefty/ktlight/ktlight'
Making all in doc
make[2]: Entering directory `/home/lefty/ktlight/ktlight/doc'
Making all in .
make[3]: Entering directory `/home/lefty/ktlight/ktlight/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lefty/ktlight/ktlight/doc'
Making all in en
make[3]: Entering directory `/home/lefty/ktlight/ktlight/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/lefty/ktlight/ktlight/doc/en'
make[2]: Leaving directory `/home/lefty/ktlight/ktlight/doc'
Making all in po
make[2]: Entering directory `/home/lefty/ktlight/ktlight/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lefty/ktlight/ktlight/po'
Making all in src
make[2]: Entering directory `/home/lefty/ktlight/ktlight/src'
source='ktlight.cpp' object='ktlight.lo' libtool=yes \
        depfile='.deps/ktlight.Plo' tmpdepfile='.deps/ktlight.TPlo' \
        depmode=gcc3 /bin/sh ../admin/depcomp \
        /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o ktlight.lo `test -f 'ktlight.cpp' || echo './'`ktlight.cpp
In file included from ktlight.cpp:54:
ktlight.h:137: error: extra qualification 'KTLight::' on member 'mousePressEvent'
ktlight.h:138: error: extra qualification 'KTLight::' on member 'paintEvent'
ktlight.h:139: error: extra qualification 'KTLight::' on member 'maybeTip'
make[2]: *** [ktlight.lo] Error 1
make[2]: Leaving directory `/home/lefty/ktlight/ktlight/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lefty/ktlight/ktlight'
make: *** [all] Error 2
lefty@crupps:~/ktlight/ktlight$

Does anyone know how I can fix this? Running KDE 3.5.7 on Debian Lenny with the 2.6.18 (stable) kernel.


All times are GMT -5. The time now is 11:17 AM.