[Serusers] Missing "mysql.so" in 0.8.13-dev-23-merged

Nils Ohlmeier nils at iptel.org
Sun Feb 22 23:24:59 CET 2004


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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list