Hi. If I use kernel 2.6.15 I cannot compile zaptel modules. I get the following error(s) using gcc4.
CC [M] /usr/src/zaptel/zaptel.o /usr/src/zaptel/zaptel.c: In function 'zt_ppp_xmit': /usr/src/zaptel/zaptel.c:1533: warning: comparison of distinct pointer types lacks a cast /usr/src/zaptel/zaptel.c: In function 'zt_register': /usr/src/zaptel/zaptel.c:4448: warning: passing argument 2 of 'class_device_create' makes pointer from integer without a cast /usr/src/zaptel/zaptel.c:4448: warning: passing argument 3 of 'class_device_create' makes integer from pointer without a cast /usr/src/zaptel/zaptel.c:4448: warning: passing argument 4 of 'class_device_create' from incompatible pointer type /usr/src/zaptel/zaptel.c:4448: error: too few arguments to function 'class_device_create' /usr/src/zaptel/zaptel.c: In function 'zt_init': /usr/src/zaptel/zaptel.c:6507: warning: passing argument 2 of 'class_device_create' makes pointer from integer without a cast /usr/src/zaptel/zaptel.c:6507: warning: passing argument 3 of 'class_device_create' makes integer from pointer without a cast /usr/src/zaptel/zaptel.c:6507: warning: passing argument 4 of 'class_device_create' from incompatible pointer type /usr/src/zaptel/zaptel.c:6507: error: too few arguments to function 'class_device_create' /usr/src/zaptel/zaptel.c:6508: warning: passing argument 2 of 'class_device_create' makes pointer from integer without a cast /usr/src/zaptel/zaptel.c:6508: warning: passing argument 3 of 'class_device_create' makes integer from pointer without a cast /usr/src/zaptel/zaptel.c:6508: warning: passing argument 4 of 'class_device_create' from incompatible pointer type /usr/src/zaptel/zaptel.c:6508: error: too few arguments to function 'class_device_create' /usr/src/zaptel/zaptel.c:6509: warning: passing argument 2 of 'class_device_create' makes pointer from integer without a cast /usr/src/zaptel/zaptel.c:6509: warning: passing argument 3 of 'class_device_create' makes integer from pointer without a cast /usr/src/zaptel/zaptel.c:6509: warning: passing argument 4 of 'class_device_create' from incompatible pointer type /usr/src/zaptel/zaptel.c:6509: error: too few arguments to function 'class_device_create' /usr/src/zaptel/zaptel.c:6510: warning: passing argument 2 of 'class_device_create' makes pointer from integer without a cast /usr/src/zaptel/zaptel.c:6510: warning: passing argument 3 of 'class_device_create' makes integer from pointer without a cast /usr/src/zaptel/zaptel.c:6510: warning: passing argument 4 of 'class_device_create' from incompatible pointer type /usr/src/zaptel/zaptel.c:6510: error: too few arguments to function 'class_device_create' make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 make[1]: *** [_module_/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.15' make: *** [linux26] Error 2 Any assistance would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users