[Home]

Summary:ASTERISK-08714: Failure to compile on Redhat Enterprise systems: ZT_TCOP_RELEASE undeclared
Reporter:John Todd (jtodd)Labels:
Date Opened:2007-02-01 18:51:43.000-0600Date Closed:2007-02-05 13:38:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Sorry, no other information other than the failure mode.  Could be the fact that I'm not 100% familiar with the way this system is configured, but it's pretty vanilla.  Turning off the Zap codec in the menuselect menus clears the problem, but obviously that is not the desired solution...



[root@telecom-prod-sip-1 zaptel]# make update
Updating from Subversion...

Fetching external item into 'menuselect'

Fetching external item into 'menuselect/mxml'
External at revision 19.

At revision 105.
At revision 53110.
[root@telecom-prod-sip-1 zaptel]#
[root@telecom-prod-sip-1 zaptel]#
[root@telecom-prod-sip-1 zaptel]#
[root@telecom-prod-sip-1 zaptel]# make
menuselect/menuselect --check-deps   menuselect.makeopts
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
  [CC] codec_zap.c -> codec_zap.o
codec_zap.c: In function `zap_destroy':
codec_zap.c:222: error: `ZT_TCOP_RELEASE' undeclared (first use in this function)
codec_zap.c:222: error: (Each undeclared identifier is reported only once
codec_zap.c:222: error: for each function it appears in.)
codec_zap.c: In function `find_transcoders':
codec_zap.c:519: error: structure has no member named `numchannels'
make[1]: *** [codec_zap.o] Error 1
make: *** [codecs] Error 2
[root@telecom-prod-sip-1 zaptel]# uname -a
Linux telecom-prod-sip-1.ucsc.edu 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02 EDT 2006 i686 i686 i386 GNU/Linux
[root@telecom-prod-sip-1 zaptel]# cd /etc/
[root@telecom-prod-sip-1 etc]# more redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
[root@telecom-prod-sip-1 etc]#
Comments:By: Jason Parker (jparker) 2007-02-01 22:08:24.000-0600

You'll need to update to the latest zaptel for the version of asterisk you're compiling.  Closing