[asterisk-bugs] [DAHDI-linux 0013608]: dahdi-linux does not compile out of the box

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 6 11:33:40 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13608 
====================================================================== 
Reported By:                Nik Soggia
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13608
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             2008-10-03 04:41 CDT
Last Modified:              2008-10-06 11:33 CDT
====================================================================== 
Summary:                    dahdi-linux does not compile out of the box
Description: 
$ tar zxf dahdi-linux-2.0.0.tar.gz 
$ cd dahdi-linux-2.0.0/
$ make DYNFS=1
make -C /lib/modules/2.6.26.5/build ARCH=i386
SUBDIRS=/tmp/dahdi-linux-2.0.0/drivers/dahdi
DAHDI_INCLUDE=/tmp/dahdi-linux-2.0.0/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-2.6.26.5'
  CC [M]  /tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.o
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c: In function
'dahdi_ppp_xmit':
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c:1810: error: implicit
declaration of function 'print_debug_writebuf'
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c:1810: error: 'outbuf'
undeclared (first use in this function)
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c:1810: error: (Each
undeclared identifier is reported only once
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c:1810: error: for each
function it appears in.)
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c: In function
'dahdi_chan_ioctl':
/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.c:5009: error: 'struct
dahdi_chan' has no member named 'ec'
make[2]: *** [/tmp/dahdi-linux-2.0.0/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [_module_/tmp/dahdi-linux-2.0.0/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26.5'
make: *** [modules] Error 2
====================================================================== 

---------------------------------------------------------------------- 
 (0093231) seanbright (manager) - 2008-10-06 11:33
 http://bugs.digium.com/view.php?id=13608#c93231 
---------------------------------------------------------------------- 
I just tried from a fresh checkout and it worked here.  Here is a full log
of what I just tried, please try the same thing and see what happens for
you:

<pre>
[sbright at elixer development]$ svn -q co
http://svn.digium.com/svn/dahdi/linux/trunk dahdi-linux-trunk
[sbright at elixer development]$ cd dahdi-linux-trunk/
[sbright at elixer dahdi-linux-trunk]$ echo "#define CONFIG_DAHDI_NET 1" >>
drivers/dahdi/dahdi_config.h 
[sbright at elixer dahdi-linux-trunk]$ gmake
gmake -C /lib/modules/2.6.18-92.1.6.el5/build ARCH=i386
SUBDIRS=/home/sbright/development/dahdi-linux-trunk/drivers/dahdi
DAHDI_INCLUDE=/home/sbright/development/dahdi-linux-trunk/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
gmake[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.6.el5-i686'
  CC [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi-base.o
  LD [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi.o
  CC [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi_dummy.o
  CC [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi_dynamic.o
  CC [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi_dynamic_loc.o
  CC [M] 
/home/sbright/development/dahdi-linux-trunk/drivers/dahdi/dahdi_dynamic_eth.o
 ... etc, etc. ...
</pre>

(Yes, I know you have probably already done this, but please try one more
time.)

If it still fails, then it's probably the version of the kernel you are
running and will need to be addressed.

Thanks 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-06 11:33 seanbright     Note Added: 0093231                          
======================================================================




More information about the asterisk-bugs mailing list