You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, September 13th 2006, 4:38pm

[Kopete] cannot compile kopete 0.12.2 on FC6t2

Hi.
I've tried to compile kopete 0.12 on the latest Fedora Core 6 (FC6 isn't released I know).

The compile options are quite normal: ./configure --prefix=/opt/test && make

The error I get is:

Quoted

[...]
epicture.lo webcamwidget.lo connectionmanager_skel.lo clientiface_stub.lo kopeteconfig.lo -lkabc ui/libkopeteui.la -lkio -lXss -lXrender
make[4]: Leaving directory `/usr/local/src/kopete-0.12.2/kopete/libkopete'
Making all in avdevice
make[4]: Entering directory `/usr/local/src/kopete-0.12.2/kopete/libkopete/avdevice'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I. -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST -I../../../kopete/libkopete -I../../../kopete/libkopete -I../../../kopete/libkopete/avdevice -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private -I../../../kopete/libkopete/ui -I/usr/include/kde -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT videodevice.lo -MD -MP -MF ".deps/videodevice.Tpo" -c -o videodevice.lo videodevice.cpp; \
then mv -f ".deps/videodevice.Tpo" ".deps/videodevice.Plo"; else rm -f ".deps/videodevice.Tpo"; exit 1; fi
/usr/include/linux/videodev2.h:624: error: '__s64' does not name a type
videodevice.cpp: In member function 'int Kopete::AV::VideoDevice::selectInput(int)':
videodevice.cpp:752: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'int Kopete::AV::VideoDevice::setInputParameters()':
videodevice.cpp:798: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getBrightness()':
videodevice.cpp:1294: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setBrightness(float)':
videodevice.cpp:1317: warning: converting to '__u16' from 'float'
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getContrast()':
videodevice.cpp:1332: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setContrast(float)':
videodevice.cpp:1355: warning: converting to '__u16' from 'float'
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getSaturation()':
videodevice.cpp:1370: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setSaturation(float)':
videodevice.cpp:1393: warning: converting to '__u16' from 'float'
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getWhiteness()':
videodevice.cpp:1408: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setWhiteness(float)':
videodevice.cpp:1431: warning: converting to '__u16' from 'float'
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::getHue()':
videodevice.cpp:1446: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'float Kopete::AV::VideoDevice::setHue(float)':
videodevice.cpp:1469: warning: converting to '__u16' from 'float'
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getAutoBrightnessContrast()':
videodevice.cpp:1485: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setAutoBrightnessContrast(bool)':
videodevice.cpp:1494: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getAutoColorCorrection()':
videodevice.cpp:1506: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setAutoColorCorrection(bool)':
videodevice.cpp:1515: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::getImageAsMirror()':
videodevice.cpp:1526: warning: comparison between signed and unsigned integer expressions
videodevice.cpp: In member function 'bool Kopete::AV::VideoDevice::setImageAsMirror(bool)':
videodevice.cpp:1535: warning: comparison between signed and unsigned integer expressions
make[4]: *** [videodevice.lo] Fehler 1
make[4]: Leaving directory `/usr/local/src/kopete-0.12.2/kopete/libkopete/avdevice'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/local/src/kopete-0.12.2/kopete/libkopete'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/local/src/kopete-0.12.2/kopete'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/src/kopete-0.12.2'
make: *** [all] Fehler 2




Some version numbers:
qt-devel-3.3.6-13
kdelibs-devel-3.5.4-4.fc6
openslp-devel-1.2.1-6.fc6
libxml2-devel-2.6.26-2.1.1
libxslt-devel-1.1.17-1.1
kdebase-3.5.4-6.fc6
kdenetwork-3.5.4-3.fc6

Any idea? (The same procedure worked in FC5)

Sebastian

This post has been edited 1 times, last edit by "deadbabylon" (Sep 13th 2006, 4:38pm)


2

Tuesday, December 19th 2006, 1:51am

-> /usr/include/linux/videodev2.h:624:

to fix.. as root

1. open /usr/include/linux/videodev2.h using kwrite
2. ctrl+g enter 624 (the line number)
3. comment using /* */ or delete the line /* __s64 value64;*/

4. now compile kopete as user...

it's a real annoyance that the solution is not available at kopete-wiki
I want peace, health, and happiness for all...