I have upgraded from fc5 to fc6 today and now i can not compile the driver for the dexxa webcam. I got it from sourceforge (qc-usb-0.6.4).
After symlinking autoconf.h to config.h to get over the missing config.h error, i get the following: make -C "/lib/modules/2.6.18-1.2798.fc6/build" SUBDIRS="/tmpa/qc-usb-0.6.4" modules V=1 USER_OPT="" make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /tmpa/qc-usb-0.6.4/.tmp_versions rm -f /tmpa/qc-usb-0.6.4/.tmp_versions/* make -f scripts/Makefile.build obj=/tmpa/qc-usb-0.6.4 gcc -m32 -Wp,-MD,/tmpa/qc-usb-0.6.4/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -mregparm=3 -ffreestanding -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmpa/qc-usb-0.6.4/.tmp_qc-driver.o /tmpa/qc-usb-0.6.4/qc-driver.c In file included from /tmpa/qc-usb-0.6.4/qc-driver.c:47: /tmpa/qc-usb-0.6.4/quickcam.h:500: error: field 'vdev' has incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_proc_read': /tmpa/qc-usb-0.6.4/qc-driver.c:870: error: 'UTS_RELEASE' undeclared (first use in this function) /tmpa/qc-usb-0.6.4/qc-driver.c:870: error: (Each undeclared identifier is reported only once /tmpa/qc-usb-0.6.4/qc-driver.c:870: error: for each function it appears in.) /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_poll': /tmpa/qc-usb-0.6.4/qc-driver.c:2242: error: implicit declaration of function 'video_devdata' /tmpa/qc-usb-0.6.4/qc-driver.c:2242: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2244: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_open': /tmpa/qc-usb-0.6.4/qc-driver.c:2294: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2296: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_close': /tmpa/qc-usb-0.6.4/qc-driver.c:2362: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2364: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_read': /tmpa/qc-usb-0.6.4/qc-driver.c:2409: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2412: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_mmap': /tmpa/qc-usb-0.6.4/qc-driver.c:2463: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2467: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_v4l_ioctl': /tmpa/qc-usb-0.6.4/qc-driver.c:2496: warning: initialization makes pointer from integer without a cast /tmpa/qc-usb-0.6.4/qc-driver.c:2499: error: dereferencing pointer to incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c: At top level: /tmpa/qc-usb-0.6.4/qc-driver.c:2994: error: variable 'qc_v4l_template' has initializer but incomplete type /tmpa/qc-usb-0.6.4/qc-driver.c:2995: error: unknown field 'name' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2995: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2995: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c:2996: error: unknown field 'type' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2996: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2996: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c:2997: error: unknown field 'hardware' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2997: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2997: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c:2998: error: unknown field 'minor' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2998: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:2998: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c:3000: error: unknown field 'release' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:3000: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:3000: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c:3001: error: unknown field 'fops' specified in initializer /tmpa/qc-usb-0.6.4/qc-driver.c:3001: warning: excess elements in struct initializer /tmpa/qc-usb-0.6.4/qc-driver.c:3001: warning: (near initialization for 'qc_v4l_template') /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_usb_init': /tmpa/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /tmpa/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /tmpa/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of 'sizeof' to incomplete type 'struct video_device' /tmpa/qc-usb-0.6.4/qc-driver.c:3147: error: implicit declaration of function 'video_register_device' /tmpa/qc-usb-0.6.4/qc-driver.c:3147: error: 'VFL_TYPE_GRABBER' undeclared (first use in this function) /tmpa/qc-usb-0.6.4/qc-driver.c:3203: error: implicit declaration of function 'video_unregister_device' /tmpa/qc-usb-0.6.4/qc-driver.c: In function 'qc_usb_probe': /tmpa/qc-usb-0.6.4/qc-driver.c:3269: error: 'UTS_RELEASE' undeclared (first use in this function) make[2]: *** [/tmpa/qc-usb-0.6.4/qc-driver.o] Error 1 make[1]: *** [_module_/tmpa/qc-usb-0.6.4] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586' make: *** [quickcam.ko] Error 2
What can I do?
felix
Send instant messages to your online friends http://uk.messenger.yahoo.com
Felix Mathais <fsm_austria <at> yahoo.co.uk> writes:
I have upgraded from fc5 to fc6 today and now i can not compile the driver
for the dexxa webcam. I got it from sourceforge (qc-usb-0.6.4).
You need the patch for kernel 2.6.18: http://darcs.frugalware.org/repos/frugalware-current/source/multimedia-extra...
And then remove the #include <config.h> lines (with no replacement, the replacement headers are included automatically) in qc-memory.c and quickcam.h.
I also have an SRPM you can use: http://www.tigen.org/kevin.kofler/pcprogs/kernel-module-qc-usb-0.6.4-3.src.r... (Yes, it's _still_ on the "old" kernel module packaging standard. Shame on me. ;-) )
Kevin Kofler
Thank you very much Kevin Kofler, you patch works ok!
Again, thank you
--------------------------------- All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
On Mon, 2006-11-06 at 20:26 +0000, Felix Mathais wrote:
Thank you very much Kevin Kofler, you patch works ok!
Again, thank you
I'm finding that my glibc is borked. Not even sure how to fix it without blowing everything to Hell and gone. No wonder I'm not making the blooming modules correctly. Ric