Freeswitch
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Please see the official FreeSwitch wiki
Building FreeSWITCH on OpenBSD 4.5/i386
Build not yet completed, but this is the current process:
- You MUST use autoconf 2.59 (untested: 2.60, 2.61; confirmed not working: 2.62)
- You MUST patch the tree like this:
Index: libs/esl/ivrd.c =================================================================== --- libs/esl/ivrd.c (revision 14389) +++ libs/esl/ivrd.c (working copy) @@ -66,7 +66,7 @@ handle.sock = -1; esl_disconnect(&handle); - execl(path_buffer, path_buffer, NULL); + execl(path_buffer, path_buffer, (char *)NULL); //system(path_buffer); close(client_sock); exit(0); Index: libs/esl/src/include/esl.h =================================================================== --- libs/esl/src/include/esl.h (revision 14389) +++ libs/esl/src/include/esl.h (working copy) @@ -34,6 +34,7 @@ #ifndef _ESL_H_ #define _ESL_H_ +#include <sys/types.h> #include <stdarg.h> #ifdef __cplusplus @@ -176,7 +177,6 @@ #ifndef WIN32 #include <sys/types.h> #include <sys/select.h> -#include <netinet/tcp.h> #include <sys/signal.h> #include <unistd.h> #include <ctype.h> Index: libs/esl/src/esl.c =================================================================== --- libs/esl/src/esl.c (revision 14389) +++ libs/esl/src/esl.c (working copy) @@ -32,6 +32,7 @@ */ #include <esl.h> +#include <netinet/tcp.h> #ifndef WIN32 #define closesocket(x) close(x) #endif Index: libs/sqlite/src/sqliteInt.h =================================================================== --- libs/sqlite/src/sqliteInt.h (revision 14389) +++ libs/sqlite/src/sqliteInt.h (working copy) @@ -61,6 +61,7 @@ #include "hash.h" #include "parse.h" #include <stdio.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> #include <assert.h>