By Date: <-- -->
By Thread: <-- -->

v4l2 patches



Hi Nathan,

I am trying to build the driver "saa7134-go7007" in the
wis-go7007-linux-0.9.8 package for WIS-Voyager, under 2.6.16 that is the
kernel version listed in the file "Changes". When I make with "make
SAA7134_BUILD=y", I got the following messages with error:

----------------------------------------------------------------------------
--------

[root (at) dhcppc3 wis-go7007-linux-0.9.8]# make SAA7134_BUILD=y

***** Using kernel source in /usr/src/linux-2.6.16 *****

make modules -C /usr/src/linux-2.6.16
M=/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel
make[1]: Entering directory `/usr/src/linux-2.6.16'
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007-v4l2.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007-driver.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007-i2c.o
  CC [M]  /home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007-fw.o
  LD [M]  /home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/go7007-usb.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/snd-go7007.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-saa7115.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-tw9903.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-uda1342.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-sony-tuner.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-saa7113.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-ov7640.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/wis-tw2804.o
  CC [M]
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.o
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c: In
function â??saa7134_go7007_irq_ts_doneâ??:
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:235:
warning: implicit declaration of function â??video_get_drvdataâ??
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:235:
warning: initialization makes pointer from integer without a cast
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c: In
function â??saa7134_go7007_initâ??:
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:426:
warning: implicit declaration of function â??video_set_drvdataâ??
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c: In
function â??saa7134_go7007_finiâ??:
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:452:
warning: assignment makes pointer from integer without a cast
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c: At
top level:
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:465:
error: 'SAA7134_MPEG_GO7007' undeclared here (not in a function)
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:468:
error: unknown field â??irq_ts_doneâ?? specified in initializer
/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.c:468:
warning: initialization from incompatible pointer type
make[2]: ***
[/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel/saa7134-go7007.o]
Error 1
make[1]: ***
[_module_/home/Projects/OSS-0.9.8/wis-go7007-linux-0.9.8/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [all] Error 2

[root (at) dhcppc3 wis-go7007-linux-0.9.8]#

----------------------------------------------------------------------------
--------------


Did I miss something and then get error "'SAA7134_MPEG_GO7007' undeclared
here (not in a function)"? Had the package been tested for WIS-Voyager?

Thanks for any hints, and Regards,


Charlie X. Liu  (at)   http://www.sensoray.com


-----Original Message-----
From: video4linux-list-bounces (at) redhat.com
[mailto:video4linux-list-bounces (at) redhat.com]On Behalf Of Nathan
Lutchansky
Sent: Wednesday, May 17, 2006 5:49 PM
To: Linux and Kernel Video
Subject: Re: v4l2 patches


On Wed, 2006-05-17 at 15:32, Charlie Liu wrote:
> You made following v4l2 patches for kernel 2.6.11: "i2c-tuner",
> "i2c-tuner2", "v4l2-api-mpeg", and "saa7134-update". In kernel 2.6.16, do
I
> still need those patches added for wis-go7007-linux-0.9.8 driver build?

What device are you trying to use?  These patches are not necessary for
any GO7007 retail hardware that has ever been available.  -Nathan

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list