Hi, Before diving into this, I would very pleased to know if someone could yes or no, successfully compile mISDN 1.1.8 on Lenny (latest RC1 or beta2 version) ? Regards After a fresh install on Lenny, I can reproduce at will : apt-get install build-essential linux-headers-2.6.26-1-686 cd /usr/src wget http://www.misdn.org/downloads/mISDN.tar.gz tar xvf mISDN.tar.gz cd mISDN-1_1_8 make .... fails with In file included from /usr/src/mISDN-1_1_8/drivers/ isdn/hardware/mISDN/core.h:9, from /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:20: /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:791: error: field 'class_dev' has incomplete type /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:824: error: field 'class_dev' has incomplete type /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:862: error: field 'class_dev' has incomplete type /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c: In function 'init_card': /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:889: warning: passing argument 2 of 'request_irq' from incompatible pointer type /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:895: warning: passing argument 2 of 'request_irq' from incompatible pointer type make[2]: *** [/usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.o] Erreur 1 The same procedure is successful on Etch (though there's a lot of warnings here and there from gcc but I suppose I don't have to care about that). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090108/e1247289/attachment.htm
I don't think your problem is somehow related to the debian release ... However since mISDN 1.1.8 was released to support kernel 2.6.24 & 25 the 18/06/2008 and the kernel 2.6.26 was released the 13/07/2008 an incompatibility between both could very well be possible. Well and it's quite simple, the struct class_device has desappeared from "include/linux/device.h" between 2.6.24 and 2.6.26: 2.6.24: struct device; struct device_driver; struct class; struct class_device; struct bus_type; 2.6.26 struct device; struct device_driver; struct driver_private; struct class; struct bus_type; struct bus_type_private; Olivier a ?crit :> Hi, > > Before diving into this, I would very pleased to know if someone could > yes or no, successfully compile mISDN 1.1.8 on Lenny (latest RC1 or > beta2 version) ? > > Regards > > > > After a fresh install on Lenny, I can reproduce at will : > > apt-get install build-essential linux-headers-2.6.26-1-686 > cd /usr/src > wget http://www.misdn.org/downloads/mISDN.tar.gz > tar xvf mISDN.tar.gz > cd mISDN-1_1_8 > make > .... fails with > In file included from /usr/src/mISDN-1_1_8/drivers/ > isdn/hardware/mISDN/core.h:9, > from > /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:20: > /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:791: error: field > 'class_dev' has incomplete type > /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:824: error: field > 'class_dev' has incomplete type > /usr/src/mISDN-1_1_8/include/linux/mISDNif.h:862: error: field > 'class_dev' has incomplete type > /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c: In > function 'init_card': > /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:889: > warning: passing argument 2 of 'request_irq' from incompatible pointer > type > /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:895: > warning: passing argument 2 of 'request_irq' from incompatible pointer > type > make[2]: *** > [/usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.o] Erreur 1 > > > The same procedure is successful on Etch (though there's a lot of > warnings here and there from gcc but I suppose I don't have to care > about that). > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Philipp Kempgen
2009-Jan-09 17:20 UTC
[asterisk-users] Could you compile mISDN 1.1.8 on Lenny ?
Olivier schrieb:> Before diving into this, I would very pleased to know if someone could yes > or no, successfully compile mISDN 1.1.8 on Lenny (latest RC1 or beta2 > version) ?> /usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c:895: warning: > passing argument 2 of 'request_irq' from incompatible pointer type > make[2]: *** [/usr/src/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.o] > Erreur 1Had the same problem. mISDN is a pain in the a**. It hardly ever compiles out of the box. Philipp Kempgen -- AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 --