[Serusers] ser compilation error while creating MySQL module

jawad bokhari bokhari_jawad at yahoo.com
Thu Jan 13 21:29:25 CET 2005


I am trying to install SER on a a red-hat linux 9
machine. But when I compile, I am having problem on
compilation. I even have mysql installed on my pc and
I can see libclientmysql.so file in LD_LIBRARY_PATH. 

Following is the errorneos section:

In file included from dbase.c:39:
con_mysql.h:33:25: mysql/mysql.h: No such file or
directory
In file included from dbase.c:39:
con_mysql.h:39: parse error before "MYSQL_RES"
con_mysql.h:39: warning: no semicolon at end of struct
or union
con_mysql.h:40: warning: type defaults to `int' in
declaration of `con'
con_mysql.h:40: warning: data definition has no type
or storage class
con_mysql.h:41: parse error before "row"
con_mysql.h:41: warning: type defaults to `int' in
declaration of `row'
con_mysql.h:41: warning: data definition has no type
or storage class
In file included from dbase.c:40:
db_val.h:31:25: mysql/mysql.h: No such file or
directory
In file included from dbase.c:40:
db_val.h:43: parse error before '*' token
dbase.c: In function `connect_db':
dbase.c:89: dereferencing pointer to incomplete type
dbase.c:89: `MYSQL' undeclared (first use in this
function)
dbase.c:89: (Each undeclared identifier is reported
only once
dbase.c:89: for each function it appears in.)
dbase.c:89: parse error before ')' token
dbase.c:90: dereferencing pointer to incomplete type
dbase.c:96: warning: implicit declaration of function
`mysql_init'
dbase.c:96: dereferencing pointer to incomplete type
dbase.c:98: warning: implicit declaration of function
`mysql_real_connect'
dbase.c:98: dereferencing pointer to incomplete type
dbase.c:99: warning: implicit declaration of function
`mysql_error'
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:99: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer
(arg 3)
dbase.c:100: warning: implicit declaration of function
`mysql_close'
dbase.c:100: dereferencing pointer to incomplete type
dbase.c:102: dereferencing pointer to incomplete type
dbase.c: In function `disconnect_db':
dbase.c:127: dereferencing pointer to incomplete type
dbase.c:129: dereferencing pointer to incomplete type
dbase.c: In function `submit_query':
dbase.c:151: warning: implicit declaration of function
`mysql_query'
dbase.c:151: dereferencing pointer to incomplete type
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c:152: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer
(arg 3)
dbase.c: At top level:
dbase.c:187: parse error before '*' token
dbase.c: In function `print_values':
dbase.c:191: `_c' undeclared (first use in this
function)
dbase.c:191: `_b' undeclared (first use in this
function)
dbase.c:191: `_l' undeclared (first use in this
function)
dbase.c:191: `_v' undeclared (first use in this
function)
dbase.c:191: `_n' undeclared (first use in this
function)
dbase.c: At top level:
dbase.c:216: parse error before '*' token
dbase.c: In function `print_where':
dbase.c:222: `_c' undeclared (first use in this
function)
dbase.c:222: `_b' undeclared (first use in this
function)
dbase.c:222: `_l' undeclared (first use in this
function)
dbase.c:222: `_k' undeclared (first use in this
function)
dbase.c:222: `_v' undeclared (first use in this
function)
dbase.c:222: `_n' undeclared (first use in this
function)
dbase.c:228: `_o' undeclared (first use in this
function)
dbase.c: At top level:
dbase.c:247: parse error before '*' token
dbase.c: In function `print_set':
dbase.c:253: `_c' undeclared (first use in this
function)
dbase.c:253: `_b' undeclared (first use in this
function)
dbase.c:253: `_l' undeclared (first use in this
function)
dbase.c:253: `_k' undeclared (first use in this
function)
dbase.c:253: `_v' undeclared (first use in this
function)
dbase.c:253: `_n' undeclared (first use in this
function)
dbase.c: In function `db_init':
dbase.c:287: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c:292: sizeof applied to an incomplete type
dbase.c: In function `db_close':
dbase.c:318: dereferencing pointer to incomplete type
dbase.c:319: warning: implicit declaration of function
`mysql_free_result'
dbase.c:319: dereferencing pointer to incomplete type
dbase.c: In function `get_result':
dbase.c:346: dereferencing pointer to incomplete type
dbase.c:346: warning: implicit declaration of function
`mysql_store_result'
dbase.c:346: dereferencing pointer to incomplete type
dbase.c:347: dereferencing pointer to incomplete type
dbase.c:348: warning: implicit declaration of function
`mysql_field_count'
dbase.c:348: dereferencing pointer to incomplete type
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c:353: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer
(arg 3)
dbase.c: In function `db_free_query':
dbase.c:391: dereferencing pointer to incomplete type
dbase.c:392: dereferencing pointer to incomplete type
dbase.c: In function `db_query':
dbase.c:428: dereferencing pointer to incomplete type
dbase.c: In function `db_insert':
dbase.c:484: dereferencing pointer to incomplete type
dbase.c: In function `db_delete':
dbase.c:516: dereferencing pointer to incomplete type
dbase.c: In function `db_update':
dbase.c:548: dereferencing pointer to incomplete type
dbase.c:551: dereferencing pointer to incomplete type
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory
`/opt/ser-0.8.14/modules/mysql'



Thanks a lot for your help to get me through.

Regards,

jawad




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail




More information about the sr-users mailing list