[asterisk-users] Problem building Asterisk 1.2.22
Daryl Jones
daryl at tcomeng.com
Wed Jul 18 15:29:04 CDT 2007
Correct. zaptel-1.2.12 is currently installed. I plan to install
zaptel-1.2.19 as part of this upgrade. zaptel-1.2.19 compiled clean, but
has not been installed yet.
John covici wrote:
> I wonder what version of Zaptel you are using -- sounds like you have
> not installed a new version or you are using an older one.
>
> on Wednesday 07/18/2007 Daryl Jones(daryl at tcomeng.com) wrote
> > I'm having a problem building Asterisk 1.2.22. It fails in
> > codecs/codec_zap.c on codec_zap.c is revision 62173. The OS is FC4.
> >
> > Here's the error. Can anyone help me with this?
> >
> > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
> > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
> > -fomit-frame-pointer -fPIC -c -o codec_zap.o codec_zap.c
> > codec_zap.c: In function ?zap_framein?:
> > codec_zap.c:143: error: dereferencing pointer to incomplete type
> > codec_zap.c:145: error: dereferencing pointer to incomplete type
> > codec_zap.c:147: error: dereferencing pointer to incomplete type
> > codec_zap.c:147: error: dereferencing pointer to incomplete type
> > codec_zap.c:152: error: dereferencing pointer to incomplete type
> > codec_zap.c:152: error: dereferencing pointer to incomplete type
> > codec_zap.c:152: error: dereferencing pointer to incomplete type
> > codec_zap.c:154: error: dereferencing pointer to incomplete type
> > codec_zap.c:154: error: dereferencing pointer to incomplete type
> > codec_zap.c:154: error: dereferencing pointer to incomplete type
> > codec_zap.c:154: error: dereferencing pointer to incomplete type
> > codec_zap.c:155: error: dereferencing pointer to incomplete type
> > codec_zap.c:158: error: dereferencing pointer to incomplete type
> > codec_zap.c:158: error: dereferencing pointer to incomplete type
> > codec_zap.c:158: error: dereferencing pointer to incomplete type
> > codec_zap.c:159: error: dereferencing pointer to incomplete type
> >
> > codec_zap.c: In function ?zap_frameout?:
> > codec_zap.c:183: error: dereferencing pointer to incomplete type
> > codec_zap.c:192: error: dereferencing pointer to incomplete type
> > codec_zap.c:193: error: dereferencing pointer to incomplete type
> > codec_zap.c:194: error: dereferencing pointer to incomplete type
> > codec_zap.c:194: error: dereferencing pointer to incomplete type
> > codec_zap.c:195: error: dereferencing pointer to incomplete type
> > codec_zap.c:196: error: dereferencing pointer to incomplete type
> > codec_zap.c:199: error: dereferencing pointer to incomplete type
> > codec_zap.c:202: error: dereferencing pointer to incomplete type
> > codec_zap.c:203: error: dereferencing pointer to incomplete type
> > codec_zap.c:204: error: ?ZT_TCOP_TRANSCODE? undeclared (first use in
> > this function)
> > codec_zap.c:204: error: (Each undeclared identifier is reported only once
> > codec_zap.c:204: error: for each function it appears in.)
> > codec_zap.c:205: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c: In function ?zap_destroy?:
> > codec_zap.c:219: error: ?ZT_TCOP_RELEASE? undeclared (first use in this
> > function)
> > codec_zap.c:220: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:223: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_alawtog723?:
> > codec_zap.c:240: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:262: error: dereferencing pointer to incomplete type
> > codec_zap.c:269: error: dereferencing pointer to incomplete type
> > codec_zap.c:269: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:270: error: dereferencing pointer to incomplete type
> > codec_zap.c:271: error: dereferencing pointer to incomplete type
> > codec_zap.c:277: error: dereferencing pointer to incomplete type
> > codec_zap.c:278: error: dereferencing pointer to incomplete type
> > codec_zap.c:279: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:281: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_ulawtog723?:
> > codec_zap.c:297: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:319: error: dereferencing pointer to incomplete type
> > codec_zap.c:326: error: dereferencing pointer to incomplete type
> > codec_zap.c:326: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:327: error: dereferencing pointer to incomplete type
> > codec_zap.c:328: error: dereferencing pointer to incomplete type
> > codec_zap.c:334: error: dereferencing pointer to incomplete type
> > codec_zap.c:335: error: dereferencing pointer to incomplete type
> > codec_zap.c:336: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:338: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_g723toalaw?:
> > codec_zap.c:354: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:376: error: dereferencing pointer to incomplete type
> > codec_zap.c:383: error: dereferencing pointer to incomplete type
> > codec_zap.c:383: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:384: error: dereferencing pointer to incomplete type
> > codec_zap.c:385: error: dereferencing pointer to incomplete type
> > codec_zap.c:391: error: dereferencing pointer to incomplete type
> > codec_zap.c:392: error: dereferencing pointer to incomplete type
> > codec_zap.c:393: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:395: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_g723toulaw?:
> > codec_zap.c:411: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:433: error: dereferencing pointer to incomplete type
> > codec_zap.c:440: error: dereferencing pointer to incomplete type
> > codec_zap.c:440: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:441: error: dereferencing pointer to incomplete type
> > codec_zap.c:442: error: dereferencing pointer to incomplete type
> > codec_zap.c:448: error: dereferencing pointer to incomplete type
> > codec_zap.c:449: error: dereferencing pointer to incomplete type
> > codec_zap.c:450: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:452: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_alawtog729?:
> > codec_zap.c:468: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:490: error: dereferencing pointer to incomplete type
> > codec_zap.c:497: error: dereferencing pointer to incomplete type
> > codec_zap.c:497: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:498: error: dereferencing pointer to incomplete type
> > codec_zap.c:499: error: dereferencing pointer to incomplete type
> > codec_zap.c:505: error: dereferencing pointer to incomplete type
> > codec_zap.c:506: error: dereferencing pointer to incomplete type
> > codec_zap.c:507: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:509: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_ulawtog729?:
> > codec_zap.c:525: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:547: error: dereferencing pointer to incomplete type
> > codec_zap.c:554: error: dereferencing pointer to incomplete type
> > codec_zap.c:554: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:555: error: dereferencing pointer to incomplete type
> > codec_zap.c:556: error: dereferencing pointer to incomplete type
> > codec_zap.c:562: error: dereferencing pointer to incomplete type
> > codec_zap.c:563: error: dereferencing pointer to incomplete type
> > codec_zap.c:564: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:566: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_g729toalaw?:
> > codec_zap.c:582: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:604: error: dereferencing pointer to incomplete type
> > codec_zap.c:611: error: dereferencing pointer to incomplete type
> > codec_zap.c:611: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:612: error: dereferencing pointer to incomplete type
> > codec_zap.c:613: error: dereferencing pointer to incomplete type
> > codec_zap.c:619: error: dereferencing pointer to incomplete type
> > codec_zap.c:620: error: dereferencing pointer to incomplete type
> > codec_zap.c:621: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:623: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?zap_new_g729toulaw?:
> > codec_zap.c:639: error: ?ZT_TCOP_ALLOCATE? undeclared (first use in this
> > function)
> > codec_zap.c:661: error: dereferencing pointer to incomplete type
> > codec_zap.c:668: error: dereferencing pointer to incomplete type
> > codec_zap.c:668: error: ?ZT_TRANSCODE_MAGIC? undeclared (first use in
> > this function)
> > codec_zap.c:669: error: dereferencing pointer to incomplete type
> > codec_zap.c:670: error: dereferencing pointer to incomplete type
> > codec_zap.c:676: error: dereferencing pointer to incomplete type
> > codec_zap.c:677: error: dereferencing pointer to incomplete type
> > codec_zap.c:678: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:680: error: dereferencing pointer to incomplete type
> > codec_zap.c: In function ?find_transcoders?:
> > codec_zap.c:833: error: variable ?info? has initializer but incomplete type
> > codec_zap.c:833: warning: excess elements in struct initializer
> > codec_zap.c:833: warning: (near initialization for ?info?)
> > codec_zap.c:833: error: storage size of ?info? isn?t known
> > codec_zap.c:838: error: ?ZT_TCOP_GETINFO? undeclared (first use in this
> > function)
> > codec_zap.c:848: error: ?ZT_TRANSCODE_OP? undeclared (first use in this
> > function)
> > codec_zap.c:833: warning: unused variable ?info?
> > make[1]: *** [codec_zap.o] Error 1
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list