<div>oops... I forgot to add the error log:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>[... ser]# make modules=modules/mysql modules</div>
<div><br>make[1]: Entering directory `.../ser/modules/mysql&#39;<br>gcc -fPIC -DPIC -g -O9 -funroll-loops&nbsp; -Wcast-align&nbsp; -Wall&nbsp;&nbsp; -minline-all-stringops -malign-double -falign-loops -ftree-vectorize -mtune=athlon64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DNAME=&#39;&quot;ser&quot;&#39; -DVERSION=&#39;&quot;0.9.7-pre1&quot;&#39; -DARCH=&#39;&quot;i386&quot;&#39; -DOS=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.1.1&quot;&#39; -D__CPU_i386 -D__OS_linux -DCFG_DIR=&#39;&quot;/usr/local/etc/ser/&quot;&#39; -DPKG_MALLOC -DSHM_MEM&nbsp; -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC&nbsp; -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024&nbsp; -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -c dbase.c -o dbase.o<br>
dbase.c:34:25: error: mysql/mysql.h: No such file or directory<br>dbase.c:35:26: error: mysql/errmsg.h: No such file or directory<br>In file included from dbase.c:39:<br>val.h:44: error: expected &#39;)&#39; before &#39;*&#39; token<br>
In file included from dbase.c:40:<br>my_con.h:39: error: expected specifier-qualifier-list before &#39;MYSQL_RES&#39;<br>dbase.c: In function &#39;submit_query&#39;:<br>dbase.c:67: error: &#39;struct my_con&#39; has no member named &#39;timestamp&#39;<br>
dbase.c:68: warning: implicit declaration of function &#39;mysql_ping&#39;<br>dbase.c:68: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:72: error: &#39;struct my_con&#39; has no member named &#39;timestamp&#39;<br>
dbase.c:90: warning: implicit declaration of function &#39;mysql_query&#39;<br>dbase.c:90: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:93: warning: implicit declaration of function &#39;mysql_errno&#39;<br>
dbase.c:93: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:94: error: &#39;CR_SERVER_GONE_ERROR&#39; undeclared (first use in this function)<br>dbase.c:94: error: (Each undeclared identifier is reported only once<br>
dbase.c:94: error: for each function it appears in.)<br>dbase.c:94: error: &#39;CR_SERVER_LOST&#39; undeclared (first use in this function)<br>dbase.c:98: warning: implicit declaration of function &#39;mysql_error&#39;<br>
dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:98: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:98: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c: At top level:<br>dbase.c:138: error: expected &#39;)&#39; before &#39;*&#39; token<br>dbase.c:166: error: expected &#39;)&#39; before &#39;*&#39; token<br>dbase.c:207: error: expected &#39;)&#39; before &#39;*&#39; token<br>
dbase.c: In function &#39;store_result&#39;:<br>dbase.c:304: error: &#39;struct my_con&#39; has no member named &#39;res&#39;<br>dbase.c:304: warning: implicit declaration of function &#39;mysql_store_result&#39;<br>dbase.c:304: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:305: error: &#39;struct my_con&#39; has no member named &#39;res&#39;<br>dbase.c:306: warning: implicit declaration of function &#39;mysql_field_count&#39;<br>dbase.c:306: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>dbase.c:311: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:311: warning: format &#39;%s&#39; expects type &#39;char *&#39;, but argument 3 has type &#39;int&#39;<br>
dbase.c: In function &#39;db_free_result&#39;:<br>dbase.c:348: warning: implicit declaration of function &#39;mysql_free_result&#39;<br>dbase.c:348: error: &#39;struct my_con&#39; has no member named &#39;res&#39;<br>dbase.c:349: error: &#39;struct my_con&#39; has no member named &#39;res&#39;<br>
dbase.c: In function &#39;db_query&#39;:<br>dbase.c:398: warning: implicit declaration of function &#39;print_where&#39;<br>dbase.c:398: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c: In function &#39;db_insert&#39;:<br>
dbase.c:471: warning: implicit declaration of function &#39;print_values&#39;<br>dbase.c:471: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c: In function &#39;db_delete&#39;:<br>dbase.c:516: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
dbase.c: In function &#39;db_update&#39;:<br>dbase.c:559: warning: implicit declaration of function &#39;print_set&#39;<br>dbase.c:559: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>dbase.c:568: error: &#39;struct my_con&#39; has no member named &#39;con&#39;<br>
make[1]: *** [dbase.o] Error 1<br>make[1]: Leaving directory `.../ser/modules/mysql&#39;<br><br><br></div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">frq ser</b> &lt;<a href="mailto:frq.ser@googlemail.com">frq.ser@googlemail.com</a>&gt;<br>Date: Tue, Apr 8, 2008 at 12:13 PM<br>
Subject: Adding authentication through mySQL<br>To: <a href="mailto:serusers@iptel.org">serusers@iptel.org</a><br><br><br>
<div>Hi,</div>
<div>&nbsp;</div>
<div>I am trying to&nbsp;add user authentication through mySQL database to my SER (0.9.7-pre1). When I tried to run SER with the modifed ser.cfg file, it gave the error that it could not locate the &#39;mysql.so&#39; module. Then I tried to &#39;make&#39; the mysql module following the instructions given here: <a href="http://www.iptel.org/faq/why_does_ser_fail_to_start_with_an_error_load_module_could_not_open_module_usr_local_lib_ser_modules_mysql_so" target="_blank">http://www.iptel.org/faq/why_does_ser_fail_to_start_with_an_error_load_module_could_not_open_module_usr_local_lib_ser_modules_mysql_so</a></div>

<div>&nbsp;</div>
<div>When I typed &#39;make modules=modules/mysql modules&#39; at the SER source directory, it gives me the error message saying that it could not locate &#39;mysql.h&#39; and &#39;errmsg.h&#39; (complete log given at the end of this email). I&#39;ve tried to locate these files on my computer but couldn&#39;t find them. Note that mySQL is working fine on its own. I need your suggestions as to how I should proceed.</div>

<div>&nbsp;</div>
<div>Thanks in advance for any help.</div>
<div>&nbsp;</div><font color="#888888">
<div>Frq&nbsp;</div></font></div><br>