<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.2900.3527" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV style="FONT: 10pt arial"> </DIV><BR><BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
i do the make install step but<BR>in fact i get some errors relating to db_mysql
during compile opensips , this is part of it:<BR><BR>make[1]: Entering directory
`/root/download/opensips-1.5.1-tls/modules/db_mysql'<BR>make[1]: Leaving
directory `/root/download/opensips-1.5.1-tls/modules/db_mysql'<BR>make[1]:
Entering directory
`/root/download/opensips-1.5.1-tls/modules/db_mysql'<BR>Compiling dbase.c<BR>gcc
-fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
-falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition
-Wmissing-field-initializers -Wredundant-decls
-DMOD_NAME='"db_mysql"' -DNAME='"opensips"'
-DVERSION='"1.5.1-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc
4.1.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes
-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_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include -c
dbase.c -o dbase.o<BR><FONT color=#0070c0><B><FONT size=+0>dbase.c:37:25: error:
mysql/mysql.h: No such file or directory</FONT><BR>dbase.c:38:26: error:
mysql/errmsg.h: No such file or directory<BR>dbase.c:39:32: error:
mysql/mysqld_error.h: No such file or directory<BR>dbase.c:40:33: error:
mysql/mysql_version.h: No such file or directory</B></FONT><FONT
color=#0070c0><BR></FONT><FONT color=#0070c0>In file included from
dbase.c:45:</FONT><BR><FONT color=#0070c0><B>val.h:44: error: expected
declaration specifiers or ‘...’ before ‘MYSQL_BIND’<BR>In file included
from dbase.c:46:<BR>my_con.h:38: error: expected specifier-qualifier-list before
‘my_bool’<BR>my_con.h:44: error: expected specifier-qualifier-list before
‘my_bool’<BR>my_con.h:50: error: expected specifier-qualifier-list before
‘MYSQL_STMT’<BR>my_con.h:61: error: expected specifier-qualifier-list before
‘MYSQL_BIND’<BR>my_con.h:77: error: expected specifier-qualifier-list before
‘MYSQL_RES’<BR>dbase.c: In function
‘reset_all_statements’:<BR>dbase.c:61: error: ‘struct my_con’ has no
member named ‘ps_list’<BR>dbase.c:61: error: ‘struct prep_stmt’ has no
member named ‘next’<BR>dbase.c:62: error: ‘struct my_stmt_ctx’ has no
member named ‘next’<BR>dbase.c:63: error: ‘struct my_stmt_ctx’ has no
member named ‘stmt’<BR>dbase.c:63: error: ‘struct my_stmt_ctx’ has no
member named ‘table’</B></FONT><BR>.<BR>.<BR>.<BR>.<BR><B><FONT
color=#0070c0>make[1]: *** [dbase.o] Error 1</FONT><FONT
color=#0070c0><BR></FONT><FONT color=#0070c0>make[1]: Leaving directory
`/root/download/opensips-1.5.1-tls/modules/db_mysql'</FONT><FONT
color=#0070c0><BR></FONT><FONT color=#0070c0>make: *** [modules] Error
2</FONT></B><BR><BR>
<DIV><FONT face="Lucida Handwriting, Cursive" color=#333366
size=2><EM><STRONG>Girgis Rasmy
</STRONG></EM></FONT><BR></DIV><BR><BR><BR><BR>> Date: Mon, 25 May 2009
12:35:03 +0300<BR>> From: bogdan@voice-system.ro<BR>> To:
franz-edler@aon.at<BR>> CC: gergis.rasmy@gmail.com;
users@lists.opensips.org<BR>> Subject: Re: [OpenSIPS-Users] problem with
db_mysql module load<BR>> <BR>> Hi Franz,<BR>> <BR>> Actually,
looking at the previous email from Girgis (same topic), I <BR>> suspect he is
just compiling the db_mysql module, but not installing it.<BR>> <BR>>
Regards,<BR>> Bogdan<BR>> <BR>> Franz Edler wrote:<BR>> > Hi
Girgis,<BR>> ><BR>> > <BR>> >> May 22 14:44:14 [3637]
ERROR:core:yyparse: module 'db_mysql.so' not found<BR>> >> in
'/usr/local/lib/opensips/modules/'<BR>> >> <BR>> ><BR>> > I
guess you had a problem during compilation of db_mysql.<BR>> > Do it again
and look at the log.<BR>> ><BR>> > -franz<BR>> ><BR>>
><BR>> > _______________________________________________<BR>> >
Users mailing list<BR>> > Users@lists.opensips.org<BR>> >
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR>> ><BR>>
> <BR>> <BR><BR>
<HR>
Hotmail® has ever-growing storage! Don’t worry about storage limits. <A
href="http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009">Check
it out.</A><BR>
<HR>
Windows Live™: Keep your life in sync. <A
href="http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009"
target=_new>Check it out.</A> </BODY></HTML>