Summary: | ASTERISK-01379: Asterisk-addon's - cdr_addon_mysql fails to compile. | ||
Reporter: | beave (beave) | Labels: | |
Date Opened: | 2004-04-08 16:44:49 | Date Closed: | 2004-09-25 02:52:13 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) Makefile.diff.txt | |
Description: | Asterisk addon's "cdr_addon_mysql" fails to compile with the following error. cdr_addon_mysql.c:50: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here ( make: *** [cdr_addon_mysql.o] Error 1 ****** ADDITIONAL INFORMATION ****** CVS from 04-07-2004 and 04-08-2004. | ||
Comments: | By: Brian West (bkw918) 2004-04-08 17:06:28 Already fixed! :) (check it out again in a few) By: cybershield (cybershield) 2004-04-08 17:07:07 add into Makefile this row "CFLAGS+=-D_GNU_SOURCE" By: Brian West (bkw918) 2004-04-08 17:08:33 <cybershield> ok citats resolve the problem of mysql <cybershield> request in makefile this param "CFLAGS+=-D_GNU_SOURCE" <cybershield> RECURSIVE MUTEX is added only is define __USE_GNU By: Brian West (bkw918) 2004-04-08 17:08:58 haha beat me by 1 min By: James Golovich (jamesgolovich) 2004-04-08 20:42:14 Fixed in CVS |