[mythtv-users] Re:ivtv in mandrake 9.2

MythTV at C4L davidc-mythtv at connect4less.com
Tue Oct 28 10:03:45 EST 2003


Depending on which version of the driver you have, I also found that I
had to add:

#include <linux/types.h>

to the ivtvplay.cpp, ivtvfbctl.c, videodev2.h files

Dave


On Tue, 2003-10-28 at 00:52, ray cielencki wrote:
> this is caused by some changes to latest version of i2c, add -DNEW_I2C to 
> the CFLAGS in the Makefile.
> 
> /rayc
> 
> At 00:40 10/28/2003, you wrote:
> >Thanks for the suggestion.  I downloaded the 'give it a try' version, and 
> >I get the following (pretty much identical) output when I try to run 'make':
> >
> >[mythtv at localhost driver]$ make
> >cc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS 
> >-I/usr/src/linux/include -O2 -fomit-frame-pointer -march=i586 -mcpu=i586 
> >-fno-strict-aliasing -Wno-unused -include 
> >/usr/src/linux/include/linux/modversions.h   -c -o msp3400.o msp3400.c
> >msp3400.c:56:1: warning: "__KERNEL_SYSCALLS__" redefined
> ><command line>:5:1: warning: this is the location of the previous definition
> >cc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS 
> >-I/usr/src/linux/include -O2 -fomit-frame-pointer -march=i586 -mcpu=i586 
> >-fno-strict-aliasing -Wno-unused -include 
> >/usr/src/linux/include/linux/modversions.h   -c -o saa7115.o saa7115.c
> >saa7115.c:68:2: warning: #warning Using temporary hack for missing I2C 
> >driver-ID for saa7114
> >saa7115.c:1117: error: unknown field `inc_use' specified in initializer
> >saa7115.c:1117: warning: excess elements in struct initializer
> >saa7115.c:1117: warning: (near initialization for `i2c_driver_saa7114')
> >saa7115.c:1118: error: unknown field `dec_use' specified in initializer
> >saa7115.c:1118: warning: excess elements in struct initializer
> >saa7115.c:1118: warning: (near initialization for `i2c_driver_saa7114')
> >make: *** [saa7115.o] Error 1
> >
> >
> >I'm running Mandrake 9.2, and kernel 2.4.22-10mdk:
> >
> >[mythtv at localhost driver]$ uname -a
> >Linux localhost 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown 
> >unknown GNU/Linux
> >
> >Did you have to change the Makefile?  I didn't try any changes, so maybe 
> >it's not too surprising that I got the same result :)
> >
> >Thanks - MMcK
> >
> >
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list