Summary: | ASTERISK-09136: Asterisk will not compile on FC5 due to errors compiling codec_zap.c | ||
Reporter: | gbodemantv (gbodemantv) | Labels: | |
Date Opened: | 2007-03-28 15:08:51 | Date Closed: | 2011-06-07 14:07:24 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Cuurent version is 1.2.13 and running fine. When attemepting to make source I get the following: -fPIC -c -o app_sms.o app_sms.c app_sms.c: In function ?sms_readfile?: app_sms.c:698: warning: pointer targets in assignment differ in signedness app_sms.c:700: warning: pointer targets in assignment differ in signedness app_sms.c:725: warning: pointer targets in passing argument 1 of ?strlen? differ in signedness app_sms.c:726: warning: pointer targets in passing argument 2 of ?numcpy? differ in signedness app_sms.c:727: warning: pointer targets in passing argument 1 of ?strlen? differ in signedness app_sms.c:728: warning: pointer targets in passing argument 2 of ?numcpy? differ in signedness app_sms.c:730: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:733: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:736: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:738: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:740: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:742: warning: pointer targets in passing argument 1 of ?atoi? differ in signedness app_sms.c:751: warning: pointer targets in passing argument 1 of ?sscanf? differ in signedness app_sms.c: In function ?sms_exec?: app_sms.c:1395: warning: pointer targets in passing argument 2 of ?__builtin_strncpy? differ in signedness app_sms.c:1399: warning: pointer targets in assignment differ in signedness app_sms.c:1437: warning: pointer targets in passing argument 1 of ?strlen? differ in signedness app_sms.c:1442: warning: pointer targets in passing argument 2 of ?ast_copy_string? differ in signedness app_sms.c:1444: warning: pointer targets in passing argument 2 of ?ast_copy_string? differ in signedness gcc -shared -Xlinker -x -o app_sms.so app_sms.o make[1]: Leaving directory `/usr/src/asterisk-1.2.16/apps' make[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 ****** ADDITIONAL INFORMATION ****** This also happens with 1.2.16 Running zaptel 1.2.16 (had to modify xbus-core.c to make work) | ||
Comments: | By: Serge Vecher (serge-v) 2007-03-28 15:32:57 are the errors compiling 1.2.17 the same as 1.2.16? By: gbodemantv (gbodemantv) 2007-03-28 15:33:56 yes By: gbodemantv (gbodemantv) 2007-03-28 15:55:23 The more I test, the more this looks like it may just be a problem with xbus-core.c having to be changed to be compatible with kernel 2.6.18. I recompiled and installed current 1.2 svn and it is working. Testing standard 1.2.17 release now By: gbodemantv (gbodemantv) 2007-03-28 16:11:06 Standard release works. This can be closed as it does not actually seem to be a bug By: Leif Madsen (lmadsen) 2007-03-28 16:16:25 Original poster commented that it appeared to be a bug outside of Asterisk and has been resolved. |