Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3277 closed task (wontfix)

HAL-0.5.14 missing videodev.h

Reported by: Marko Madunic Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords: HAL Linux-3.x videodev.h
Cc:

Description

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
/usr/include/linux/videodev.h header file needed by HAL-0.5.14 listed in BLFS book.
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:
Download v4l-utils-0.8.5.tar.bz2 from
http://linuxtv.org/downloads/v4l-utils/v4l-utils-0.8.5.tar.bz2
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

Change History (2)

comment:1 by Armin K, 12 years ago

Resolution: wontfix
Status: newclosed

HAL will be probably removed from the book in near future because there is no use for it anymore in any of the packages present in the book. Marking as wontfix.

comment:2 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.