Summary: | media-video/qc-usb-messenger-1.7-r1 + kernel 2.6.26 - qc-driver.c:1615: error: request for member 'counter' in something not a structure or union | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cody Harris <qbasicer> |
Component: | Current packages | Assignee: | Santiago M. Mola (RETIRED) <coldwind> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | media-video, Patrick.Fourniols, superheron, tzopik |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 232070 | ||
Attachments: |
This patch fixes the compile error on 2.6.26 kernel
Fix compile error with qc-usb-messenger on 2.6.26 kernel qc-usb-messenger-1.8 fix for kernel 2.6.26 |
Description
Cody Harris
2008-07-23 00:26:52 UTC
The patch at http://groups.google.se/group/linux.debian.bugs.dist/attach/e1437a27fa058fa5/kcompat-2.6.26.patch?part=3 fixes this compile problem. Created attachment 163996 [details, diff]
This patch fixes the compile error on 2.6.26 kernel
(In reply to comment #2) > Created an attachment (id=163996) [edit] > This patch fixes the compile error on 2.6.26 kernel > Thanks for the patch. Although, I still get the error about 'counter'. Oops, the patch I attached is for qc-usb, not for qc-usb-messenger. Sorry. However, I managed to compile qc-usb-messenger against 2.6.26, with a quick and dirty patch. I'll attach it here too. Again, sorry for the confusion.. Created attachment 164001 [details, diff]
Fix compile error with qc-usb-messenger on 2.6.26 kernel
This patch fixes the compile error of qc-usb-messenger on 2.6.26 kernel. It's a quick and dirty patch, someone should revise it ;-)
Created attachment 167502 [details]
qc-usb-messenger-1.8
Created attachment 167504 [details, diff]
fix for kernel 2.6.26
(In reply to comment #6) > Created an attachment (id=167502) [edit] > qc-usb-messenger-1.8 > this is the new version (1.8) from: http://home.mag.cx/messenger/source/ the module name change from 'quickcam' to 'qcmessenger' (In reply to comment #7) > Created an attachment (id=167504) [edit] > fix for kernel 2.6.26 > this patch fix bulding in 2.6.26 kernel there is the emerge elog: * Messages for package media-video/qc-usb-messenger-1.8: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.26-gentoo-r1/build * Found sources for kernel version: * 2.6.26-gentoo-r1 * Checking for suitable kernel configuration options... * Converting Makefile to use M= instead of SUBDIRS= ... * Applying qc-usb-messenger-koutput.patch ... * Applying qc-usb-messenger-1.8-2.6.26.patch ... * Preparing qcmessenger module * Installing qcmessenger module * Updating module dependencies for 2.6.26-gentoo-r1 ... * Adding module to moduledb. * QA Notice: Pre-stripped files found: * /var/tmp/portage/media-video/qc-usb-messenger-1.8/image/usr/bin/qcset * GNU info directory index is up-to-date. bump.. 2.6.26 is planned to go stable in a week, please fix this in the stable tree in advance. bug me on IRC if help is needed. Fixed in 1.8. Many thanks to tzopik and Stijn Tintel for the patches, and thanks to Cody Harris for reporting. |