Summary: | ASTERISK-11041: Compile/Make error | ||
Reporter: | Augusto Henrique Petzinger (apetzinger) | Labels: | |
Date Opened: | 2007-12-14 11:33:02.000-0600 | Date Closed: | 2007-12-14 13:31:52.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Addons/chan_mobile |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Centos 5 gcc 4.1.2 kernel 2.6.18-8.1.14.el5 I dont compile asterisk-addons-trunk. # svn co http://svn.digium.com/svn/asterisk-addons/trunk asterisk-addons-trunk # cd asterisk-addons-trunk # ./configure --with-asterisk=/usr/src/asterisk-1.4.15 # make clean # make menuselect # make See errors log ****** ADDITIONAL INFORMATION ****** [sip.status.com.br asterisk-addons-trunk]# make make[1]: Entering directory `/usr/src/asterisk-addons-trunk' [CC] chan_mobile.c -> chan_mobile.o chan_mobile.c:178: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:178: warning: its scope is only this definition or declaration, which is probably not what you want chan_mobile.c:179: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:180: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:183: error: initializer element is not constant chan_mobile.c:183: error: (near initialization for âmbl_cli[0].cmda[0]â) chan_mobile.c:184: error: initializer element is not constant chan_mobile.c:184: error: (near initialization for âmbl_cli[0].cmda[1]â) chan_mobile.c:185: error: initializer element is not constant chan_mobile.c:185: error: (near initialization for âmbl_cli[0].cmda[2]â) chan_mobile.c:248: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:249: error: conflicting types for âhandle_cli_mobile_show_devicesâ chan_mobile.c:178: error: previous declaration of âhandle_cli_mobile_show_devicesâ was here chan_mobile.c: In function âhandle_cli_mobile_show_devicesâ: chan_mobile.c:257: error: âCLI_INITâ undeclared (first use in this function) chan_mobile.c:257: error: (Each undeclared identifier is reported only once chan_mobile.c:257: error: for each function it appears in.) chan_mobile.c:258: error: âstruct ast_cli_entryâ has no member named âcommandâ chan_mobile.c:263: error: âCLI_GENERATEâ undeclared (first use in this function) chan_mobile.c:267: error: dereferencing pointer to incomplete type chan_mobile.c:267: error: request for member âargcâ in something not a structure or union chan_mobile.c:267: warning: comparison between pointer and integer chan_mobile.c:268: error: âCLI_SHOWUSAGEâ undeclared (first use in this function) chan_mobile.c:268: warning: return from incompatible pointer type chan_mobile.c:270: error: dereferencing pointer to incomplete type chan_mobile.c:270: error: request for member âfdâ in something not a structure or union chan_mobile.c:270: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:274: error: dereferencing pointer to incomplete type chan_mobile.c:274: error: request for member âfdâ in something not a structure or union chan_mobile.c:276: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:281: error: âCLI_SUCCESSâ undeclared (first use in this function) chan_mobile.c:281: warning: return from incompatible pointer type chan_mobile.c: At top level: chan_mobile.c:284: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:285: error: conflicting types for âhandle_cli_mobile_searchâ chan_mobile.c:179: error: previous declaration of âhandle_cli_mobile_searchâ was here chan_mobile.c: In function âhandle_cli_mobile_searchâ: chan_mobile.c:298: error: âCLI_INITâ undeclared (first use in this function) chan_mobile.c:299: error: âstruct ast_cli_entryâ has no member named âcommandâ chan_mobile.c:304: error: âCLI_GENERATEâ undeclared (first use in this function) chan_mobile.c:308: error: dereferencing pointer to incomplete type chan_mobile.c:308: error: request for member âargcâ in something not a structure or union chan_mobile.c:308: warning: comparison between pointer and integer chan_mobile.c:309: error: âCLI_SHOWUSAGEâ undeclared (first use in this function) chan_mobile.c:309: warning: return from incompatible pointer type chan_mobile.c:318: error: dereferencing pointer to incomplete type chan_mobile.c:318: error: request for member âfdâ in something not a structure or union chan_mobile.c:318: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:319: error: âCLI_SUCCESSâ undeclared (first use in this function) chan_mobile.c:319: warning: return from incompatible pointer type chan_mobile.c:329: error: dereferencing pointer to incomplete type chan_mobile.c:329: error: request for member âfdâ in something not a structure or union chan_mobile.c:329: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:340: error: dereferencing pointer to incomplete type chan_mobile.c:340: error: request for member âfdâ in something not a structure or union chan_mobile.c:341: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:344: error: dereferencing pointer to incomplete type chan_mobile.c:344: error: request for member âfdâ in something not a structure or union chan_mobile.c:344: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:349: warning: return from incompatible pointer type chan_mobile.c: At top level: chan_mobile.c:352: warning: âstruct ast_cli_argsâ declared inside parameter list chan_mobile.c:353: error: conflicting types for âhandle_cli_mobile_rfcommâ chan_mobile.c:180: error: previous declaration of âhandle_cli_mobile_rfcommâ was here chan_mobile.c: In function âhandle_cli_mobile_rfcommâ: chan_mobile.c:358: error: âCLI_INITâ undeclared (first use in this function) chan_mobile.c:359: error: âstruct ast_cli_entryâ has no member named âcommandâ chan_mobile.c:365: error: âCLI_GENERATEâ undeclared (first use in this function) chan_mobile.c:369: error: dereferencing pointer to incomplete type chan_mobile.c:369: error: request for member âargcâ in something not a structure or union chan_mobile.c:369: warning: comparison between pointer and integer chan_mobile.c:370: error: âCLI_SHOWUSAGEâ undeclared (first use in this function) chan_mobile.c:370: warning: return from incompatible pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 1 of âstrlenâ chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: invalid operands to binary + chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 2 of â__builtin_strcmpâ chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: invalid operands to binary + chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 2 of â__builtin_strcmpâ chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: invalid operands to binary + chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 1 of âstrlenâ chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 2 of â__builtin_strcmpâ chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: cannot convert to a pointer type chan_mobile.c:373: error: dereferencing pointer to incomplete type chan_mobile.c:373: error: request for member âargvâ in something not a structure or union chan_mobile.c:373: error: incompatible type for argument 2 of â__builtin_strcmpâ chan_mobile.c:378: error: dereferencing pointer to incomplete type chan_mobile.c:378: error: request for member âfdâ in something not a structure or union chan_mobile.c:378: error: dereferencing pointer to incomplete type chan_mobile.c:378: error: request for member âargvâ in something not a structure or union chan_mobile.c:378: warning: passing argument 1 of âast_cliâ makes integer from pointer without a cast chan_mobile.c:379: error: âCLI_SUCCESSâ undeclared (first use in this function) chan_mobile.c:379: warning: return from incompatible pointer type chan_mobile.c:382: error: dereferencing pointer to incomplete type chan_mobile.c:382: error: request for member âargvâ in something not a structure or union chan_mobile.c:385: warning: return from incompatible pointer type make[1]: *** [chan_mobile.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-addons-trunk' make: *** [all] Error 2 | ||
Comments: | By: Jason Parker (jparker) 2007-12-14 11:42:20.000-0600 You need to also have asterisk trunk installed, in order to use asterisk-addons trunk. Closing. By: Augusto Henrique Petzinger (apetzinger) 2007-12-14 13:26:58.000-0600 ./configure --with-asterisk=/usr/src/asterisk-trunk Same error Notes: I can´t compile asterisk-trunk because chan_unicall.c error. I need chan_unicall.c in Brazil Is there another way do compile chan_mobile ? Thanks By: Jason Parker (jparker) 2007-12-14 13:31:52.000-0600 No. You will have to contact the maintainer of chan_unicall. Bug reports for that will not be accepted here, since they are not a part of Asterisk. Closing. Again. |