I have been using SER for a while (0.8.12). Today, I decided to take advantage of newer "0.8.13-dev-23-merged".
"mysql.so" is missing after compilation/installation of. It appears to be skipping "/mysql" during "make modules". However, "mysql" folder is in the source distribution.
Any help will be appreciated.
Regards, acyk
************************************ pulled latest source from CVS: cvs -z3 -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co sip_router
Compiled & Installed: make make modules make prefix=/usr/local install
/usr/local/sbin/ser -V version: ser 0.8.13-dev-23-merged (i386/linux) flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 @(#) $Id: main.c,v 1.177 2004/02/12 15:47:37 bogdan Exp $ main.c compiled on 12:34:57 Feb 22 2004 with gcc 3.2
[root@localhost modules]# ls /usr/local/lib/ser/modules/ acc.so domain.so msilo.so pike.so textops.so auth_db.so enum.so nathelper.so print.so tm.so auth_diameter.so exec.so options.so registrar.so uri.so auth.so group.so pa.so rr.so usrloc.so cpl-c.so mangler.so pdt.so sl.so vm.so dbtext.so maxfwd.so permissions.so sms.so xlog.so [root@localhost modules]#
******************************
__________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools
make include_modules="mysql" all make include_modules="mysql" install
NO
On Sunday 22 February 2004 21:55, alan chiu wrote:
I have been using SER for a while (0.8.12). Today, I decided to take advantage of newer "0.8.13-dev-23-merged".
"mysql.so" is missing after compilation/installation of. It appears to be skipping "/mysql" during "make modules". However, "mysql" folder is in the source distribution.
Any help will be appreciated.
Regards, acyk
pulled latest source from CVS: cvs -z3 -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co sip_router
Compiled & Installed: make make modules make prefix=/usr/local install
/usr/local/sbin/ser -V version: ser 0.8.13-dev-23-merged (i386/linux) flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 @(#) $Id: main.c,v 1.177 2004/02/12 15:47:37 bogdan Exp $ main.c compiled on 12:34:57 Feb 22 2004 with gcc 3.2
[root@localhost modules]# ls /usr/local/lib/ser/modules/ acc.so domain.so msilo.so pike.so textops.so auth_db.so enum.so nathelper.so print.so tm.so auth_diameter.so exec.so options.so registrar.so uri.so auth.so group.so pa.so rr.so usrloc.so cpl-c.so mangler.so pdt.so sl.so vm.so dbtext.so maxfwd.so permissions.so sms.so xlog.so [root@localhost modules]#
Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
thanks! I have tried that but it still didn't include "mysql" module in the install. I have also tried "make exclude_modules="" modules" earlier with no success.
I am on RH9/i386. Here's the error during "make include_modules="mysql" install":
make[1]: Entering directory `/root/sip_router/modules/mysql' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-23-merged"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -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 -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -I/usr/include/mysql -c dbase.c -o dbase.o dbase.c:33:25: mysql/mysql.h: No such file or directory In file included from dbase.c:38: my_con.h:32:25: mysql/mysql.h: No such file or directory In file included from dbase.c:38: my_con.h:38: parse error before "MYSQL_RES" my_con.h:38: warning: no semicolon at end of struct or union my_con.h:39: warning: type defaults to `int' in declaration of `con' my_con.h:39: warning: data definition has no type or storage class my_con.h:40: parse error before "row" my_con.h:40: warning: type defaults to `int' in declaration of `row' my_con.h:40: warning: data definition has no type or storage class my_con.h:42: parse error before '}' token dbase.c: In function `submit_query': dbase.c:62: warning: implicit declaration of function `mysql_query' dbase.c:62: dereferencing pointer to incomplete type dbase.c:63: warning: implicit declaration of function `mysql_error' dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c: In function `get_result': dbase.c:247: dereferencing pointer to incomplete type dbase.c:247: warning: implicit declaration of function `mysql_store_result' dbase.c:247: dereferencing pointer to incomplete type dbase.c:248: dereferencing pointer to incomplete type dbase.c:249: warning: implicit declaration of function `mysql_field_count' dbase.c:249: dereferencing pointer to incomplete type dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c: In function `db_free_query': dbase.c:291: warning: implicit declaration of function `mysql_free_result' dbase.c:291: dereferencing pointer to incomplete type dbase.c:292: dereferencing pointer to incomplete type make[1]: *** [dbase.o] Error 1 make[1]: Leaving directory `/root/sip_router/modules/mysql' *************************************
__________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools
Please search the mailing list archives for such usual errors first. You are missing the mysql-devel packet on your system.
NO
On Sunday 22 February 2004 23:15, alan chiu wrote:
thanks! I have tried that but it still didn't include "mysql" module in the install. I have also tried "make exclude_modules="" modules" earlier with no success.
I am on RH9/i386. Here's the error during "make include_modules="mysql" install":
make[1]: Entering directory `/root/sip_router/modules/mysql' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.8.13-dev-23-merged"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -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 -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -I/usr/include/mysql -c dbase.c -o dbase.o dbase.c:33:25: mysql/mysql.h: No such file or directory In file included from dbase.c:38: my_con.h:32:25: mysql/mysql.h: No such file or directory In file included from dbase.c:38: my_con.h:38: parse error before "MYSQL_RES" my_con.h:38: warning: no semicolon at end of struct or union my_con.h:39: warning: type defaults to `int' in declaration of `con' my_con.h:39: warning: data definition has no type or storage class my_con.h:40: parse error before "row" my_con.h:40: warning: type defaults to `int' in declaration of `row' my_con.h:40: warning: data definition has no type or storage class my_con.h:42: parse error before '}' token dbase.c: In function `submit_query': dbase.c:62: warning: implicit declaration of function `mysql_query' dbase.c:62: dereferencing pointer to incomplete type dbase.c:63: warning: implicit declaration of function `mysql_error' dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c:63: dereferencing pointer to incomplete type dbase.c:63: warning: format argument is not a pointer (arg 3) dbase.c: In function `get_result': dbase.c:247: dereferencing pointer to incomplete type dbase.c:247: warning: implicit declaration of function `mysql_store_result' dbase.c:247: dereferencing pointer to incomplete type dbase.c:248: dereferencing pointer to incomplete type dbase.c:249: warning: implicit declaration of function `mysql_field_count' dbase.c:249: dereferencing pointer to incomplete type dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c:254: dereferencing pointer to incomplete type dbase.c:254: warning: format argument is not a pointer (arg 3) dbase.c: In function `db_free_query': dbase.c:291: warning: implicit declaration of function `mysql_free_result' dbase.c:291: dereferencing pointer to incomplete type dbase.c:292: dereferencing pointer to incomplete type make[1]: *** [dbase.o] Error 1 make[1]: Leaving directory `/root/sip_router/modules/mysql'
Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
You need to install the mysql development packages for your operating system.
if these are installed, then you will need to specify where you have installed the mysql development include files and libraries. (usually, these are looked for in /usr/include and /usr/local/mysql/include (and lib respectivly)
it may also be searching in /usr/local/include as well but thats more unlikely.
for redhat - you will want to install the mysql-dev rpms and this will solve your problem.