I hope someone can help me. I've tryed to install DBMail 2.0.4 on 2 different 
machines. 1. RedHat 8 and on the other Fedora Core 3.

They both returns with the same error when I do "make all"

./configure --with-mysql runs without any errors.

Thx!

Here is the output:

dbmysql.c:33:19: mysql.h: No such file or directory
dbmysql.c:49: error: syntax error before "conn"
dbmysql.c:49: warning: type defaults to `int' in declaration of `conn'
dbmysql.c:49: warning: data definition has no type or storage class
dbmysql.c:50: error: syntax error before '*' token
dbmysql.c:50: warning: type defaults to `int' in declaration of `res'
dbmysql.c:50: warning: data definition has no type or storage class
dbmysql.c:51: error: syntax error before '*' token
dbmysql.c:51: warning: type defaults to `int' in declaration of `msgbuf_res'
dbmysql.c:51: warning: data definition has no type or storage class
dbmysql.c:52: error: syntax error before '*' token
dbmysql.c:52: warning: type defaults to `int' in declaration of `stored_res'
dbmysql.c:52: warning: data definition has no type or storage class
dbmysql.c:53: error: syntax error before "last_row"
dbmysql.c:53: warning: type defaults to `int' in declaration of `last_row'
dbmysql.c:53: warning: data definition has no type or storage class
dbmysql.c: In function `db_connect':
dbmysql.c:69: warning: implicit declaration of function `mysql_init'
dbmysql.c:72: error: request for member `reconnect' in something not a 
structure or union
dbmysql.c:93: warning: implicit declaration of function `mysql_real_connect'
dbmysql.c:95: warning: comparison between pointer and integer
dbmysql.c:97: warning: implicit declaration of function `mysql_error'
dbmysql.c:97: warning: format argument is not a pointer (arg 5)
dbmysql.c: In function `db_num_rows':
dbmysql.c:118: warning: implicit declaration of function `mysql_num_rows'
dbmysql.c: In function `db_num_fields':
dbmysql.c:126: warning: implicit declaration of function `mysql_num_fields'
dbmysql.c: In function `db_free_result':
dbmysql.c:132: warning: implicit declaration of function `mysql_free_result'
dbmysql.c: In function `db_get_result':
dbmysql.c:163: warning: implicit declaration of function `mysql_data_seek'
dbmysql.c:164: warning: implicit declaration of function `mysql_fetch_row'
dbmysql.c:180: warning: comparison between pointer and integer
dbmysql.c:186: error: subscripted value is neither array nor pointer
dbmysql.c: In function `db_disconnect':
dbmysql.c:197: warning: implicit declaration of function `mysql_close'
dbmysql.c: In function `db_check_connection':
dbmysql.c:203: warning: implicit declaration of function `mysql_ping'
dbmysql.c: In function `db_insert_result':
dbmysql.c:218: warning: implicit declaration of function `mysql_insert_id'
dbmysql.c: In function `db_query':
dbmysql.c:236: warning: implicit declaration of function `mysql_real_query'
dbmysql.c:244: warning: format argument is not a pointer (arg 5)
dbmysql.c:260: warning: implicit declaration of function `mysql_store_result'
dbmysql.c:260: warning: assignment makes pointer from integer without a cast
dbmysql.c: In function `db_escape_direct':
dbmysql.c:269: warning: implicit declaration of function 
`mysql_real_escape_string'
dbmysql.c: In function `db_get_length':
dbmysql.c:312: warning: comparison between pointer and integer
dbmysql.c:317: warning: implicit declaration of function `mysql_fetch_lengths'
dbmysql.c:317: error: subscripted value is neither array nor pointer
dbmysql.c: In function `db_get_affected_rows':
dbmysql.c:322: warning: implicit declaration of function `mysql_affected_rows'
dbmysql.c: In function `db_set_result_set':
dbmysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
dbmysql.c:346: error: (Each undeclared identifier is reported only once
dbmysql.c:346: error: for each function it appears in.)
dbmysql.c:346: error: syntax error before ')' token
dbmysql.c: At top level:
dbmysql.c:344: warning: unused parameter 'the_result_set'
make[2]: *** [dbmysql.lo] Error 1
make[2]: Leaving directory `/usr/local/dbmail-2.0.4/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/dbmail-2.0.4'
make: *** [all-recursive-am] Error 2

Reply via email to