Author Topic: Several v4l programs need headers not found in kernel 2.6.38.8-pclos1.bfs  (Read 3422 times)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317

Compiling Linphone produces:

Code: [Select]
CC     msv4l.lo
msv4l.c:33:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[5]: *** [msv4l.lo] Error 1


Compiling mplayer produces:
Code: [Select]
libvo/vo_zr.c:36:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make: *** [libvo/vo_zr.o] Error 1
make: *** Waiting for unfinished jobs....

also several others fail.

Code: [Select]
Linux
[root@localhost ~]# uname -r
2.6.38.8-pclos1.bfs
[root@localhost ~]# updatedb && locate videodev.h
/usr/include/libv4l1-videodev.h
/usr/src/kernel-devel-2.6.32.11-pclos2.bfs/include/linux/videodev.h
[root@localhost ~]#

apparently videodev.h is included in 2.6.32 but not in 2.6.38.8.

libv4l-devel version 0.8.3 is installed,

is it the kernel that need the header or is it missing from libv4l?

cheers,
MBantz

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12540
videodev.h is depreciated in the newer kernels so you might have to dig around for patches to the programs you are trying to update.

It is now...
/usr/src/linux-2.6.38.8-pclos1/include/linux/videodev2.h

Thanks to everyone who donates. You keep the servers running.

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Super, thanks!

I'll check for patches or create new ones for the packages,

btw. does this break v4l if users use kernels prior to 2.6.38?