Summary:  I get the following error when trying to compile 0.3.9 on
Debian Sarge with kernel 2.4.27-2-386:

[snip]
saa7127.c:751: error: structure has no member named `nr'
saa7127.c:771: error: structure has no member named `nr'
saa7127.c:776: error: structure has no member named `nr'
make: *** [saa7127.o] Error 1
debian:/home/ken/src/ivtv-0.3.9/driver#


Details:
I just received a Hauppauge WinTV-PVR500 yesterday and am having
problems getting the ivtv drivers to compile.  I downloaded
ivtv-0.3.9.tgz from http://www.ivtv.tv/releases/ivtv-0.3/ last night
as well.

Originally I could not get it to compile more than just a couple
objects before it would fail with:

In file included from ivtv-driver.c:40:
ivtv-version.h:21:29: ivtv-svnversion.h: No such file or directory
ivtv-driver.c:76: error: `IVTV_DRIVER_VERSION_COMMENT' undeclared here
(not in a function)
make: *** [ivtv-driver.o] Error 1
debian:/home/ken/src/ivtv-0.3.9/driver

After some digging in the makefile I was able to fix it with doing a
'make ivtv-svnversion.h' first and then a 'make'.

Now it compiles for a little longer and then I see:

gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS
-DEXPORT_SYMTAB -I/lib/modules/2.4.27-2-386/build/include -O2
-fomit-frame-pointer -march=i586 -mcpu=i586 -fno-strict-aliasing
-Wno-unused -include
/lib/modules/2.4.27-2-386/build/include/linux/modversions.h    -c -o
ivtv-dma.o ivtv-dma.c
gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS
-DEXPORT_SYMTAB -I/lib/modules/2.4.27-2-386/build/include -O2
-fomit-frame-pointer -march=i586 -mcpu=i586 -fno-strict-aliasing
-Wno-unused -include
/lib/modules/2.4.27-2-386/build/include/linux/modversions.h    -c -o
ivtv-yuv.o ivtv-yuv.c
ld -r -o ivtv.o ivtv-driver.o ivtv-fileops.o ivtv-i2c.o ivtv-streams.o
ivtv-firmware.o ivtv-reset.o ivtv-gpio.o ivtv-queue.o ivtv-irq.o
ivtv-mailbox.o ivtv-vbi.o ivtv-kthreads.o ivtv-audio.o ivtv-ioctl.o
ivtv-controls.o ivtv-video.o ivtv-cards.o v4l1-compat.o ivtv-dma.o
ivtv-yuv.o
gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS
-DEXPORT_SYMTAB -I/lib/modules/2.4.27-2-386/build/include -O2
-fomit-frame-pointer -march=i586 -mcpu=i586 -fno-strict-aliasing
-Wno-unused -include
/lib/modules/2.4.27-2-386/build/include/linux/modversions.h    -c -o
saa7127.o saa7127.c
saa7127.c: In function `saa7127_writereg':
saa7127.c:265: error: structure has no member named `nr'
saa7127.c: In function `saa7127_set_vps_enable':
saa7127.c:287: error: structure has no member named `nr'
saa7127.c: In function `saa7127_set_vps_data':
saa7127.c:299: error: structure has no member named `nr'
saa7127.c: In function `saa7127_set_cc_enable':
saa7127.c:321: error: structure has no member named `nr'
saa7127.c: In function `saa7127_set_cc_data':
saa7127.c:337: error: structure has no member named `nr'
[snip]
saa7127.c:751: error: structure has no member named `nr'
saa7127.c:771: error: structure has no member named `nr'
saa7127.c:776: error: structure has no member named `nr'
make: *** [saa7127.o] Error 1
debian:/home/ken/src/ivtv-0.3.9/driver#

I'm fairly new to Debian, so I can't rule out that I've forgotten to
install a package or something, but I'm fairly confident about my
build environment since I've been able to successfully build apache
and php.

Some other information about my system:
debian:/home/ken/src/ivtv-0.3.9/driver# gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
debian:/home/ken/src/ivtv-0.3.9/driver# uname -a
Linux debian 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
debian:/home/ken/src/ivtv-0.3.9/driver# cat /etc/debian_version
3.1

Thanks for any suggestions!

-ken
--
If you can read this ... thank a system administrator.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to