[Asterisk-Dev] zaptel-1.2.0 compilation fails on 2.5.15-rc2-git6

Patrick asterisk at puzzled.xs4all.nl
Tue Nov 29 15:35:21 MST 2005


Hi all,

Zaptel 1.2.0 no longer compiles on recent Fedora Rawhide kernels like
2.6.14-1.1719 which is 2.6.15-rc2-git6. The error can be found below. If
you need more info please let me know.

Thanks and regards,
Patrick

        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:3295:5:
        warning: "CONFIG_ZAPATA_DEBUG" is not defined
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c: In function
        'zt_register':
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:4448: warning:
        passing argument 2 of 'class_device_create' makes pointer from
        integer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:4448: warning:
        passing argument 3 of 'class_device_create' makes integer from
        pointer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:4448: warning:
        passing argument 4 of 'class_device_create' from incompatible
        pointer type
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:4448: error:
        too few arguments to function 'class_device_create'
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:5287:5:
        warning: "CONFIG_ZAPATA_DEBUG" is not defined
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:5806:5:
        warning: "CONFIG_ZAPATA_DEBUG" is not defined
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:5876:5:
        warning: "CONFIG_ZAPATA_DEBUG" is not defined
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:5899:5:
        warning: "CONFIG_ZAPATA_DEBUG" is not defined
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c: In function
        'zt_init':
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6507: warning:
        passing argument 2 of 'class_device_create' makes pointer from
        integer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6507: warning:
        passing argument 3 of 'class_device_create' makes integer from
        pointer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6507: warning:
        passing argument 4 of 'class_device_create' from incompatible
        pointer type
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6507: error:
        too few arguments to function 'class_device_create'
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6508: warning:
        passing argument 2 of 'class_device_create' makes pointer from
        integer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6508: warning:
        passing argument 3 of 'class_device_create' makes integer from
        pointer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6508: warning:
        passing argument 4 of 'class_device_create' from incompatible
        pointer type
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6508: error:
        too few arguments to function 'class_device_create'
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6509: warning:
        passing argument 2 of 'class_device_create' makes pointer from
        integer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6509: warning:
        passing argument 3 of 'class_device_create' makes integer from
        pointer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6509: warning:
        passing argument 4 of 'class_device_create' from incompatible
        pointer type
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6509: error:
        too few arguments to function 'class_device_create'
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6510: warning:
        passing argument 2 of 'class_device_create' makes pointer from
        integer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6510: warning:
        passing argument 3 of 'class_device_create' makes integer from
        pointer without a cast
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6510: warning:
        passing argument 4 of 'class_device_create' from incompatible
        pointer type
        /home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.c:6510: error:
        too few arguments to function 'class_device_create'
        make[2]: *** [/home/patrick/redhat/BUILD/zaptel-1.2.0/zaptel.o]
        Error 1
        make[1]: *** [_module_/home/patrick/redhat/BUILD/zaptel-1.2.0]
        Error 2
        make[1]: Leaving directory
        `/usr/src/kernels/2.6.14-1.1715_FC5-ppc'
        make: *** [linux26] Error 2
        error: Bad exit status from /var/tmp/rpm-tmp.42769 (%build) 




More information about the asterisk-dev mailing list