<br><br><div class="gmail_quote">2009/1/8 Benoit <span dir="ltr"><<a href="mailto:maverick@maverick.eu.org">maverick@maverick.eu.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I don't think your problem is somehow related to the debian release ...<br>
However since mISDN 1.1.8 was released to support kernel 2.6.24 & 25 the<br>
18/06/2008<br>
and the kernel 2.6.26 was released the 13/07/2008 an incompatibility<br>
between both<br>
could very well be possible.<br>
<br>
Well and it's quite simple, the struct class_device has desappeared from<br>
"include/linux/device.h"<br>
between 2.6.24 and 2.6.26:<br>
<br>
2.6.24:<br>
<br>
struct device;<br>
struct device_driver;<br>
struct class;<br>
struct class_device;<br>
struct bus_type;<br>
<br>
2.6.26<br>
<br>
struct device;<br>
struct device_driver;<br>
struct driver_private;<br>
struct class;<br>
struct bus_type;<br>
struct bus_type_private;<br>
</blockquote><div><br>As I suppose this new 2.6.26 structure is still valid to latest 2.6.27 and 2.6.28 kernels, a new 1.1.9 supporting those kernels should be more than welcome.<br><br>Thanks for replying !<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Olivier a écrit :<br>
<div><div></div><div class="Wj3C7c">> Hi,<br>
><br>
> Before diving into this, I would very pleased to know if someone could<br>
> yes or no, successfully compile mISDN 1.1.8 on Lenny (latest RC1 or<br>
> beta2 version) ?<br>
><br>
> Regards<br>
><br>
><br>
><br>
> After a fresh install on Lenny, I can reproduce at will :<br>
><br>
> apt-get install build-essential linux-headers-2.6.26-1-686<br>
> cd /usr/src<br>
> wget <a href="http://www.misdn.org/downloads/mISDN.tar.gz" target="_blank">http://www.misdn.org/downloads/mISDN.tar.gz</a><br>
> tar xvf mISDN.tar.gz<br>
> cd mISDN-1_1_8<br>
> make<br>
> .... fails with<br>
> In file included from /usr/src/mISDN-1_1_8/drivers/<br>
> isdn/hardware/mISDN/core.h:9,<br>
> from<br>
> /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:20:<br>
> /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:791: error: field<br>
> 'class_dev' has incomplete type<br>
> /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:824: error: field<br>
> 'class_dev' has incomplete type<br>
> /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:862: error: field<br>
> 'class_dev' has incomplete type<br>
> /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c: In<br>
> function 'init_card':<br>
> /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:889:<br>
> warning: passing argument 2 of 'request_irq' from incompatible pointer<br>
> type<br>
> /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:895:<br>
> warning: passing argument 2 of 'request_irq' from incompatible pointer<br>
> type<br>
> make[2]: ***<br>
> [/usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.o] Erreur 1<br>
><br>
><br>
> The same procedure is successful on Etch (though there's a lot of<br>
> warnings here and there from gcc but I suppose I don't have to care<br>
> about that).<br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>