Hi,
habe vorher die version 1.2.8 installiert und da hatte ich keine Fehlermeldugen d.h. nur diese mod_core.c:1284: warning: comparison between signed and unsigned etc.
diese schienen aber nicht so wichtig zu sein, der Server lieft ja trotzdem.
Nun wollte ich auf die Verson 1.2.9 updaten, im Forum habe ich gelesen das man die neue Version einfach drüber Installieren könnte, aber nun erhalte ich die folgenden fehlermeldungen:
Mein BS ist Suse Linux 8.2 Prof.
vorher wurde Configure mit :
./configure --prefix=/usr/ --sysconfdir=/etc/proftpd --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/local/include --with-libraries=/usr/local/lib/mysql
ausgeführt.
gcc -DLINUX -I.. -I../include -I/usr/local/include -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:137:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: parse error before "MYSQL"
mod_sql_mysql.c:164: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:281: warning: comparison between signed and unsigned
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:344: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:344: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:344: error: for each function it appears in.)
mod_sql_mysql.c:344: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:345: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:346: error: parse error before "row"
mod_sql_mysql.c:355: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:361: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:367: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:373: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:373: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:383: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:436: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:436: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:448: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: warning: implicit declaration of function `mysql_options'
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:463: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:463: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:464: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:465: error: `CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:559: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:559: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:560: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:626: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:629: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:630: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:661: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:662: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:663: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:681: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:682: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:683: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:804: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:804: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:918: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1017: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1133: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1148: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1148: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1228: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1295: warning: implicit declaration of function `make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory `/usr/src/proftpd/proftpd-1.2.9/modules'
make: *** [modules] Error 2
Ich habe hier nur den mod sql kopiert, da ich glaube das hier der Fehler liegt.
Muss ich jetzt eine neue Mysql Datenbank Installieren oder kann ich diese Fehlermeldungen einfach Ignorieren?
Gruß
Sven