can't build zaptel kernel modules (1.2.15~dfsg-1)

Bug #97696 reported by Charles Lepple
14
Affects Status Importance Assigned to Milestone
zaptel (Debian)
Fix Released
Unknown
zaptel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: zaptel-source

just upgraded from edgy to feisty, and apparently m-a can't find linux/config.h:

$ sudo module-assistant -t a-i zaptel
[...]
  CC [M] /usr/src/modules/zaptel/zaphfc.o
/usr/src/modules/zaptel/zaphfc.c: In function ‘hfc_findCards’:
/usr/src/modules/zaptel/zaphfc.c:1013: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
  CC [M] /usr/src/modules/zaptel/ztgsm.o
/usr/src/modules/zaptel/ztgsm.c: In function ‘ztgsm_findCards’:
/usr/src/modules/zaptel/ztgsm.c:1108: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
  CC [M] /usr/src/modules/zaptel/opvxa1200.o
/usr/src/modules/zaptel/opvxa1200.c: In function ‘wctdm_init_one’:
/usr/src/modules/zaptel/opvxa1200.c:2476: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
  CC [M] /usr/src/modules/zaptel/ds1x1f.o
/usr/src/modules/zaptel/ds1x1f.c: In function ‘ds1_probe’:
/usr/src/modules/zaptel/ds1x1f.c:1977: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
  CC [M] /usr/src/modules/zaptel/vzaphfc/vzaphfc_main.o
/usr/src/modules/zaptel/vzaphfc/vzaphfc_main.c:24:26: error: linux/config.h: No such file or directory
/usr/src/modules/zaptel/vzaphfc/vzaphfc_main.c: In function ‘hfc_probe’:
/usr/src/modules/zaptel/vzaphfc/vzaphfc_main.c:1684: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[5]: *** [/usr/src/modules/zaptel/vzaphfc/vzaphfc_main.o] Error 1
make[4]: *** [/usr/src/modules/zaptel/vzaphfc] Error 2
make[3]: *** [_module_/usr/src/modules/zaptel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-13-generic'
make[2]: *** [linux26] Error 2
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [kdist_build] Error 2

packages:
ii linux-source-2.6.20 2.6.20-13.21 Linux kernel source for version 2.6.20 with Ubuntu patches
ii linux-headers-2.6.20-13 2.6.20-13.21 Header files related to Linux kernel version 2.6.20
ii linux-headers-2.6.20-13-gen 2.6.20-13.21 Linux kernel headers for version 2.6.20 on x86/x86_64
ii module-assistant 0.10.10 tool to make module package creation easier
ii zaptel-source 1.2.15~dfsg-1 Zapata telephony interface (source code for kernel driver)

Revision history for this message
Paul Libert (ubuntu-launchpad-plibert) wrote :

Please find hereafter a diff file that correct the problem.
All other file including <linux/config.h> seems to have been corrected in the same way.

Best regards.

Paul

Revision history for this message
Charles Lepple (clepple) wrote : Re: [Bug 97696] Re: can't build zaptel kernel modules (1.2.15~dfsg-1)

On 3/30/07, Paul Libert wrote:
> Please find hereafter a diff file that correct the problem.
> All other file including <linux/config.h> seems to have been corrected in the same way.

Excellent, that patch worked. Thanks!

In case anyone else has the same problem, I removed
/usr/src/modules/zaptel, untarred zaptel.tar.bz2, applied the patch,
then re-created the zaptel.tar.bz2 file before re-running m-a. (I
couldn't see an easy way to get m-a to add this patch to the build.)

Revision history for this message
Ralf Meyer (ranf) wrote :

Status: confirmed

There is a similar bug in Debian (with patch):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405562

Changed in zaptel:
status: Unconfirmed → Confirmed
Revision history for this message
Ralf Meyer (ranf) wrote :

Binary package hint: zaptel-source

Revision history for this message
William Grant (wgrant) wrote :

Fixed in Gutsy.

Changed in zaptel:
status: Confirmed → Fix Released
Changed in zaptel:
status: Unknown → Fix Released
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.