[Asterisk-Users] channel.c:41:31: asterisk/transcap.h: No such file or directory problem

Angus Comber angus at iteloffice.com
Fri Jul 15 01:52:19 MST 2005


Hello

I am trying to get Asterisk to work with the Junghanns Quad BRI ISDN card.  I am progressing slowly!

Problem I am now experiencing is as below.


gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686   -DZAPTEL_OPTIMIZATIONS 
  -DASTERISK_VERSION=\"1.0.8-BRIstuffed-0.2.0-RC8h\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" 
 -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" 
 -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
 -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" 
     -DBUSYDETECT_MARTIN        -c -o channel.o channel.c
channel.c:41:31: asterisk/transcap.h: No such file or directory
channel.c: In function `ast_transfercapability2str':
channel.c:239: error: `AST_TRANS_CAP_SPEECH' undeclared (first use in this 
function)
channel.c:239: error: (Each undeclared identifier is reported only once
channel.c:239: error: for each function it appears in.)
channel.c:241: error: `AST_TRANS_CAP_DIGITAL' undeclared (first use in this 
function)
channel.c:243: error: `AST_TRANS_CAP_RESTRICTED_DIGITAL' undeclared (first 
use in this function)
channel.c:245: error: `AST_TRANS_CAP_3_1K_AUDIO' undeclared (first use in 
this function)
channel.c:247: error: `AST_TRANS_CAP_DIGITAL_W_TONES' undeclared (first use 
in this function)
channel.c:249: error: `AST_TRANS_CAP_VIDEO' undeclared (first use in this 
function)
channel.c: In function `ast_channel_bridge':
channel.c:2623: warning: implicit declaration of function `IS_DIGITAL'
make: *** [channel.o] Error 1
****************************************************
 ASTERISK installed.
             Installation finished.
****************************************************

Is the problem here the line: channel.c:41:31: asterisk/transcap.h: No such 
file or directory  ??

Do I just need to ger hold of transcap.h? Or something else?

Angus Comber
angus at NOSPAMiteloffice.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050715/2f307a53/attachment.htm


More information about the asterisk-users mailing list