Update:

I've managed to get v4l working "correctly" (ex. Modprobes the drivers clean, I also took the liberty of compiling them statically into the kernel after this event, instead of as modules)

Still, error is persisting.

Make output follows:

bash-3.1# make
make -C driver all
make[1]: Entering directory `/home/d3ity/0.7/driver'
created ivtv-svnversion.h
make -C /lib/modules/2.6.17.1/build M=/home/d3ity/0.7/driver modules
make[2]: Entering directory `/home/d3ity/linux-2.6.17.1'
  CC [M]  /home/d3ity/0.7/driver/ivtv-driver.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-fileops.o
  CC [M]  /home/d3ity/0.7/driver/ivtv- i2c.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-streams.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-firmware.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-reset.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-gpio.o
  CC [M]  /home/d3ity/0.7/driver/ivtv- queue.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-irq.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-mailbox.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-vbi.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-kthreads.o
  CC [M]  /home/d3ity/0.7/driver/ivtv- audio.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-ioctl.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-controls.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-video.o
  CC [M]  /home/d3ity/0.7/driver/ivtv-cards.o
  CC [M]  /home/d3ity/0.7/driver/ivtv- yuv.o
  LD [M]  /home/d3ity/0.7/driver/ivtv.o
  Building modules, stage 2.
  MODPOST
  CC      /home/d3ity/0.7/driver/ivtv.mod.o
  LD [M]  /home/d3ity/0.7/driver/ivtv.ko
make[2]: Leaving directory `/home/d3ity/linux- 2.6.17.1'
make[1]: Leaving directory `/home/d3ity/0.7/driver'
make -C i2c-drivers all
make[1]: Entering directory `/home/d3ity/0.7/i2c-drivers'
make -C /lib/modules/2.6.17.1/build M=/home/d3ity/0.7/i2c-drivers modules
make[2]: Entering directory `/home/d3ity/linux-2.6.17.1'
  CC [M]  /home/d3ity/0.7/i2c-drivers/saa717x.o
  Building modules, stage 2.
  MODPOST
  CC      /home/d3ity/0.7/i2c-drivers/saa717x.mod.o
  LD [M]  /home/d3ity/0.7/i2c-drivers/saa717x.ko
make[2]: Leaving directory `/home/d3ity/linux-2.6.17.1'
make[1]: Leaving directory `/home/d3ity/0.7/i2c-drivers'
make -C utils all
make[1]: Entering directory `/home/d3ity/0.7/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/home/d3ity/0.7/driver'
created ivtv-svnversion.h
make[2]: Leaving directory `/home/d3ity/0.7/driver'
cc -I/home/d3ity/0.7/utils/../driver -D_GNU_SOURCE -O2 -Wall   -c -o ivtvctl.o ivtvctl.c
ivtvctl.c: In function `main':
ivtvctl.c:1766: error: `V4L2_TUNER_MODE_LANG1_LANG2' undeclared (first use in this function)
ivtvctl.c:1766: error: (Each undeclared identifier is reported only once
ivtvctl.c:1766: error: for each function it appears in.)
make[1]: *** [ivtvctl.o] Error 1
make[1]: Leaving directory `/home/d3ity/0.7/utils'
make: *** [all] Error 2

     My kernel config has changed slightly, but the error still remains virtually unchanged.  Any suggestions?

On 6/25/06, Michael Hughes <[EMAIL PROTECTED]> wrote:
My previous message didn't happen to find this thread sadly, since I subscribed explicitly for the reason of helping with 0.7...anyway, more information on my troubles follows.

Previous message text follows:


Running slackware 10.2, Kernel 2.6.17.1, ivtv fails to make.

bash-3.1$ make
make -C driver all
make[1]: Entering directory `/home/d3ity/0.7/driver'
created ivtv-svnversion.h

