On 1/31/08, Brandon Philips <brandon@xxxxxxxx> wrote: > On 18:33 Thu 31 Jan 2008, James Klaas wrote: > > I was hoping to get my webcam working with the latest v4l-dvb sources. > > After reading about on this list and elsewhere, I ran: > > > > # make kernel-links > > > > from my v4l-dvb directory in order to modify my current linux sources > > to use the v4l-dvb drivers. Then I went to my gspca directory and ran > > the "gspca_build" script: > > > > ./gspca_build > > > > REMOVE the old module if present > > Unknown symbol in module, or unknown parameter (see dmesg) > > > > PRINT COMPILATION MESSAGES if ERRORS look kgspca.err > > make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca > > CC=cc modules > > make[1]: Entering directory `/usr/src/linux-source-2.6.22' > > CC [M] /usr/src/modules/gspca/gspca_core.o > > /usr/src/modules/gspca/gspca_core.c:2542: error: unknown field > > 'hardware' specified in initializer > > Are you using the latest gspca driver? The hardware field was removed > months ago. > > Thanks, > > Brandon > OK, I have an update on this. I think the driver got confused since I'm running 2.6.22.9 with the latest v4l-dvb drivers. I commented out the ifdef checking for that part of the struct: #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,23) .hardware = VID_HARDWARE_GSPCA, #endif It compiled, but still with the complaints about the calls spca50x_create_sysfs was making and incompatible pointer types. Additionally it wouldn't load as it was complaining about unknown symbols: [ 1026.765596] gspca: disagrees about version of symbol video_devdata [ 1026.765841] gspca: Unknown symbol video_devdata [ 1026.766153] gspca: disagrees about version of symbol video_unregister_device [ 1026.766313] gspca: Unknown symbol video_unregister_device [ 1026.766528] gspca: disagrees about version of symbol video_device_alloc [ 1026.766689] gspca: Unknown symbol video_device_alloc [ 1026.766858] gspca: disagrees about version of symbol video_register_device [ 1026.767020] gspca: Unknown symbol video_register_device [ 1026.767311] gspca: disagrees about version of symbol video_device_release [ 1026.767474] gspca: Unknown symbol video_device_release [ 1040.779888] gspca: disagrees about version of symbol video_devdata [ 1040.779974] gspca: Unknown symbol video_devdata [ 1040.780151] gspca: disagrees about version of symbol video_unregister_device [ 1040.780154] gspca: Unknown symbol video_unregister_device [ 1040.780224] gspca: disagrees about version of symbol video_device_alloc [ 1040.780227] gspca: Unknown symbol video_device_alloc [ 1040.780258] gspca: disagrees about version of symbol video_register_device [ 1040.780261] gspca: Unknown symbol video_register_device [ 1040.780411] gspca: disagrees about version of symbol video_device_release [ 1040.780413] gspca: Unknown symbol video_device_release [ 1977.736328] gspca: disagrees about version of symbol video_devdata [ 1977.736412] gspca: Unknown symbol video_devdata [ 1977.736636] gspca: disagrees about version of symbol video_unregister_device [ 1977.736711] gspca: Unknown symbol video_unregister_device [ 1977.736837] gspca: disagrees about version of symbol video_device_alloc [ 1977.736907] gspca: Unknown symbol video_device_alloc [ 1977.736990] gspca: disagrees about version of symbol video_register_device [ 1977.737063] gspca: Unknown symbol video_register_device [ 1977.737267] gspca: disagrees about version of symbol video_device_release [ 1977.737339] gspca: Unknown symbol video_device_release James _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb