Bug#229537: linux-kernel-headers: Building v4l?2? programs, general ioctl problem.
Package: linux-kernel-headers
Version: 2.5.999-test7-bk-15
Severity: normal
I'm trying to build nvrec(a v4l2 program). It builds fine but dose not get
the correct ioctl(headers). I know the bigger issue is binary
compatability, however I don't think there are enuff ppl using v4l that it
will get fixed. I have tryed copying header files from 2.6 with varable
results. If it builds I get the same problem or I get struct time problems.
I have reported the struct time problem previously and it is fixed untill I
break it.
The meat.
paladin:/usr/src/real/nvrec/nvrec-20020812# divx4rec -o tmp.avi -F 20
Starting nvrec.c, version 20020812 (nvrec-20020812).
nvcore_parse_file(617): Error opening "/root/.nvrec.conf"
v4l1_core_init(323): Size: 384x288 from /dev/v4l/video0
v4l1_core_init(393): Set window: Invalid argument
main(65): nvrec: initialising capture device: Invalid argument
The 393 is the result of not using the right header during build. ioctl
numbers and struct's may have changed. I have not the time to find ought
exactly why the API has change.
paladin:/usr/src/real/nvrec/nvrec-20020812# uname -a
Linux paladin 2.6.0-1-k7 #2 Sun Jan 11 17:06:46 EST 2004 i686 GNU/Linux
paladin:/usr/src/real/nvrec/nvrec-20020812# dpkg -l kernel-* | grep ^ii
ii kernel-headers 2.6.0-2 Header files related to Linux kernel version
ii kernel-headers 2.6.0-2 Linux kernel headers 2.6.0 on AMD K7
ii kernel-image-2 2.6.0-2 Linux kernel image for version 2.6 on AMD K7
ii kernel-image-2 2.6.0-2 Linux kernel image for version 2.6.0 on AMD
ii kernel-kbuild- 2.6.0-test11-1 Linux kernel 2.6 kbuild tools
ii kernel-package 8.079 A utility for building Linux kernel related
ii kernel-source- 2.6.0-2 Linux kernel source for version 2.6.0 with D
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux paladin 2.6.0-1-k7 #2 Sun Jan 11 17:06:46 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C
-- no debconf information
Reply to: