Bug#399970: Asterisk and chan_misdn

Victor Seva linuxmaniac at torreviejawireless.org
Sun Aug 3 10:39:07 UTC 2008


Lee Garrett wrote:
> Thanks for the work. AFAICS all packages are buildable via dpkg- 
> buildpackage. But: I installed misdn-source and tried to build a  
> modules_image and it blew up. See below:
>
> randall at batou:~/My_Stuff/kernel-sources/aramaki-2.6.25$ make-kpkg -- 
> rootcmd fakeroot modules_image --added-modules misdn

[snip]

>
> /usr/bin/make -C /home/randall/My_Stuff/kernel-sources/ 
> aramaki-2.6.25 \
> 	  M=/usr/src/modules/misdn \
> 	   \
> 	  KERNELRELEASE=2.6.25.14-tarpit+imq-aramaki \
> 	  CONFIG_MISDN_DRV=m CONFIG_MISDN_AVM_FRITZ=m CONFIG_MISDN_HFCPCI=m  
> CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_SPEEDFAX=m CONFIG_MISDN_W6692=m  
> CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_NETJET=m CONFIG_MISDN_DSP=m  
> CONFIG_MISDN_HFCMINI=m CONFIG_MISDN_XHFC=m EXTRA_CFLAGS=-I/usr/src/ 
> modules/misdn/include \
> 	  modules
> make[3]: Entering directory `/home/randall/My_Stuff/kernel-sources/ 
> aramaki-2.6.25'
> /usr/src/modules/misdn/avm_fritz.c: In function ‘init_card’:
> /usr/src/modules/misdn/avm_fritz.c:879: error: ‘SA_SHIRQ’ undeclared  
> (first use in this function)
> /usr/src/modules/misdn/avm_fritz.c:879: error: (Each undeclared  
> identifier is reported only once
> /usr/src/modules/misdn/avm_fritz.c:879: error: for each function it  
> appears in.)
> /usr/src/modules/misdn/avm_fritz.c:889: warning: passing argument 2  
> of ‘request_irq’ from incompatible pointer type
> /usr/src/modules/misdn/avm_fritz.c:895: warning: passing argument 2  
> of ‘request_irq’ from incompatible pointer type
> make[4]: *** [/usr/src/modules/misdn/avm_fritz.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> /usr/src/modules/misdn/hfc_multi.c: In function ‘hfcmulti_leds’:
> /usr/src/modules/misdn/hfc_multi.c:1201: warning: ISO C90 forbids  
> mixed declarations and code
> /usr/src/modules/misdn/hfc_multi.c:2800:6: warning: #warning this is  
> dangerous, the skb should never used to transfer a pointer please  
> use a message
> /usr/src/modules/misdn/hfc_multi.c: In function ‘init_card’:
> /usr/src/modules/misdn/hfc_multi.c:3302: error: ‘SA_SHIRQ’  
> undeclared (first use in this function)
> /usr/src/modules/misdn/hfc_multi.c:3302: error: (Each undeclared  
> identifier is reported only once
> /usr/src/modules/misdn/hfc_multi.c:3302: error: for each function it  
> appears in.)
> /usr/src/modules/misdn/hfc_multi.c:3302: warning: passing argument 2  
> of ‘request_irq’ from incompatible pointer type
> /usr/src/modules/misdn/hfc_multi.c: In function ‘release_ports_hw’:
> /usr/src/modules/misdn/hfc_multi.c:3640: warning: ISO C90 forbids  
> mixed declarations and code
> make[4]: *** [/usr/src/modules/misdn/hfc_multi.o] Error 1
> make[3]: *** [_module_/usr/src/modules/misdn] Error 2

It seems that 1.1.8 needs a fix for kernels > 2.6.18. Patch attached,  
please test it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_gt_2.6.18
Type: application/octet-stream
Size: 3799 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080803/ab8d4087/attachment.obj 
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080803/ab8d4087/attachment.pgp 


More information about the Pkg-voip-maintainers mailing list