Hello
i am trying to install OpenSIPS on Mac OS X 10.6.3, it went well without
mysql module and i am using it right now but i need mysql support and i came
across the following error (below) during "" make install "" after no error
during make
can any body help
thanks in advance
Best Regards
*********************
Compiling db_mysql.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=i686
-Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
-DMOD_NAME='"db_mysql"' -DNAME='"opensips"' -DVERSION='"1.6.2-notls"'
-DARCH='"i386"' -DOS='"darwin"' -DCOMPILER='"gcc 4.2.1"' -D__CPU_i386
-D__OS_darwin -D__SMP_no -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSGHDR_MSG_CONTROL -DUSE_ANON_MMAP -DNDEBUG
-DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_KQUEUE -DHAVE_SELECT
-I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/mysql/include/mysql -I/usr/local/mysql/include
-I/usr/include/mysql -c db_mysql.c -o
db_mysql.o
In file included from dbase.h:37,
from db_mysql.c:34:
my_con.h:31:25: error: mysql/mysql.h: No such file or directory
In file included from dbase.h:37,
from db_mysql.c:34:
my_con.h:38: error: expected specifier-qualifier-list before ‘my_bool’
my_con.h:44: error: expected specifier-qualifier-list before ‘my_bool’
my_con.h:50: error: expected specifier-qualifier-list before ‘MYSQL_STMT’
my_con.h:61: error: expected specifier-qualifier-list before ‘MYSQL_BIND’
my_con.h:77: error: expected specifier-qualifier-list before ‘MYSQL_RES’
db_mysql.c: In function ‘mysql_mod_init’:
db_mysql.c:86: warning: implicit declaration of function ‘mysql_get_client_info’
make[1]: *** [db_mysql.o] Error 1
make: *** [modules] Error 2
*******************
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users