Summary: | ASTERISK-04458: pbx_gtkconsole does not compile after uncommenting the PBX_LIBS in the Makefile | ||
Reporter: | Antoine Megalla (aatef) | Labels: | |
Date Opened: | 2005-06-22 07:11:36 | Date Closed: | 2008-01-15 15:39:25.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | After uncommenting the PBX_LIBS line in the Makefile for the /usr/src/asterisk/pbx in order to compile the pbx_gtkconsole module, I get compilation erros stating that there is a mistach in the number of agruments for ast_update_module_list(add_mod) in line 291 of the pbx_gtkconsole.c version 1.17 Porblem Remedy: It appears that the ast_update_module_list() function was changed. You must add a const char * as a second argument to ast_update_module_list(add_mod) so it becomes ast_update_module_list(add_mod, "pbx_gtkconsole") and also add another const char * as the last argument to add_mod function so it becomes static int add_mod(char *module, char *description, int usecount, const char * like) instead of static int add_mod(char *module, char *description, int usecount) | ||
Comments: | By: Michael Jerris (mikej) 2005-06-22 07:14:58 I know it's a quickie, but if you can attatch a diff -u patch, it can get applied more quickly. By: Kevin P. Fleming (kpfleming) 2005-06-23 22:32:53 Fixed in CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:39:25.000-0600 Repository: asterisk Revision: 5995 U trunk/pbx/pbx_gtkconsole.c ------------------------------------------------------------------------ r5995 | kpfleming | 2008-01-15 15:39:25 -0600 (Tue, 15 Jan 2008) | 2 lines update to current loader API (bug ASTERISK-4458) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5995 |