[asterisk-bugs] [DAHDI-linux 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
Mon Sep 15 14:08:53 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-linux
Issue ID: 13427
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: acknowledged
======================================================================
Date Submitted: 2008-09-05 04:57 CDT
Last Modified: 2008-09-15 14:08 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\\
======================================================================
----------------------------------------------------------------------
(0092519) sruffell (administrator) - 2008-09-15 14:08
http://bugs.digium.com/view.php?id=13427#c92519
----------------------------------------------------------------------
tusar, could you try with the current trunk of DAHDI and report your
results?
Issue History
Date Modified Username Field Change
======================================================================
2008-09-15 14:08 sruffell Note Added: 0092519
======================================================================
More information about the asterisk-bugs
mailing list