[asterisk-dev] Asterisk 1.2.16 compilation problems

John Lange john.lange at open-it.ca
Mon Mar 5 09:23:42 MST 2007


1.2.16 doesn't seem to compile. Are we missing something?

[1]: Entering directory `/usr/src/asterisk-1.2.16/codecs'
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: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:864: 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-1.2.16/codecs'
make: *** [subdirs] Error 1
voip1:/usr/src/asterisk # 




More information about the asterisk-dev mailing list