[asterisk-users] asterisk 1.2 branch revision 53132 failed to compile

Wilson Pickett spamsucks2005 at gmail.com
Fri Mar 16 06:46:24 MST 2007


Has this issue been resolved? I'm having the problem now with the code base
downloaded yesterday.

On 2/3/07, Erick Perez <eaperezh at gmail.com> wrote:
>
> while compiling svn 53132 of asterisk branch 1.2
>
> gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE  -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
> -DBUSYDETECT_MARTIN     -fomit-frame-pointer  -fPIC   -c -o app_sms.o
> app_sms.c
> gcc -shared -Xlinker -x -o app_sms.so  app_sms.o
> make[1]: Leaving directory `/usr/src/asterisk/asterisk-1.2/apps'
> make[1]: Entering directory `/usr/src/asterisk/asterisk-1.2/codecs'
> gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE  -O6 -march=i586 -DZAPTEL_OPTIMIZATIONS
> -DBUSYDETECT_MARTIN     -fomit-frame-pointer  -fPIC   -c -o
> codec_zap.o codec_zap.c
> codec_zap.c: In function `zap_framein':
> codec_zap.c:147: error: dereferencing pointer to incomplete type
> codec_zap.c:149: error: dereferencing pointer to incomplete type
> codec_zap.c:151: error: dereferencing pointer to incomplete type
> codec_zap.c:151: error: dereferencing pointer to incomplete type
> codec_zap.c:156: error: dereferencing pointer to incomplete type
> codec_zap.c:156: error: dereferencing pointer to incomplete type
> codec_zap.c:156: 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:158: error: dereferencing pointer to incomplete type
> codec_zap.c:159: error: dereferencing pointer to incomplete type
> codec_zap.c:162: error: dereferencing pointer to incomplete type
> codec_zap.c:162: error: dereferencing pointer to incomplete type
> codec_zap.c:162: error: dereferencing pointer to incomplete type
> codec_zap.c:163: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_frameout':
> codec_zap.c:187: error: dereferencing pointer to incomplete type
> codec_zap.c:196: error: dereferencing pointer to incomplete type
> codec_zap.c:197: error: dereferencing pointer to incomplete type
> codec_zap.c:198: error: dereferencing pointer to incomplete type
> codec_zap.c:198: error: dereferencing pointer to incomplete type
> codec_zap.c:199: error: dereferencing pointer to incomplete type
> codec_zap.c:200: error: dereferencing pointer to incomplete type
> codec_zap.c:203: error: dereferencing pointer to incomplete type
> codec_zap.c:206: error: dereferencing pointer to incomplete type
> codec_zap.c:207: error: dereferencing pointer to incomplete type
> codec_zap.c:208: error: `ZT_TCOP_TRANSCODE' undeclared (first use in
> this function)
> codec_zap.c:208: error: (Each undeclared identifier is reported only once
> codec_zap.c:208: error: for each function it appears in.)
> codec_zap.c:209: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c: In function `zap_destroy':
> codec_zap.c:223: error: `ZT_TCOP_RELEASE' undeclared (first use in
> this function)
> codec_zap.c:224: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:227: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_alawtog723':
> codec_zap.c:244: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:266: error: dereferencing pointer to incomplete type
> codec_zap.c:273: error: dereferencing pointer to incomplete type
> codec_zap.c:273: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:274: error: dereferencing pointer to incomplete type
> codec_zap.c:275: error: dereferencing pointer to incomplete type
> codec_zap.c:281: error: dereferencing pointer to incomplete type
> codec_zap.c:282: error: dereferencing pointer to incomplete type
> codec_zap.c:283: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:285: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_ulawtog723':
> codec_zap.c:301: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:323: error: dereferencing pointer to incomplete type
> codec_zap.c:330: error: dereferencing pointer to incomplete type
> codec_zap.c:330: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:331: error: dereferencing pointer to incomplete type
> codec_zap.c:332: error: dereferencing pointer to incomplete type
> codec_zap.c:338: error: dereferencing pointer to incomplete type
> codec_zap.c:339: error: dereferencing pointer to incomplete type
> codec_zap.c:340: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:342: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_g723toalaw':
> codec_zap.c:358: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:380: error: dereferencing pointer to incomplete type
> codec_zap.c:387: error: dereferencing pointer to incomplete type
> codec_zap.c:387: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:388: error: dereferencing pointer to incomplete type
> codec_zap.c:389: error: dereferencing pointer to incomplete type
> codec_zap.c:395: error: dereferencing pointer to incomplete type
> codec_zap.c:396: error: dereferencing pointer to incomplete type
> codec_zap.c:397: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:399: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_g723toulaw':
> codec_zap.c:415: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:437: error: dereferencing pointer to incomplete type
> codec_zap.c:444: error: dereferencing pointer to incomplete type
> codec_zap.c:444: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:445: error: dereferencing pointer to incomplete type
> codec_zap.c:446: error: dereferencing pointer to incomplete type
> codec_zap.c:452: error: dereferencing pointer to incomplete type
> codec_zap.c:453: error: dereferencing pointer to incomplete type
> codec_zap.c:454: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:456: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_alawtog729':
> codec_zap.c:472: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:494: error: dereferencing pointer to incomplete type
> codec_zap.c:501: error: dereferencing pointer to incomplete type
> codec_zap.c:501: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:502: error: dereferencing pointer to incomplete type
> codec_zap.c:503: error: dereferencing pointer to incomplete type
> codec_zap.c:509: error: dereferencing pointer to incomplete type
> codec_zap.c:510: error: dereferencing pointer to incomplete type
> codec_zap.c:511: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:513: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_ulawtog729':
> codec_zap.c:529: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:551: error: dereferencing pointer to incomplete type
> codec_zap.c:558: error: dereferencing pointer to incomplete type
> codec_zap.c:558: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:559: error: dereferencing pointer to incomplete type
> codec_zap.c:560: error: dereferencing pointer to incomplete type
> codec_zap.c:566: error: dereferencing pointer to incomplete type
> codec_zap.c:567: error: dereferencing pointer to incomplete type
> codec_zap.c:568: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:570: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_g729toalaw':
> codec_zap.c:586: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:608: error: dereferencing pointer to incomplete type
> codec_zap.c:615: error: dereferencing pointer to incomplete type
> codec_zap.c:615: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:616: error: dereferencing pointer to incomplete type
> codec_zap.c:617: error: dereferencing pointer to incomplete type
> codec_zap.c:623: error: dereferencing pointer to incomplete type
> codec_zap.c:624: error: dereferencing pointer to incomplete type
> codec_zap.c:625: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:627: error: dereferencing pointer to incomplete type
> codec_zap.c: In function `zap_new_g729toulaw':
> codec_zap.c:643: error: `ZT_TCOP_ALLOCATE' undeclared (first use in
> this function)
> codec_zap.c:665: error: dereferencing pointer to incomplete type
> codec_zap.c:672: error: dereferencing pointer to incomplete type
> codec_zap.c:672: error: `ZT_TRANSCODE_MAGIC' undeclared (first use in
> this function)
> codec_zap.c:673: error: dereferencing pointer to incomplete type
> codec_zap.c:674: error: dereferencing pointer to incomplete type
> codec_zap.c:680: error: dereferencing pointer to incomplete type
> codec_zap.c:681: error: dereferencing pointer to incomplete type
> codec_zap.c:682: error: `ZT_TRANSCODE_OP' undeclared (first use in
> this function)
> codec_zap.c:684: error: dereferencing pointer to incomplete type
> 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/asterisk-1.2/codecs'
> make: *** [subdirs] Error 1
>
>
> --
> ------------------------------------------------------------
> Erick Perez
> Panama Sistemas
> Integradores de Telefonia IP y Soluciones Para Centros de Datos
> Panama, Republica de Panama
> Cel Panama. +(507) 6694-4780
> ------------------------------------------------------------
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070316/e0056144/attachment-0001.htm


More information about the asterisk-users mailing list