I tried to iinstall kink but compilation failed with this
messages:
Good - your configure finished. Start make now
make all-recursive
make[1]: Entering directory `/home/gek/src/kink-0.2.1'
Making all in kink
make[2]: Entering directory `/home/gek/src/kink-0.2.1/kink'
/usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer
-nounload -o KinkDlg.h ./KinkDlg.ui
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include
-I/usr/qt/3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -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 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
/usr/qt/3/bin/moc ./kink.h -o kink.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include
-I/usr/qt/3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -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 -MT kink.o -MD -MP -MF ".deps/kink.Tpo" \
-c -o kink.o `test -f 'kink.cpp' || echo './'`kink.cpp; \
then mv -f ".deps/kink.Tpo" ".deps/kink.Po"; \
else rm -f ".deps/kink.Tpo"; exit 1; \
fi
kink.cpp: In member function `void
KInk::add_device_to_list(int, int, unsigned
char*)':
kink.cpp:159: error: invalid conversion from `unsigned char*'
to `const char*'
make[2]: *** [kink.o] Error 1
make[2]: Leaving directory `/home/gek/src/kink-0.2.1/kink'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gek/src/kink-0.2.1'
make: *** [all] Error 2
gcc --version:
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5,
propolice-3.3-7)
Logged In: YES
user_id=884799
Well, see this link: http://sourceforge.net/tracker/index.php?
func=detail&aid=870369&group_id=94447&atid=607962
I've already found this error and submitted patch ;-)
Logged In: YES
user_id=904548
ok, I see that someone already told you what to do...
Simply go to
http://sourceforge.net/tracker/index.php?func=detail&aid=870369&group_id=94447&atid=607962
and download/apply the patch.
This problem will be fixed in the next future of KInk, that
will be released soon.
Logged In: YES
user_id=675122
Thank you both, everything works OK now!