[Home]

Summary:DAHLIN-00027: Dahdi linux drivers from trunk does not compile on 2.6.27-rc2.
Reporter:raiden (raiden)Labels:
Date Opened:2008-08-07 01:04:16Date Closed:2008-08-20 16:13:21
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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?
Comments:By: Jason Parker (jparker) 2008-08-13 15:06:33

Closing in favor of ZAP-344.

By: Kevin P. Fleming (kpfleming) 2008-08-20 16:05:11

Reopening this issue because Zaptel and DAHDI are separate projects and the issues should be separate.

By: Digium Subversion (svnbot) 2008-08-20 16:13:19

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 DAHLIN-27)
Reported by: raiden
Patches:
     zap-dev.patch uploaded by smurfix on issue ZAP-344 (license 547)
     zap-sema.patch uploaded by smurfix on issue ZAP-344 (license 547)

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

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