make -C /lib/modules/2.6.17.1/build M=/home/d3ity/0.7/driver modules
make[2]: Entering directory `/home/d3ity/linux- 2.6.17.1'
CC [M] /home/d3ity/0.7/driver/ivtv-driver.o
CC [M] /home/d3ity/0.7/driver/ivtv-
firmware.o
CC [M] /home/d3ity/0.7/driver/ivtv-reset.o
CC [M] /home/d3ity/0.7/driver/ivtv-gpio.o
CC [M] /home/d3ity/0.7/driver/ivtv- irq.o
CC [M] /home/d3ity/0.7/driver/ivtv-mailbox.o
CC [M] /home/d3ity/0.7/driver/ivtv-
vbi.o
CC [M] /home/d3ity/0.7/driver/ivtv-kthreads.o
CC [M] /home/d3ity/0.7/driver/ivtv-audio.o
CC [M] /home/d3ity/0.7/driver/ivtv- ioctl.o
CC [M] /home/d3ity/0.7/driver/ivtv-controls.o
CC [M] /home/d3ity/0.7/driver/ivtv-
video.o
CC [M] /home/d3ity/0.7/driver/ivtv-cards.o
CC [M] /home/d3ity/0.7/driver/ivtv-yuv.o
LD [M] /home/d3ity/0.7/driver/ivtv.o
LD [M] /home/d3ity/0.7/driver/ivtv-fb.o
Building modules, stage 2.

MODPOST
WARNING: "tveeprom_hauppauge_analog" [/home/d3ity/0.7/driver/ivtv.ko]
undefined!
WARNING: "tveeprom_read" [/home/d3ity/0.7/driver/ivtv.ko] undefined!
WARNING: "request_firmware" [/home/d3ity/0.7/driver/ivtv.ko] undefined!

WARNING: "release_firmware" [/home/d3ity/0.7/driver/ivtv.ko] undefined!
CC /home/d3ity/0.7/driver/ivtv-fb.mod.o
LD [M] /home/d3ity/0.7/driver/ivtv-fb.ko
CC /home/d3ity/0.7/driver/ivtv.mod.o

LD [M] /home/d3ity/0.7/driver/ivtv.ko
make[2]: Leaving directory `/home/d3ity/linux- 2.6.17.1'
make[1]: Leaving directory `/home/d3ity/0.7/driver'
make -C i2c-drivers all
make[1]: Entering directory `/home/d3ity/0.7/i2c-drivers'

make -C /lib/modules/2.6.17.1/build M=/home/d3ity/0.7/i2c-drivers modules
make[2]: Entering directory `/home/d3ity/linux-2.6.17.1'
CC [M] /home/d3ity/0.7/i2c-drivers/saa717x.o
Building modules, stage 2.
MODPOST
CC /home/d3ity/0.7/i2c-drivers/saa717x.mod.o
LD [M] /home/d3ity/0.7/i2c-drivers/saa717x.ko
make[2]: Leaving directory `/home/d3ity/linux-

2.6.17.1'
make[1]: Leaving directory `/home/d3ity/0.7/i2c-drivers'
make -C utils all
make[1]: Entering directory `/home/d3ity/0.7/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/home/d3ity/0.7/driver'

created ivtv-svnversion.h
make[2]: Leaving directory `/home/d3ity/0.7/driver'
cc -I/home/d3ity/0.7/utils/../driver -D_GNU_SOURCE -O2 -Wall -c -o

ivtvctl.o ivtvctl.c
ivtvctl.c : In function `main':
ivtvctl.c
:1766: error: `V4L2_TUNER_MODE_LANG1_LANG2' undeclared (first use
in this function)
ivtvctl.c:1766: error: (Each undeclared identifier is reported only once
ivtvctl.c:1766: error: for each function it appears in.)

make[1]: *** [ivtvctl.o] Error 1
make[1]: Leaving directory `/home/d3ity/0.7/utils'
make: *** [all] Error 2

Heres my appropriate lspci entry:

01:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)

Hauppage card, PVR-150 If my memory serves me correctly.

Let me know how I can lend a hand. I'm lost without my mythtv


New Information:

I'm no longer sure if the 0.7 drivers are the source of my compile issues.
I recompiled my kernel, making sure that v4l was in the kernel, and then
went and modprobed bttv, which usually loads up all the relevant v4l drivers (basically a test)

Here's what I got:

