﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3277	HAL-0.5.14 missing videodev.h	Marko Madunic	blfs-book@…	"== HAL-0.5.14 missing videodev.h with Linux-API Headers 3.x (kernel 3.x series) ==

Latest LFS-7.x Book and latest BLFS SVN 2012-01-xx do not provide[[BR]]
'''/usr/include/linux/videodev.h''' header file needed by '''HAL-0.5.14''' listed in BLFS book.[[BR]]
Following ERROR breaks HAL-0.5.14 build :
{{{
  CC     probe-video4linux.o
probe-video4linux.c:33:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[5]: *** [probe-video4linux.o] Error 1
make[5]: Leaving directory `/usr/src/packages/BUILD/hal-0.5.14/hald/linux/probing'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make[4]: Leaving directory `/usr/src/packages/BUILD/hal-0.5.14/hald/linux'
make[3]: Leaving directory `/usr/src/packages/BUILD/hal-0.5.14/hald'
make[2]: Leaving directory `/usr/src/packages/BUILD/hal-0.5.14/hald'
make[1]: Leaving directory `/usr/src/packages/BUILD/hal-0.5.14'
}}}


'''SOLUTION:'''[[BR]] 
Download '''v4l-utils-0.8.5.tar.bz2''' from [[BR]]
http://linuxtv.org/downloads/v4l-utils/v4l-utils-0.8.5.tar.bz2 [[BR]]
and build those prior to building HAL.

Unpack the source and build it with:

{{{
make PREFIX=/usr LIBDIR=/usr/lib &&
make PREFIX=/usr LIBDIR=/usr/lib check
}}}
then as '''root''' user 
{{{
make PREFIX=/usr LIBDIR=/usr/lib install 
}}}

Now, create symbolic link that HAL-0.5.14 needs , again as '''root''' user:
{{{
ln -svf /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
}}}
After that HAL-0.5.14 will build successfully.

Happy BLFS :)

Mad"	task	closed	normal		BOOK	SVN	medium	wontfix	HAL Linux-3.x videodev.h	
