Can not build qc-usb kernel module on Lucid

Bug #573635 reported by Tobias Bradtke
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qc-usb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

webwurst@webwurst-desktop:~/modules/qc-usb$ uname -a
Linux webwurst-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux

webwurst@webwurst-desktop:~/modules/qc-usb$ make
make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/webwurst/modules/qc-usb modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic'
  CC [M] /home/webwurst/modules/qc-usb/qc-driver.o
/home/webwurst/modules/qc-usb/qc-driver.c: In function 'qc_proc_create':
/home/webwurst/modules/qc-usb/qc-driver.c:1000: error: 'struct proc_dir_entry' has no member named 'owner'
/home/webwurst/modules/qc-usb/qc-driver.c: In function 'qc_proc_init':
/home/webwurst/modules/qc-usb/qc-driver.c:1038: error: 'struct proc_dir_entry' has no member named 'owner'
/home/webwurst/modules/qc-usb/qc-driver.c: At top level:
/home/webwurst/modules/qc-usb/qc-driver.c:3030: warning: initialization from incompatible pointer type
/home/webwurst/modules/qc-usb/qc-driver.c:3049: warning: initialization from incompatible pointer type
make[2]: *** [/home/webwurst/modules/qc-usb/qc-driver.o] Error 1
make[1]: *** [_module_/home/webwurst/modules/qc-usb] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [all] Error 2

Revision history for this message
Tobias Bradtke (webwurst) wrote :

Lerned about module-assistant, but same there.

Revision history for this message
Ritesh Sinha (ritesh-kumar-sinha) wrote :

I'm unable to build the qc-usb module as well:

<code> Linux ritesh-laptop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux </code>

<code> # m-a a-i qc-usb </code>

If there is any other information required, I'd be happy to provide it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qc-usb (Ubuntu):
status: New → Confirmed
Revision history for this message
Martín Ferrari (tincho) wrote :

The patch in #706321 solves this issue for kernels < 2.6.38. I am working on fixing that one too and will later upload to debian. You probably want to do the same.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.