Angus Comber
2005-Jul-15 01:52 UTC
[Asterisk-Users] channel.c:41:31: asterisk/transcap.h: No such file or directory problem
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@NOSPAMiteloffice.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050715/2f307a53/attachment.htm
Tzafrir Cohen
2005-Jul-16 04:42 UTC
[Asterisk-Users] channel.c:41:31: asterisk/transcap.h: No such file or directory problem
On Fri, Jul 15, 2005 at 09:52:19AM +0100, Angus Comber wrote:> 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 directoryasterisk/transcap.h is added by the bristuff patch. Are you sure it was properly applied? BTW: If you build it now, try 1.0.9 and bristuff RC8j . Alternatively, patch 1.0.8 yourself for the callerid issues. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend