[asterisk-users] Could you compile mISDN 1.1.8 on Lenny ?

Olivier oza-4h07 at myamail.com
Thu Jan 8 13:09:43 CST 2009


2009/1/8 Benoit <maverick at maverick.eu.org>

>
> 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;
>

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.

Thanks for replying !

>
>
> 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
>
>
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090108/f6a83b77/attachment.htm 


More information about the asterisk-users mailing list