Bug 269296

Summary: build failed with jingle flag
Product: [Applications] kopete Reporter: Alexander <hamilok>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: federico.aguirre, lamarque
Priority: NOR    
Version: 1.0.80   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.2

Description Alexander 2011-03-24 10:39:49 UTC
Version:           1.0.80 (using KDE 4.6.1) 
OS:                Linux

/var/tmp/portage/kde-base/kopete-4.6.1/work/kopete-4.6.1_build/kopete/libkopete/avdevice/../../../../kopete-4.6.1/kopete/libkopete/avdevice/videodevice.h:58:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[2]: *** [kopete/libkopete/avdevice/CMakeFiles/kopete_videodevice.dir/kopete_videodevice_automoc.o] Error 1
make[1]: *** [kopete/libkopete/avdevice/CMakeFiles/kopete_videodevice.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Reproducible: Didn't try




OS: Linux (i686) release 2.6.38-gentoo
Compiler: i686-pc-linux-gnu-gcc
Comment 1 Lamarque V. Souza 2011-03-24 19:19:01 UTC
You need linux-headers package installed to compile Kopete.
Comment 2 Alexander 2011-03-25 10:06:44 UTC
linux-headers by default installed
Comment 3 Aguirre Carlos Federico 2011-03-26 02:21:59 UTC
I can reproduce the bug here using linux-headers 2.6.38, seems videodev.h was removed from 2.6.38 kernel.
Comment 4 Alexander 2011-03-26 10:41:14 UTC
probably you are right. or it was renamed to videodev2.h (anyway it exists).
Comment 5 Lamarque V. Souza 2011-03-27 21:26:20 UTC
SVN commit 1226213 by lvsouza:

Make V4L support optional as it has been removed from kernel 2.6.38
http://svn.reviewboard.kde.org/r/6643
Thanks Carlos Federico Aguirre for this patch.

BUG: 269296
REVIEW: 6643
FIXED-IN: 4.6.2


 M  +1 -0      CMakeLists.txt  
 M  +2 -0      config-kopete.h.cmake  
 M  +24 -1     libkopete/avdevice/videodevice.cpp  
 M  +10 -0     libkopete/avdevice/videodevice.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1226213
Comment 6 Lamarque V. Souza 2011-03-27 21:29:05 UTC
SVN commit 1226216 by lvsouza:

Make V4L support optional as it has been removed from kernel 2.6.38
http://svn.reviewboard.kde.org/r/6643
Thanks Carlos Federico Aguirre for this patch.

BUG: 269296
REVIEW: 6643
FIXED-IN: 4.6.2


 M  +1 -0      CMakeLists.txt  
 M  +2 -0      config-kopete.h.cmake  
 M  +24 -1     libkopete/avdevice/videodevice.cpp  
 M  +10 -0     libkopete/avdevice/videodevice.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1226216