Bug 135853 - videodev2.h error: '__s64' does not name a type
Summary: videodev2.h error: '__s64' does not name a type
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 01:36 UTC by Matthew Lloyd
Modified: 2006-10-18 01:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Lloyd 2006-10-18 01:37:10 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          GCC 4.1.1 
OS:                Linux

I downloaded Konstruct and had it run the meta/kde package. Then this came up, i did some digging and found that the problem might be in the /usr/include/videodev2.h and could be fixed with kernel-headers. I tried this, from Fedora Core 6 Test 3, which was 2.6.18-1.2798.fc6-i686. I also got a copy of the kernel from Kernel.org, which was 2.6.18.1, and tried that also. No luck with anything. 

Output:
make[4]: Entering directory `/home/matt/konstruct/kde/kdenetwork/work/kdenetwork-3.5.5/kopete/libkopete/avdevice'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kopete/protocols/gadu/libgadu  -I/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I.  -I/usr/kerberos/include -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/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I.  -I/usr/kerberos/include -DQT_THREAD_SUPPORT -I/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include  -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 -I/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -L/home/matt/kde3.5.5/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -I/home/matt/kde3.5.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -L/home/matt/kde3.5.5/lib -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -O2 -pipe -O2 -pipe -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:714: 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] Error 1
make[4]: Leaving directory `/home/matt/konstruct/kde/kdenetwork/work/kdenetwork-3.5.5/kopete/libkopete/avdevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/matt/konstruct/kde/kdenetwork/work/kdenetwork-3.5.5/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/matt/konstruct/kde/kdenetwork/work/kdenetwork-3.5.5/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/konstruct/kde/kdenetwork/work/kdenetwork-3.5.5'
make: *** [all] Error 2


The videodev2.h file i can send on request, as well as videodev.h and types.h.
Comment 1 Matthew Lloyd 2006-10-18 01:56:53 UTC
Ok, i downloaded a copy of the files directly from the video4linux site, and that seems to have fixed it. Its compiling now.