[asterisk-bugs] [DAHDI 0013253]: Dahdi linux drivers from trunk does not compile on 2.6.27-rc2.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 20 16:13:19 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13253 
====================================================================== 
Reported By:                raiden
Assigned To:                kpfleming
====================================================================== 
Project:                    DAHDI
Issue ID:                   13253
Category:                   General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2008-08-07 01:04 CDT
Last Modified:              2008-08-20 16:13 CDT
====================================================================== 
Summary:                    Dahdi linux drivers from trunk does not compile on
2.6.27-rc2.
Description: 
When trying to compile dahdi linux drivers from trunk on a linux 2.6.27-rc2
kernel source, I get the following

dahdi-linux# make
make -C /usr/src/linux ARCH=i386 SUBDIRS=/root/dahdi-linux/drivers/dahdi
DAHDI_INCLUDE=/root/dahdi-linux/include HOTPLUG_FIRMWARE=yes modules
DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-2.6.27-rc2'
  CC [M]  /root/dahdi-linux/drivers/dahdi/dahdi-base.o
/root/dahdi-linux/drivers/dahdi/dahdi-base.c: In function
'dahdi_register':
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:5350: error: too few
arguments to function 'device_create'
/root/dahdi-linux/drivers/dahdi/dahdi-base.c: In function
'dahdi_register_chardev':
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:7783: error: too few
arguments to function 'device_create'
/root/dahdi-linux/drivers/dahdi/dahdi-base.c: In function 'dahdi_init':
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:7809: error: too few
arguments to function 'device_create'
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:7810: error: too few
arguments to function 'device_create'
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:7811: error: too few
arguments to function 'device_create'
/root/dahdi-linux/drivers/dahdi/dahdi-base.c:7812: error: too few
arguments to function 'device_create'
make[2]: *** [/root/dahdi-linux/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [_module_/root/dahdi-linux/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-rc2'
make: *** [modules] Error 2

Seem's to be an issue with the device_create function?
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013277 [patch] Changes for 2.6.26 and 2.6.27
====================================================================== 

---------------------------------------------------------------------- 
 (0091607) svnbot (reporter) - 2008-08-20 16:13
 http://bugs.digium.com/view.php?id=13253#c91607 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 4801

U   linux/trunk/drivers/dahdi/dahdi-base.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/GpakApi.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/GpakCust.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/base.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
U   linux/trunk/drivers/dahdi/wcte12xp/vpmadt032.c
U   linux/trunk/drivers/dahdi/xpp/xpd.h

------------------------------------------------------------------------
r4801 | kpfleming | 2008-08-20 16:13:17 -0500 (Wed, 20 Aug 2008) | 8 lines

improve compatibility with 2.6.26 and 2.6.27 kernels

(closes issue http://bugs.digium.com/view.php?id=13253)
Reported by: raiden
Patches:
      zap-dev.patch uploaded by smurfix on issue
http://bugs.digium.com/view.php?id=13277 (license 547)
      zap-sema.patch uploaded by smurfix on issue
http://bugs.digium.com/view.php?id=13277 (license 547)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=4801 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-20 16:13 svnbot         Checkin                                      
2008-08-20 16:13 svnbot         Note Added: 0091607                          
======================================================================




More information about the asterisk-bugs mailing list