Summary:ASTERISK-08689: codec_zap fails to compile on Fedora Core 6
Reporter:Andrew Smith (eurodrew555)Labels:
Date Opened:2007-01-30 07:34:29.000-0600Date Closed:2007-01-30 09:36:00.000-0600
Versions:Frequency of
Description:I've checked out latest SVN of libpri, zaptel, asterisk and asterisk-addons.
Server also has a Sangoma A104d which is running wanpipe-beta13-p7-2.3.4 drivers.

libpri svn (rev 393) and zaptel svn (rev 2017) both compile sucessfully.
I can then start the wanpipe drivers and zaptel and I can see that all channels are cleared and have no alarms.

I then move to compiling Asterisk svn (rev 52842) but receive the following errors (apologies - the output isn't very clean)

codec_zap.c: In function ?find_transcoders?:
codec_zap.c:849: error: variable ?info? has initializer but incomplete type
codec_zap.c:849: warning: excess elements in struct initializer
codec_zap.c:849: warning: (near initialization for ?info?)
codec_zap.c:849: error: storage size of ?info? isn?t known
codec_zap.c:854: error: ?ZT_TCOP_GETINFO? undeclared (first use in this function)
codec_zap.c:859: error: ?ZT_TRANSCODE_OP? undeclared (first use in this function)
codec_zap.c:849: warning: unused variable ?info?
make[1]: *** [codec_zap.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-svn-1.2/codecs'
make: *** [subdirs] Error 1


Fedora Core 6 - 2.6.19-1.2895.fc6 #1 SMP - fully up to date with latest yum update.

We don't have this issue when installing SVN 1.4 (libpri,zaptel,asterisk and asterisk-addons) or (libpri-1.2.4, zaptel-1.2.12, asterisk-1.2.14, and asterisk-addons-1.2.5)

I have been able to compile Asterisk 1.2 SVN (rev 52842) if I use Zaptel SVN 1.4 - but it does not load chan_zap.so (it doesn't get built..)

Comments:By: Russell Bryant (russell) 2007-01-30 09:35:59.000-0600

The transcoder support has not yet been merged into zaptel 1.2, so I have disabled this from building in Asterisk until that is done.

rev 52857