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

Benoit maverick at maverick.eu.org
Thu Jan 8 12:42:06 CST 2009


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





More information about the asterisk-users mailing list