[Asterisk-Users] zaptel does not compile with kernel 2.6.15

2006-01-05 Thread John Covici
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


Re: [Asterisk-Users] zaptel does not compile with kernel 2.6.15

2006-01-05 Thread Kevin P. Fleming

John Covici wrote:

Hi.  If I use kernel 2.6.15 I cannot compile zaptel modules.  I get
the following error(s) using gcc4.


Without telling us exactly what version of Zaptel you are trying to 
build. your report is nearly useless.


Zaptel was updated to take these API changes into account during the 
2.6.15-rc2 timeframe, I believe, so the current Zaptel in Subversion 
should be able to compile.

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


Re: [Asterisk-Users] zaptel does not compile with kernel 2.6.15

2006-01-05 Thread John covici
I did get the latest zaptel from cvs, but maybe this isn't up to date
-- sorry for the confusion.

How do y9ou determine the zaptel version for future reference?


on Thursday 01/05/2006 Kevin P. Fleming([EMAIL PROTECTED]) wrote
  John Covici wrote:
   Hi.  If I use kernel 2.6.15 I cannot compile zaptel modules.  I get
   the following error(s) using gcc4.
  
  Without telling us exactly what version of Zaptel you are trying to 
  build. your report is nearly useless.
  
  Zaptel was updated to take these API changes into account during the 
  2.6.15-rc2 timeframe, I believe, so the current Zaptel in Subversion 
  should be able to compile.
  ___
  --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

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


Re: [Asterisk-Users] zaptel does not compile with kernel 2.6.15

2006-01-05 Thread Kevin P. Fleming

John covici wrote:

I did get the latest zaptel from cvs, but maybe this isn't up to date
-- sorry for the confusion.


There are multiple branches of Zaptel in CVS (and Subversion). This is 
not specific enough for us to be able to help you.



How do y9ou determine the zaptel version for future reference?


You need to tell us how you downloaded it for us to be able to tell you 
that...


I just built the current version in the Subversion repository against 
2.6.15 headers and it worked fine.

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


Re: [Asterisk-Users] zaptel does not compile with kernel 2.6.15

2006-01-05 Thread John covici
OK, I will download the trunk from subversion and see if that works.

on Thursday 01/05/2006 Kevin P. Fleming([EMAIL PROTECTED]) wrote
  John covici wrote:
   I did get the latest zaptel from cvs, but maybe this isn't up to date
   -- sorry for the confusion.
  
  There are multiple branches of Zaptel in CVS (and Subversion). This is 
  not specific enough for us to be able to help you.
  
   How do y9ou determine the zaptel version for future reference?
  
  You need to tell us how you downloaded it for us to be able to tell you 
  that...
  
  I just built the current version in the Subversion repository against 
  2.6.15 headers and it worked fine.
  ___
  --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

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