V4l-dvb and spca5xx...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a Terratec Cinergy Hybrid T XS USB and I followed the instructions found on :
http://www.linuxtv.org/v4lwiki/index.php/Em2880#Installation
I've compiled the modules and installed them (modprobe em28xx and modprobe em2880-dvb). Everything is ok and I can see the TV.

But now, I have problems with my webcam and the spca5xx module.
So, in the v4l-dvb-merge/v4l directory, I did : make kernel-links :
cd ..;  v4l/scripts/makelinks.sh /lib/modules/2.6.18-1-686/build
patching /lib/modules/2.6.18-1-686/build...
mkdir: created directory `/lib/modules/2.6.18-1-686/build/Documentation'
mkdir: created directory
`/lib/modules/2.6.18-1-686/build/Documentation/dvb'
mkdir: created directory
`/lib/modules/2.6.18-1-686/build/Documentation/video4li nux'
mkdir: created directory
`/lib/modules/2.6.18-1-686/build/Documentation/video4li nux/bttv'
mkdir: created directory
`/lib/modules/2.6.18-1-686/build/Documentation/video4li nux/cx2341x'
mkdir: created directory
`/lib/modules/2.6.18-1-686/build/Documentation/video4li nux/cx88'

Then, I tried to compile spca5xx :
p3010-ac-nantes:/opt/spca5xx-20060501# make
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/opt/spca5xx-20060501
CC=cc module s
make[1]: entrant dans le répertoire
« /usr/src/linux-headers-2.6.18-1-686 »
  CC [M]  /opt/spca5xx-20060501/drivers/usb/spca5xx.o
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit
declaration of function ‘video_devdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit
declaration of function ‘video_get_drvdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_close’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_do_ioctl’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_ioctl’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit
declaration of function ‘video_usercopy’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable
‘spca50x_templ ate’ has initializer but incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field
‘owner’ s pecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field
‘name’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field
‘type’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field
‘hardware ’ specified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field
‘fops’ sp ecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field
‘release’  specified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error:
‘video_device_release’ undeclared here (not in a function)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field
‘minor’ s pecified in initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess
elements in st ruct initializer
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near
initialization for ‘spca50x_template’)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘cd_to_spca50x’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit
declaration of function ‘to_video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning:
initialization makes pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes
pointer from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca50x_create_sysfs’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit
declaration of function ‘video_device_create_file’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c: In function
‘spca5xx_probe’:
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit
declaration of function ‘video_device_alloc’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment
makes poin ter from integer without a cast
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing
pointer t o incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit
declaration of function ‘video_set_drvdata’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit
declaration of function ‘video_register_device’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error:
‘VFL_TYPE_GRABBER’ unde clared (first use in this function)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each
undeclared identi fier is reported only once
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each
function it ap pears in.)
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing
pointer t o incomplete type
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit
declaration of function ‘video_device_release’
/opt/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit
declaration of function ‘video_unregister_device’
make[2]: *** [/opt/spca5xx-20060501/drivers/usb/spca5xx.o] Erreur 1
make[1]: *** [_module_/opt/spca5xx-20060501] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.18-1-686 »
make: *** [default] Erreur 2

Do you have any idea or any clue for my problem ?

Thank you very much.

David.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux