Summary: | ASTERISK-04421: va_copy does not exist, res_config_odbc will not work | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2005-08-29 13:25:54 | Date Closed: | 2005-08-30 13:22:56 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | va_copy does not exist on FreeBSD, so res_config_odbc does not work. Using it will cause crash. | ||
Comments: | By: Michael Jerris (mikej) 2005-08-29 20:53:10 from http://www.freebsd.org/projects/c99/ This appears to have been included in 2002. Are we just missing an include for <machine/stdarg.h> ? Add va_copy() macro to <stdarg.h> (actually <machine/stdarg.h>). Mike Barcroft 20 September 2002 By: Olle Johansson (oej) 2005-08-29 20:55:53 It exists in FreeBSD 5.x but not in FreeBSD 4.x By: Michael Jerris (mikej) 2005-08-29 20:55:53 That is for 5.x, not planned for 4.x. This should be a pretty basic macro to add shouldn't it? By: Tilghman Lesher (tilghman) 2005-08-30 01:33:26 Isn't FreeBSD 5.x considered their STABLE branch now? By: Olle Johansson (oej) 2005-08-30 09:45:46 Until we solve this somehow, either be re-coding res_config_odbc or implementing va_copy somehow, we've decided to disable compilation of res_config_odbc on FreeBSD 4.x. This will be taken care of by Kevin's patches to the Makefiles that is in the queue for commit. By: Olle Johansson (oej) 2005-08-30 09:47:19 A fix is committed to res/Makefile for this. |