[asterisk-bugs] [DAHDI 0013427]: Compile error on CentOS-4.6 with Kernel-2.6.9-67.0.15.ELsmp and CONFIG_DAHDI_NET

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 5 12:39:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13427 
====================================================================== 
Reported By:                tusar
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI
Issue ID:                   13427
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
====================================================================== 
Date Submitted:             2008-09-05 04:57 CDT
Last Modified:              2008-09-05 12:39 CDT
====================================================================== 
Summary:                    Compile error on CentOS-4.6 with
Kernel-2.6.9-67.0.15.ELsmp and CONFIG_DAHDI_NET
Description: 
Trying to compile DAHDI with "CONFIG_DAHDI_NET" enable on CentOS-4.6 but
getting compile error like below ...

OS     : CentOS-4.6
Kernel : 2.6.9-67.0.15.ELsmp
GCC    : gcc-3.4.6-9
DAHDI  : dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2
Enabled: CONFIG_DAHDI_NET



[root at SunFlower dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2]# make
make -C linux all
make[1]: Entering directory
`/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux'
make -C /lib/modules/2.6.9-67.0.15.ELsmp/build ARCH=i386
SUBDIRS=/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi
DAHDI_INCLUDE=/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/include
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/linux-2.6.9-67.0.15.ELsmp'
  CC [M] 
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.o
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:1625:
warning: return type defaults to `int'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:
In function `dahdi_xmit':
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:1697:
error: `outbug' undeclared (first use in this function)
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:1697:
error: (Each undeclared identifier is reported only once
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:1697:
error: for each function it appears in.)
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:
In function `dahdi_unregister':
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:5406:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:5406:
error: too many arguments to function `class_simple_device_remove'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:
In function `dahdi_unregister_chardev':
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7793:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7793:
error: too many arguments to function `class_simple_device_remove'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:
In function `dahdi_cleanup':
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7832:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7832:
error: too many arguments to function `class_simple_device_remove'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7833:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7833:
error: too many arguments to function `class_simple_device_remove'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7834:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7834:
error: too many arguments to function `class_simple_device_remove'
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7835:
warning: passing arg 1 of `class_simple_device_remove' makes integer from
pointer without a cast
/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.c:7835:
error: too many arguments to function `class_simple_device_remove'
make[3]: ***
[/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/dahdi-base.o]
Error 1
make[2]: ***
[_module_/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi]
Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.9-67.0.15.ELsmp'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/home/test/asterisk_all/asterisk-1.6/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux'
make: *** [all] Error 2

Regards,

//Tusar\\
====================================================================== 

---------------------------------------------------------------------- 
 (0092115) tusar (reporter) - 2008-09-05 12:39
 http://bugs.digium.com/view.php?id=13427#c92115 
---------------------------------------------------------------------- 
Actually I tried without/with "CONFIG_DAHDI_NET" and got that compile error
but I am very keen to implement with "CONFIG_DAHDI_NET" .

Regards. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-05 12:39 tusar          Note Added: 0092115                          
======================================================================




More information about the asterisk-bugs mailing list