Summary: | ASTERISK-16594: Can't compile | ||
Reporter: | Sébastien Cramatte (scramatte) | Labels: | |
Date Opened: | 2010-08-19 14:22:51 | Date Closed: | 2011-06-07 14:04:58 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Addons/res_config_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I can't compile asterisk-addons. Compilation stop on res_config_mysql with errors bellow : [CC] res_config_mysql.c -> res_config_mysql.o res_config_mysql.c:1368: error: unknown field ‘update2_func’ specified in initializer res_config_mysql.c: In function ‘parse_config’: res_config_mysql.c:1433: error: ‘CONFIG_STATUS_FILEMISSING’ undeclared (first use in this function) res_config_mysql.c:1433: error: (Each undeclared identifier is reported only once res_config_mysql.c:1433: error: for each function it appears in.) res_config_mysql.c:1437: error: ‘CONFIG_STATUS_FILEINVALID’ undeclared (first use in this function) make[1]: *** [res_config_mysql.o] Error 1 make[1]: se sale del directorio `/usr/src/asterisk-addons-1.6.2.1/res' make: *** [res] Error 2 ****** ADDITIONAL INFORMATION ****** Platform: x86_64 OS: Linux Debian Squeeze Kernel: 2.6.26 | ||
Comments: | By: Jason Parker (jparker) 2010-08-19 14:27:17 What version of Asterisk do you have installed? By: Sébastien Cramatte (scramatte) 2010-08-19 14:29:20 I'm running 1.6.1.6 and I'm want to upgrade to 1.6.2.11 I've just compile 1.6.2.11 without issues. By: Jason Parker (jparker) 2010-08-19 14:40:10 You need to use the same major version (1.6.2.X) of asterisk and asterisk-addons. By: Sébastien Cramatte (scramatte) 2010-08-19 14:43:58 Do you mean that I must install and run the new version before compile the addons ? My Asterisk install requires Mysql module and would like to minimize downtime ! I've just compiled 1.6.2.11 without issues. My plan was to build both Asterisk+Addons and install them. I've upgraded my Asterisk many times and I've never got this issue ... By: Jason Parker (jparker) 2010-08-19 14:49:29 You need to first install the correct version of Asterisk. |