LinHES Forums
http://forums.linhes.org/

Error building ivtv 0.4.0 (stable) on R5A16
http://forums.linhes.org/viewtopic.php?f=14&t=6522
Page 1 of 1

Author:  fiete [ Fri Oct 21, 2005 1:14 am ]
Post subject:  Error building ivtv 0.4.0 (stable) on R5A16

Hi all,
Due to some residual instability of the ivtv driver (version 0.3.8. unstable) on R5A16 with two Hauppauge cards (PVR 250, PVR 150 non MCE) I have tried to install the latest and stable version of the ivtv driver: 0.4.0. I got the following errors while building:
Quote:
root@mythtv:/home/mythtv/ivtv-0.4.0# make
make -C driver all
make[1]: Entering directory `/home/mythtv/ivtv-0.4.0/driver'
created ivtv-svnversion.h
make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.11.9-chw-2/build M=/home/mythtv/ivtv-0.4.0/driver modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.11.9-chw-2'
CC [M] /home/mythtv/ivtv-0.4.0/driver/msp3400.o
In file included from /home/mythtv/ivtv-0.4.0/driver/msp3400.c:45:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
/home/mythtv/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_reset':
/home/mythtv/ivtv-0.4.0/driver/msp3400.c:182: error: type of formal parameter 2 is incomplete
/home/mythtv/ivtv-0.4.0/driver/msp3400.c:183: error: type of formal parameter 2 is incomplete
/home/mythtv/ivtv-0.4.0/driver/msp3400.c:184: error: type of formal parameter 2 is incomplete
/home/mythtv/ivtv-0.4.0/driver/msp3400.c: In function 'msp3400c_read':
/home/mythtv/ivtv-0.4.0/driver/msp3400.c:206: error: type of formal parameter 2 is incomplete
make[3]: *** [/home/mythtv/ivtv-0.4.0/driver/msp3400.o] Error 1
make[2]: *** [_module_/home/mythtv/ivtv-0.4.0/driver] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.6.11.9-chw-2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mythtv/ivtv-0.4.0/driver'
make: *** [all] Error 2

I googled for solutions, the only relevant hit suggested kernel-header problems on Debian distros.

Q's:
1) Is this a reasonable explanation?
2) Solutions?

Fiete

Author:  ille [ Fri Oct 21, 2005 2:00 am ]
Post subject: 

You could upgrade to the new R5A22 it uses ivtv-0.4.0

Author:  fiete [ Sat Nov 12, 2005 3:14 pm ]
Post subject: 

Hi ille,
Thanks for your respons. I noticed that upgrading to R5A22 is not advised yet, so I looked back at my problem. It turns out, that almost nothing has changed in the msp3400.c file between ivtv release 0.4.0 (stable) and 0.3.8 (unstable). There are corrupted header files on my system and I assume that those files were created after (unsuccessful) effords to compile Cinelerra 2.0 and associated apt-get install actions to fullfill the dependences.

Sorry for spamming :oops: , I think that ivtv 0.4.0 (stable) will compile flawless on native/clean R5A16 installations.


Fiete

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/