#3277: HAL-0.5.14 missing videodev.h
--------------------+-------------------------------------------------------
Reporter: mad77 | Owner: blfs-book@…
Type: task | Status: new
Priority: normal | Milestone: 6.7
Component: BOOK | Version: SVN
Severity: normal | Keywords: HAL Linux-3.x videodev.h
--------------------+-------------------------------------------------------
== 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
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3277>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page