bash-3.1# modprobe bttv
WARNING: Error inserting videodev (/lib/modules/2.6.17.1/kernel/drivers/media/video/videodev.ko): Invalid module format
WARNING: Error inserting v4l2_common (/lib/modules/2.6.17.1/kernel/drivers/media/video/v4l2- common.ko): Invalid module format
WARNING: Error inserting compat_ioctl32 (/lib/modules/2.6.17.1/kernel/drivers/media/video/compat_ioctl32.ko): Invalid module format
WARNING: Error inserting ir_common (/lib/modules/2.6.17.1/kernel/drivers/media/common/ir- common.ko): Invalid module format
WARNING: Error inserting video_buf (/lib/modules/2.6.17.1/kernel/drivers/media/video/video-buf.ko): Invalid module format

eek. That looks nasty. my kernel sources were cleaned before the compile...what shalt I do?

simply modprobing videodev just gives me:

bash-3.1# modprobe videodev
FATAL: Error inserting videodev (/lib/modules/2.6.17.1/kernel/drivers/media/video/videodev.ko): Invalid module format

sounds like something broke somewhere along the line. If you could give me some direction as to the solution to this problem I'd be appreciative beyond words.




On 6/25/06, David Highley < [EMAIL PROTECTED]> wrote:

FYI, the HD-3000 card currently has no audio for analog channels and is
not able able to play HD channels at all. Fedora core 5 kernel
2.6.17-1.2139_FC5.

"Hans Verkuil wrote:"
>
> Hi all,
>
> I think I committed everything needed to release a ivtv-0.7.0 suitable
> for the 2.6.17 kernel. Nevertheless, I didn't have time left for actual
> testing so I would appreciate it if some of you could do it. So if you
> want to upgrade to a 2.6.17 kernel, then now is the time to do it.

It is failing to compile on Fedora core 5 2.6.17-1.2139_FC5 .
make[2]: Entering directory `/root/ivtv/ivtv-0.7-beta/driver'
created ivtv-svnversion.h
make[2]: Leaving directory `/root/ivtv/ivtv-0.7-beta/driver'
cc -I/root/ivtv/ivtv-0.7-beta/utils/../driver -D_GNU_SOURCE -O2 -Wall   -c -o ivtvctl.o ivtvctl.c
ivtvctl.c: In function 'main':
ivtvctl.c:698: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:701: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c :702: error: 'V4L2_SLICED_TELETEXT_B' undeclared (first use in this function)
ivtvctl.c:702: error: (Each undeclared identifier is reported only once
ivtvctl.c:702: error: for each function it appears in.)
ivtvctl.c :704: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:705: error: 'V4L2_SLICED_CAPTION_525' undeclared (first use in this function)
ivtvctl.c:707: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:708: error: 'V4L2_SLICED_WSS_625' undeclared (first use in this function)
ivtvctl.c:710: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:711: error: 'V4L2_SLICED_VPS' undeclared (first use in this function)
ivtvctl.c:1638: error: 'V4L2_BUF_TYPE_SLICED_VBI_CAPTURE' undeclared (first use in this function)
ivtvctl.c:1642: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:1646: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:1657: error: 'union <anonymous>' has no member named 'sliced'
ivtvctl.c:1766: error: 'V4L2_TUNER_MODE_LANG1_LANG2' undeclared (first use in this function)
ivtvctl.c:1803: error: 'VIDIOC_LOG_STATUS' undeclared (first use in this function)
make[1]: *** [ivtvctl.o] Error 1
make[1]: Leaving directory `/root/ivtv/ivtv-0.7-beta/utils'
make: *** [all] Error 2

>
> You can download the prerelease here:
>
> http://ivtvdriver.org/viewcvs/ivtv/branches/0.7.tar.gz?view=tar
>
> I haven't yet updated the README and ChangeLog files, but it is
> effectively identical to ivtv-0.6 except for being updated for the
> 2.6.17 kernel.
>
> Please note: ivtv-0.7.0 is for the 2.6.17 kernel, not for earlier
> kernels. So don't bother downloading this if you are using older
> kernels.
>
>       Hans
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to